vongrippen / try_git

1 stars 0 forks source link

Mongo::ConnectionFailure: Operation failed with the following exception: connection closed -> [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/networking.rb:330:in 'rescue in receive_message_on_socket' #10

Open vongrippen opened 12 years ago

vongrippen commented 12 years ago

Error Information

 Mongo::ConnectionFailure: Operation failed with the following exception: connection closed

Backtrace

 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/networking.rb:330:in 'rescue in receive_message_on_socket'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/networking.rb:322:in 'receive_message_on_socket'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/networking.rb:188:in 'receive_header'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/networking.rb:175:in 'receive'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/networking.rb:139:in 'receive_message'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/cursor.rb:469:in 'block in send_initial_query'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/util/logging.rb:36:in 'instrument'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/cursor.rb:467:in 'send_initial_query'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/cursor.rb:458:in 'refresh'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/cursor.rb:128:in 'next'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/collection.rb:288:in 'find_one'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/collections/master.rb:25:in 'block in find_one'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/collections/retry.rb:29:in 'retry_on_connection_failure'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/collections/master.rb:24:in 'find_one'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/collection.rb:60:in 'find_one'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/contexts/mongo.rb:205:in 'first'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/criteria.rb:45:in 'first'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/orm_adapter-0.4.0/lib/orm_adapter/adapters/mongoid.rb:22:in 'get'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/devise-2.1.2/lib/devise/models/authenticatable.rb:183:in 'serialize_from_session'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/devise-2.1.2/lib/devise/rails/warden_compat.rb:29:in 'deserialize'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/session_serializer.rb:35:in 'fetch'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/proxy.rb:212:in 'user'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/proxy.rb:318:in '_perform_authentication'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/proxy.rb:127:in 'authenticate!'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/devise-2.1.2/lib/devise/controllers/helpers.rb:48:in 'authenticate_user!'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:418:in '_run__2079925742278914211__process_action__250860404458054034__callbacks'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:405:in '__run_callback'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:385:in '_run_process_action_callbacks'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:81:in 'run_callbacks'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/abstract_controller/callbacks.rb:17:in 'process_action'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_controller/metal/rescue.rb:29:in 'process_action'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_controller/metal/instrumentation.rb:30:in 'block in process_action'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/notifications.rb:123:in 'block in instrument'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/notifications/instrumenter.rb:20:in 'instrument'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/notifications.rb:123:in 'instrument'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_controller/metal/instrumentation.rb:29:in 'process_action'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_controller/metal/params_wrapper.rb:206:in 'process_action'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/abstract_controller/base.rb:121:in 'process'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/abstract_controller/rendering.rb:45:in 'process'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_controller/metal.rb:203:in 'dispatch'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_controller/metal/rack_delegation.rb:14:in 'dispatch'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_controller/metal.rb:246:in 'block in action'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/routing/route_set.rb:73:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/routing/route_set.rb:73:in 'dispatch'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/routing/route_set.rb:36:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in 'block in call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in 'each'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/routing/route_set.rb:600:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.12/lib/rack/mongoid/middleware/identity_map.rb:33:in 'block in call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid.rb:133:in 'unit_of_work'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.12/lib/rack/mongoid/middleware/identity_map.rb:33:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:35:in 'block in call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in 'catch'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/best_standards_support.rb:17:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb:23:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/head.rb:14:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/params_parser.rb:21:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/flash.rb:242:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in 'context'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/cookies.rb:338:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/callbacks.rb:28:in 'block in call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:405:in '_run__1138760652930437388__call__2782261845468282062__callbacks'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:405:in '__run_callback'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:385:in '_run_call_callbacks'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/callbacks.rb:81:in 'run_callbacks'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/callbacks.rb:27:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/remote_ip.rb:31:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/debug_exceptions.rb:16:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/show_exceptions.rb:56:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.6/lib/rails/rack/logger.rb:26:in 'call_app'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.6/lib/rails/rack/logger.rb:16:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/request_id.rb:22:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/runtime.rb:17:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.6/lib/active_support/cache/strategy/local_cache.rb:72:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.6/lib/action_dispatch/middleware/static.rb:62:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in 'forward'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in 'fetch'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in 'lookup'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in 'call!'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:49:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.6/lib/rails/engine.rb:479:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.6/lib/rails/application.rb:220:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/content_length.rb:14:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.2.6/lib/rails/rack/log_tailer.rb:17:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/puma-1.5.0/lib/puma/server.rb:428:in 'handle_request'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/puma-1.5.0/lib/puma/server.rb:296:in 'process_client'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/puma-1.5.0/lib/puma/server.rb:200:in 'block in run'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/puma-1.5.0/lib/puma/thread_pool.rb:94:in 'call'
 [PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/puma-1.5.0/lib/puma/thread_pool.rb:94:in 'block in spawn_thread'
vongrippen commented 12 years ago

Repeated:

[PROJECT_ROOT]/app/controllers/events_controller.rb:33:in 'index'
[GEM_ROOT]/gems/actionpack-3.2.1/lib/action_controller/metal/implicit_render.rb:4:in 'send_action'
[GEM_ROOT]/gems/actionpack-3.2.1/lib/abstract_controller/base.rb:167:in 'process_action'
[GEM_ROOT]/gems/actionpack-3.2.1/lib/action_controller/metal/rendering.rb:10:in 'process_action'
[GEM_ROOT]/gems/actionpack-3.2.1/lib/abstract_controller/callbacks.rb:18:in 'block in process_action'
[GEM_ROOT]/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:480:in '_run__4030194209396121094__process_action__1945148790620283594__callbacks'
[GEM_ROOT]/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:405:in '__run_callback'
[GEM_ROOT]/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:385:in '_run_process_action_callbacks'
...
[GEM_ROOT]/gems/rack-1.4.1/lib/rack/handler/thin.rb:13:in 'run'
[GEM_ROOT]/gems/rack-1.4.1/lib/rack/server.rb:265:in 'start'
[GEM_ROOT]/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in 'start'
[GEM_ROOT]/gems/railties-3.2.1/lib/rails/commands.rb:55:in 'block in <top (required)>'
[GEM_ROOT]/gems/railties-3.2.1/lib/rails/commands.rb:50:in 'tap'
[GEM_ROOT]/gems/railties-3.2.1/lib/rails/commands.rb:50:in '<top (required)>'
script/rails:6:in 'require'
script/rails:6:in '<main>'
vongrippen commented 12 years ago

Repeated:

[PROJECT_ROOT]/app/controllers/events_controller.rb:33:in 'index'
[GEM_ROOT]/gems/actionpack-3.2.1/lib/action_controller/metal/implicit_render.rb:4:in 'send_action'
[GEM_ROOT]/gems/actionpack-3.2.1/lib/abstract_controller/base.rb:167:in 'process_action'
[GEM_ROOT]/gems/actionpack-3.2.1/lib/action_controller/metal/rendering.rb:10:in 'process_action'
[GEM_ROOT]/gems/actionpack-3.2.1/lib/abstract_controller/callbacks.rb:18:in 'block in process_action'
[GEM_ROOT]/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:480:in '_run__4030194209396121094__process_action__1945148790620283594__callbacks'
[GEM_ROOT]/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:405:in '__run_callback'
[GEM_ROOT]/gems/activesupport-3.2.1/lib/active_support/callbacks.rb:385:in '_run_process_action_callbacks'
...
[GEM_ROOT]/gems/rack-1.4.1/lib/rack/handler/thin.rb:13:in 'run'
[GEM_ROOT]/gems/rack-1.4.1/lib/rack/server.rb:265:in 'start'
[GEM_ROOT]/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in 'start'
[GEM_ROOT]/gems/railties-3.2.1/lib/rails/commands.rb:55:in 'block in <top (required)>'
[GEM_ROOT]/gems/railties-3.2.1/lib/rails/commands.rb:50:in 'tap'
[GEM_ROOT]/gems/railties-3.2.1/lib/rails/commands.rb:50:in '<top (required)>'
script/rails:6:in 'require'
script/rails:6:in '<main>'