Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveRecord::StatementInvalid: PG::Error: FATAL: terminando la conexión debido a una orden del administrador server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. : SE... #234

Open
jalvarezsamayoa opened this issue Jan 26, 2016 · 0 comments
Labels

Comments

@jalvarezsamayoa
Copy link
Owner

Check full details on Airbrake: #1606577817293445616

Backtrace:

[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract_adapter.rb:207:in rescue in log
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract_adapter.rb:199:in log
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/agent/instrumentation/active_record.rb:46:in block in log_with_newrelic_instrumentation
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/agent/method_tracer.rb:259:in trace_execution_scoped
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/agent/instrumentation/active_record.rb:43:in log_with_newrelic_instrumentation
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/postgresql_adapter.rb:514:in execute
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/postgresql_adapter.rb:1004:in select_raw
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/postgresql_adapter.rb:997:in select
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in select_all
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/query_cache.rb:54:in block in select_all
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/query_cache.rb:68:in cache_sql
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/query_cache.rb:54:in select_all
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/base.rb:473:in find_by_sql
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/agent/method_tracer.rb:508:in block in find_by_sql_with_trace_ActiveRecord_self_name_find_by_sql
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/agent/method_tracer.rb:259:in trace_execution_scoped
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/agent/method_tracer.rb:503:in find_by_sql_with_trace_ActiveRecord_self_name_find_by_sql
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/relation.rb:64:in to_a
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/relation/finder_methods.rb:192:in find_with_associations
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/relation.rb:64:in to_a
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/relation/finder_methods.rb:341:in find_first
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/relation/finder_methods.rb:122:in first
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/relation/finder_methods.rb:119:in first
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/base.rb:444:in first
[GEM_ROOT]/gems/orm_adapter-0.0.6/lib/orm_adapter/adapters/active_record.rb:45:in get
[GEM_ROOT]/gems/devise-1.5.3/lib/devise/models/authenticatable.rb:90:in serialize_from_session
[GEM_ROOT]/gems/devise-1.5.3/lib/devise/rails/warden_compat.rb:27:in deserialize
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/session_serializer.rb:31:in fetch
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/proxy.rb:196:in user
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/proxy.rb:293:in _perform_authentication
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/proxy.rb:90:in authenticate
[GEM_ROOT]/gems/devise-1.5.3/lib/devise/controllers/helpers.rb:56:in current_usuario
[PROJECT_ROOT]/app/controllers/application_controller.rb:33:in current_user
[PROJECT_ROOT]/app/controllers/application_controller.rb:29:in usuario_actual
[PROJECT_ROOT]/app/controllers/application_controller.rb:46:in requiere_usuario
[GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb:437:in _run__973543106841850813__process_action__3656244587115729821__callbacks
[GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb:410:in _run_process_action_callbacks
[GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb:94:in run_callbacks
[GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/callbacks.rb:17:in process_action
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/instrumentation.rb:30:in block in process_action
[GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications.rb:52:in block in instrument
[GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications/instrumenter.rb:21:in instrument
[GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications.rb:52:in instrument
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/instrumentation.rb:29:in process_action
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/rescue.rb:17:in process_action
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:38:in block in process_action
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:324:in perform_action_with_newrelic_trace
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:37:in process_action
[GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/base.rb:119:in process
[GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/rendering.rb:41:in process
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal.rb:138:in dispatch
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/rack_delegation.rb:14:in dispatch
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal.rb:178:in block in action
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/routing/route_set.rb:62:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/routing/route_set.rb:62:in dispatch
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/routing/route_set.rb:27:in call
[GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148:in block in call
[GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93:in block in recognize
[GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:201:in optimized_each
[GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92:in recognize
[GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/routing/route_set.rb:493:in call
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/rack/error_collector.rb:43:in call
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/rack/agent_hooks.rb:22:in call
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/rack/browser_monitoring.rb:16:in call
[GEM_ROOT]/gems/pdfkit-0.5.4/lib/pdfkit/middleware.rb:16:in call
[GEM_ROOT]/bundler/gems/simple-captcha-926268e07b4f/lib/simple_captcha/middleware.rb:20:in call
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/manager.rb:35:in block in call
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/manager.rb:34:in catch
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/manager.rb:34:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/best_standards_support.rb:17:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/head.rb:14:in call
[GEM_ROOT]/gems/rack-1.2.5/lib/rack/methodoverride.rb:24:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/params_parser.rb:21:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/flash.rb:182:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/session/abstract_store.rb:149:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/cookies.rb:302:in call
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/query_cache.rb:32:in block in call
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in cache
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/query_cache.rb:12:in cache
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/query_cache.rb:31:in call
[GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/callbacks.rb:46:in block in call
[GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb:416:in _run_call_callbacks
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/callbacks.rb:44:in call
[GEM_ROOT]/gems/rack-1.2.5/lib/rack/sendfile.rb:106:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/remote_ip.rb:48:in call
[GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/show_exceptions.rb:47:in call
[GEM_ROOT]/gems/railties-3.0.9/lib/rails/rack/logger.rb:13:in call
[GEM_ROOT]/gems/rack-1.2.5/lib/rack/runtime.rb:17:in call
[GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/cache/strategy/local_cache.rb:72:in call
[GEM_ROOT]/gems/rack-1.2.5/lib/rack/lock.rb:13:in block in call
[GEM_ROOT]/gems/rack-1.2.5/lib/rack/lock.rb:13:in synchronize
[GEM_ROOT]/gems/rack-1.2.5/lib/rack/lock.rb:13:in call
[GEM_ROOT]/gems/railties-3.0.9/lib/rails/application.rb:168:in call
[GEM_ROOT]/gems/railties-3.0.9/lib/rails/application.rb:77:in method_missing
[GEM_ROOT]/gems/newrelic_rpm-3.6.8.168/lib/new_relic/rack/developer_mode.rb:28:in call
/var/lib/gems/1.9.1/gems/passenger-4.0.59/lib/phusion_passenger/rack/thread_handler_extension.rb:74:in process_request
/var/lib/gems/1.9.1/gems/passenger-4.0.59/lib/phusion_passenger/request_handler/thread_handler.rb:141:in accept_and_process_next_request
/var/lib/gems/1.9.1/gems/passenger-4.0.59/lib/phusion_passenger/request_handler/thread_handler.rb:109:in main_loop
/var/lib/gems/1.9.1/gems/passenger-4.0.59/lib/phusion_passenger/request_handler.rb:455:in block (3 levels) in start_threads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant