ajc113 / currents

Currents Fishing Network Application
3 stars 3 forks source link

Users::RegistrationsController#create (Mandrill::Error) "We received an unexpected error: <html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.12.2</center> </body> </html> " #207

Open ajc113 opened 6 years ago

ajc113 commented 6 years ago
ExceptionWe received an unexpected error: <html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.12.2</center> </body> </html>
Last OccurrenceAugust 28, 2018 14:51:33 +0000
Count1

Stack Trace

[bundle].../gems/mandrill-api-1.0.53/lib/mandrill.rb:97:in `rescue in cast_error'
[bundle].../gems/mandrill-api-1.0.53/lib/mandrill.rb:86:in `cast_error'
[bundle].../gems/mandrill-api-1.0.53/lib/mandrill.rb:37:in `call'
[bundle].../gems/mandrill-api-1.0.53/lib/mandrill/api.rb:217:in `render'
[app].../app/mailers/devise_custom_mailer.rb:20:in `confirmation_instructions'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'
[bundle].../gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:596:in `block in process'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'
[bundle].../gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:593:in `process'
[bundle].../gems/actionmailer-4.2.7.1/lib/action_mailer/base.rb:584:in `initialize'
[bundle].../gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:25:in `new'
[bundle].../gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:25:in `__getobj__'
[bundle].../gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:34:in `message'
[bundle].../gems/actionmailer-4.2.7.1/lib/action_mailer/message_delivery.rb:85:in `deliver_now'
[bundle].../gems/devise-4.4.3/lib/devise/models/authenticatable.rb:193:in `send_devise_notification'
[bundle].../gems/devise-4.4.3/lib/devise/models/confirmable.rb:121:in `send_confirmation_instructions'
[bundle].../gems/devise-4.4.3/lib/devise/models/confirmable.rb:183:in `send_on_create_confirmation_instructions'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:253:in `block in conditional'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:506:in `block in call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:506:in `each'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:506:in `call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_commit_callbacks'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:314:in `committed!'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:89:in `commit_records'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:153:in `commit'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:175:in `commit_transaction'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `within_new_transaction'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:220:in `transaction'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:286:in `block in save'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:301:in `rollback_active_record_state!'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/transactions.rb:285:in `save'
[bundle].../gems/devise-4.4.3/app/controllers/devise/registrations_controller.rb:19:in `create'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting'
[bundle].../gems/sentry-raven-2.7.4/lib/raven/integrations/rails/controller_transaction.rb:7:in `block in included'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in `instance_exec'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:441:in `block in make_lambda'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `block in halting'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
[bundle].../gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process'
[bundle].../gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in `dispatch'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
[bundle].../gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in `block in action'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/mapper.rb:49:in `serve'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `each'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `serve'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in `call'
[bundle].../gems/party_foul-1.5.5/lib/party_foul/middleware.rb:8:in `call'
[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call'
[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch'
[bundle].../gems/warden-1.2.7/lib/warden/manager.rb:35:in `call'
[bundle].../gems/rack-1.6.10/lib/rack/etag.rb:24:in `call'
[bundle].../gems/rack-1.6.10/lib/rack/conditionalget.rb:38:in `call'
[bundle].../gems/rack-1.6.10/lib/rack/head.rb:13:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in `call'
[bundle].../gems/rack-1.6.10/lib/rack/session/abstract/id.rb:225:in `context'
[bundle].../gems/rack-1.6.10/lib/rack/session/abstract/id.rb:220:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in `call'
[bundle].../gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:38:in `call_app'
[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in `block in call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:26:in `tagged'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/tagged_logging.rb:68:in `tagged'
[bundle].../gems/railties-4.2.7.1/lib/rails/rack/logger.rb:20:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
[bundle].../gems/rack-1.6.10/lib/rack/methodoverride.rb:22:in `call'
[bundle].../gems/rack-1.6.10/lib/rack/runtime.rb:18:in `call'
[bundle].../gems/activesupport-4.2.7.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
[bundle].../gems/rack-cache-1.8.0/lib/rack/cache/context.rb:140:in `forward'
[bundle].../gems/rack-cache-1.8.0/lib/rack/cache/context.rb:147:in `pass'
[bundle].../gems/rack-cache-1.8.0/lib/rack/cache/context.rb:159:in `invalidate'
[bundle].../gems/rack-cache-1.8.0/lib/rack/cache/context.rb:74:in `call!'
[bundle].../gems/rack-cache-1.8.0/lib/rack/cache/context.rb:51:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in `call'
[bundle].../gems/rack-1.6.10/lib/rack/sendfile.rb:113:in `call'
[bundle].../gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/ssl.rb:24:in `call'
[bundle].../gems/sentry-raven-2.7.4/lib/raven/integrations/rack.rb:51:in `call'
[bundle].../gems/railties-4.2.7.1/lib/rails/engine.rb:518:in `call'
[bundle].../gems/railties-4.2.7.1/lib/rails/application.rb:165:in `call'
[bundle].../gems/puma-3.12.0/lib/puma/configuration.rb:225:in `call'
[bundle].../gems/puma-3.12.0/lib/puma/server.rb:658:in `handle_request'
[bundle].../gems/puma-3.12.0/lib/puma/server.rb:472:in `process_client'
[bundle].../gems/puma-3.12.0/lib/puma/server.rb:332:in `block in run'
[bundle].../gems/puma-3.12.0/lib/puma/thread_pool.rb:133:in `block in spawn_thread'

Fingerprint: 1fd01f37999bbba4335e58ea1ec3f42bcf5f9e75