Skip to content

Instantly share code, notes, and snippets.

@bartlomiejmatlega
Created May 16, 2016 14:20
Show Gist options
  • Save bartlomiejmatlega/287b230e8f7466d1365af2e987b07e89 to your computer and use it in GitHub Desktop.
Save bartlomiejmatlega/287b230e8f7466d1365af2e987b07e89 to your computer and use it in GitHub Desktop.
I, [2016-05-16T10:13:19.132312 #2779] INFO -- : Completed 500 Internal Server Error in 31767ms (ActiveRecord: 81.2ms)
F, [2016-05-16T10:13:19.139410 #2779] FATAL -- :
Net::OpenTimeout (execution expired):
/home/deploy/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/smtp.rb:541:in `initialize'
/home/deploy/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/smtp.rb:541:in `open'
/home/deploy/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/smtp.rb:541:in `tcp_socket'
/home/deploy/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/smtp.rb:551:in `block in do_start'
/home/deploy/.rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'
/home/deploy/.rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99:in `call'
/home/deploy/.rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99:in `timeout'
/home/deploy/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/smtp.rb:550:in `do_start'
/home/deploy/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/smtp.rb:520:in `start'
mail (2.6.4) lib/mail/network/delivery_methods/smtp.rb:113:in `deliver!'
mail (2.6.4) lib/mail/message.rb:2149:in `do_delivery'
mail (2.6.4) lib/mail/message.rb:237:in `block in deliver'
actionmailer (4.2.2) lib/action_mailer/base.rb:543:in `block in deliver_mail'
activesupport (4.2.2) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.2) lib/active_support/notifications.rb:164:in `instrument'
actionmailer (4.2.2) lib/action_mailer/base.rb:541:in `deliver_mail'
mail (2.6.4) lib/mail/message.rb:237:in `deliver'
actionmailer (4.2.2) lib/action_mailer/message_delivery.rb:85:in `deliver_now'
actionmailer (4.2.2) lib/action_mailer/delivery_job.rb:10:in `perform'
activejob (4.2.2) lib/active_job/execution.rb:32:in `block in perform_now'
activesupport (4.2.2) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
activesupport (4.2.2) lib/active_support/callbacks.rb:343:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
activejob (4.2.2) lib/active_job/logging.rb:23:in `call'
activejob (4.2.2) lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'
activesupport (4.2.2) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.2) lib/active_support/notifications.rb:164:in `instrument'
activejob (4.2.2) lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'
activejob (4.2.2) lib/active_job/logging.rb:43:in `block in tag_logger'
activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.2) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `tagged'
activejob (4.2.2) lib/active_job/logging.rb:43:in `tag_logger'
activejob (4.2.2) lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'
activesupport (4.2.2) lib/active_support/callbacks.rb:441:in `instance_exec'
activesupport (4.2.2) lib/active_support/callbacks.rb:441:in `block in make_lambda'
activesupport (4.2.2) lib/active_support/callbacks.rb:342:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:342:in `block in simple'
activesupport (4.2.2) lib/active_support/callbacks.rb:497:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:497:in `block in around'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:92:in `_run_callbacks'
activesupport (4.2.2) lib/active_support/callbacks.rb:776:in `_run_perform_callbacks'
activesupport (4.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
activejob (4.2.2) lib/active_job/execution.rb:31:in `perform_now'
activejob (4.2.2) lib/active_job/execution.rb:21:in `execute'
activejob (4.2.2) lib/active_job/queue_adapters/inline_adapter.rb:14:in `enqueue'
activejob (4.2.2) lib/active_job/enqueuing.rb:71:in `block in enqueue'
activesupport (4.2.2) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
activesupport (4.2.2) lib/active_support/callbacks.rb:343:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
activejob (4.2.2) lib/active_job/logging.rb:14:in `call'
activejob (4.2.2) lib/active_job/logging.rb:14:in `block (3 levels) in <module:Logging>'
activejob (4.2.2) lib/active_job/logging.rb:43:in `block in tag_logger'
activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.2) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `tagged'
activejob (4.2.2) lib/active_job/logging.rb:43:in `tag_logger'
activejob (4.2.2) lib/active_job/logging.rb:13:in `block (2 levels) in <module:Logging>'
activesupport (4.2.2) lib/active_support/callbacks.rb:441:in `instance_exec'
activesupport (4.2.2) lib/active_support/callbacks.rb:441:in `block in make_lambda'
activesupport (4.2.2) lib/active_support/callbacks.rb:342:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:342:in `block in simple'
activesupport (4.2.2) lib/active_support/callbacks.rb:497:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:497:in `block in around'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:92:in `_run_callbacks'
activesupport (4.2.2) lib/active_support/callbacks.rb:776:in `_run_enqueue_callbacks'
activesupport (4.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
activejob (4.2.2) lib/active_job/enqueuing.rb:67:in `enqueue'
activejob (4.2.2) lib/active_job/configured_job.rb:13:in `perform_later'
actionmailer (4.2.2) lib/action_mailer/message_delivery.rb:112:in `enqueue_delivery'
actionmailer (4.2.2) lib/action_mailer/message_delivery.rb:68:in `deliver_later'
/home/deploy/sanitexpert/shared/bundle/ruby/2.2.0/bundler/gems/spree-ca62f5b62841/core/app/models/spree/order.rb:360:in `deliver_order_confirmation_email'
/home/deploy/sanitexpert/shared/bundle/ruby/2.2.0/bundler/gems/spree-ca62f5b62841/core/app/models/spree/order.rb:348:in `finalize!'
state_machines (0.4.0) lib/state_machines/eval_helpers.rb:58:in `evaluate_method'
state_machines (0.4.0) lib/state_machines/callback.rb:192:in `block in run_methods'
state_machines (0.4.0) lib/state_machines/callback.rb:191:in `each'
state_machines (0.4.0) lib/state_machines/callback.rb:191:in `run_methods'
state_machines (0.4.0) lib/state_machines/callback.rb:159:in `call'
state_machines (0.4.0) lib/state_machines/transition.rb:394:in `block (2 levels) in after'
state_machines (0.4.0) lib/state_machines/transition.rb:394:in `each'
state_machines (0.4.0) lib/state_machines/transition.rb:394:in `block in after'
state_machines (0.4.0) lib/state_machines/transition.rb:392:in `catch'
state_machines (0.4.0) lib/state_machines/transition.rb:392:in `after'
state_machines (0.4.0) lib/state_machines/transition.rb:195:in `run_callbacks'
state_machines (0.4.0) lib/state_machines/transition_collection.rb:127:in `run_callbacks'
state_machines (0.4.0) lib/state_machines/transition_collection.rb:63:in `block (2 levels) in perform'
state_machines (0.4.0) lib/state_machines/transition_collection.rb:63:in `catch'
state_machines (0.4.0) lib/state_machines/transition_collection.rb:63:in `block in perform'
state_machines (0.4.0) lib/state_machines/transition_collection.rb:186:in `within_transaction'
state_machines (0.4.0) lib/state_machines/transition_collection.rb:62:in `perform'
state_machines (0.4.0) lib/state_machines/transition.rb:163:in `perform'
state_machines (0.4.0) lib/state_machines/event.rb:155:in `fire'
state_machines (0.4.0) lib/state_machines/event.rb:219:in `block in add_actions'
state_machines (0.4.0) lib/state_machines/machine.rb:725:in `call'
state_machines (0.4.0) lib/state_machines/machine.rb:725:in `block (2 levels) in define_helper'
/home/deploy/sanitexpert/shared/bundle/ruby/2.2.0/bundler/gems/spree-ca62f5b62841/frontend/app/controllers/spree/checkout_controller.rb:30:in `update'
actionpack (4.2.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.2.2) lib/abstract_controller/base.rb:198:in `process_action'
actionpack (4.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.2.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.2.2) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:92:in `_run_callbacks'
activesupport (4.2.2) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
activesupport (4.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.2.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.2.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (4.2.2) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.2) lib/active_support/notifications.rb:164:in `instrument'
actionpack (4.2.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.2.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.2.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.2.2) lib/abstract_controller/base.rb:137:in `process'
actionview (4.2.2) lib/action_view/rendering.rb:30:in `process'
actionpack (4.2.2) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.2.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.2) lib/action_controller/metal.rb:237:in `block in action'
actionpack (4.2.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
actionpack (4.2.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
actionpack (4.2.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
actionpack (4.2.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.2) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.2) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.2) lib/action_dispatch/routing/route_set.rb:819:in `call'
railties (4.2.2) lib/rails/engine.rb:518:in `call'
railties (4.2.2) lib/rails/railtie.rb:194:in `public_send'
railties (4.2.2) lib/rails/railtie.rb:194:in `method_missing'
actionpack (4.2.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
actionpack (4.2.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.2) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.2) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.2) lib/action_dispatch/routing/route_set.rb:819:in `call'
warden (1.2.6) lib/warden/manager.rb:35:in `block in call'
warden (1.2.6) lib/warden/manager.rb:34:in `catch'
warden (1.2.6) lib/warden/manager.rb:34:in `call'
rack (1.6.4) lib/rack/etag.rb:24:in `call'
rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
rack (1.6.4) lib/rack/head.rb:13:in `call'
actionpack (4.2.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.2.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.2.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.2.2) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
actionpack (4.2.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.2.2) lib/active_support/callbacks.rb:88:in `call'
activesupport (4.2.2) lib/active_support/callbacks.rb:88:in `_run_callbacks'
activesupport (4.2.2) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
activesupport (4.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.2.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
actionpack (4.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.2.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.2.2) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.2) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.2) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.2) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.2) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.2.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
activesupport (4.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
railties (4.2.2) lib/rails/engine.rb:518:in `call'
railties (4.2.2) lib/rails/application.rb:164:in `call'
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:160:in `accept_and_process_next_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'
@gbrylinski
Copy link

Sprawdź konfigurację SMTP. Albo masz zły adres/port serwera w konfiguracji, albo serwer pocztowy blokuje połączenia z maszyny, na której stoi apka.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment