Skip to content

Instantly share code, notes, and snippets.

@jeremyvdw
Created September 10, 2012 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyvdw/3692550 to your computer and use it in GitHub Desktop.
Save jeremyvdw/3692550 to your computer and use it in GitHub Desktop.
Redis::TimeoutError
Redis::TimeoutError: Connection timed out
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:198 • rescue in io
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:196 • io
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:204 • read
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:142 • block in call_pipelined
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:177 • block (2 levels) in process
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:281 • ensure_connected
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:167 • block in process
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:242 • logging
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:166 • process
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:141 • call_pipelined
vendor/bundle/ruby/1.9.1/gems/newrelic-redis-1.3.2/lib/newrelic_redis/instrumentation.rb:74 • block in call_pipelined_with_newrelic_trace
vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/agent/method_tracer.rb:242 • trace_execution_scoped
vendor/bundle/ruby/1.9.1/gems/newrelic-redis-1.3.2/lib/newrelic_redis/instrumentation.rb:70 • call_pipelined_with_newrelic_trace
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:115 • block in call_pipeline
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:229 • with_reconnect
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis/client.rb:113 • call_pipeline
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis.rb:2027 • block in multi
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis.rb:36 • block in synchronize
vendor/ruby-1.9.3/lib/ruby/1.9.1/monitor.rb:211 • mon_synchronize
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis.rb:36 • synchronize
vendor/bundle/ruby/1.9.1/bundler/gems/redis-rb-4f7eadc119ba/lib/redis.rb:2019 • multi
vendor/bundle/ruby/1.9.1/gems/redis-namespace-1.2.1/lib/redis/namespace.rb:220 • method_missing
vendor/bundle/ruby/1.9.1/gems/sidekiq-2.2.1/lib/sidekiq/client.rb:56 • block (2 levels) in push
vendor/bundle/ruby/1.9.1/gems/connection_pool-0.9.2/lib/connection_pool.rb:49 • with
vendor/bundle/ruby/1.9.1/gems/sidekiq-2.2.1/lib/sidekiq.rb:64 • redis
vendor/bundle/ruby/1.9.1/gems/sidekiq-2.2.1/lib/sidekiq/client.rb:52 • block in push
vendor/bundle/ruby/1.9.1/gems/sidekiq-2.2.1/lib/sidekiq/middleware/chain.rb:79 • call
vendor/bundle/ruby/1.9.1/gems/sidekiq-2.2.1/lib/sidekiq/middleware/chain.rb:79 • block in invoke
vendor/bundle/ruby/1.9.1/gems/sidekiq-2.2.1/lib/sidekiq/middleware/chain.rb:84 • call
vendor/bundle/ruby/1.9.1/gems/sidekiq-2.2.1/lib/sidekiq/middleware/chain.rb:84 • invoke
vendor/bundle/ruby/1.9.1/gems/sidekiq-2.2.1/lib/sidekiq/client.rb:50 • push
lib/pub_sub/resque_publisher.rb:56 • publish
lib/pub_sub/channel.rb:34 • publish
lib/pub_sub/user_notification_channel.rb:57 • publish_to_subject_and_friends
lib/pub_sub/user_notification_channel.rb:52 • publish_guess_made
lib/pub_sub/user_notification_channel.rb:11 • block in setup_hooks
vendor/bundle/ruby/1.9.1/gems/hooks-0.1.4/lib/hooks.rb:53 • call
vendor/bundle/ruby/1.9.1/gems/hooks-0.1.4/lib/hooks.rb:53 • block in run_hook_for
vendor/bundle/ruby/1.9.1/gems/hooks-0.1.4/lib/hooks.rb:49 • each
vendor/bundle/ruby/1.9.1/gems/hooks-0.1.4/lib/hooks.rb:49 • run_hook_for
vendor/bundle/ruby/1.9.1/gems/hooks-0.1.4/lib/hooks.rb:45 • run_hook
app/models/guess_opportunity.rb:371 • update_associated_guess
vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.4/lib/mongoid/relations/proxy.rb:117 • method_missing
app/controllers/mlb_overrides/mlb_guesses_controller.rb:85 • update_resource
app/controllers/guesses_controller.rb:88 • update
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/implicit_render.rb:4 • send_action
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:167 • process_action
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/rendering.rb:10 • process_action
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:18 • block in process_action
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:458 • _run__1444638988172021685__process_action__4304049786880239534__callbacks
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405 • __run_callback
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385 • _run_process_action_callbacks
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81 • run_callbacks
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:17 • process_action
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/rescue.rb:29 • process_action
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/instrumentation.rb:30 • block in process_action
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123 • block in instrument
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/notifications/instrumenter.rb:20 • instrument
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123 • instrument
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/instrumentation.rb:29 • process_action
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/params_wrapper.rb:205 • process_action
vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34 • block in process_action
vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:262 • block in perform_action_with_newrelic_trace
vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/agent/method_tracer.rb:242 • trace_execution_scoped
vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:257 • perform_action_with_newrelic_trace
vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33 • process_action
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:121 • process
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:45 • process
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal.rb:203 • dispatch
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal/rack_delegation.rb:14 • dispatch
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_controller/metal.rb:246 • block in action
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73 • dispatch
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:36 • call
vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68 • block in call
vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56 • each
vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:600 • call
vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.0/lib/omniauth/strategy.rb:177 • call!
vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.0/lib/omniauth/strategy.rb:157 • call
vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/rack/browser_monitoring.rb:12 • call
vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.4/lib/rack/mongoid/middleware/identity_map.rb:33 • block in call
vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.4/lib/mongoid/unit_of_work.rb:39 • unit_of_work
vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.4/lib/rack/mongoid/middleware/identity_map.rb:33 • call
lib/middleware/client_version_control.rb:24 • _call
lib/middleware/client_version_control.rb:13 • call
lib/middleware/ensure_redis_unit_of_work.rb:18 • block in _call
lib/statistics/redis_promise_proxy.rb:191 • unit_of_work
lib/middleware/ensure_redis_unit_of_work.rb:17 • _call
lib/middleware/ensure_redis_unit_of_work.rb:11 • call
vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:35 • block in call
vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34 • catch
vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34 • call
vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb:23 • call
vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/conditionalget.rb:35 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/head.rb:14 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/params_parser.rb:21 • call
config/initializers/session_store.rb:10 • call_with_stateless_api
vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205 • context
vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/cookies.rb:338 • call
lib/middleware/ensure_stateless.rb:14 • _call
lib/middleware/ensure_stateless.rb:10 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/callbacks.rb:28 • block in call
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405 • _run__3977714794272076315__call__3497365341195127067__callbacks
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405 • __run_callback
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385 • _run_call_callbacks
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81 • run_callbacks
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/callbacks.rb:27 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/remote_ip.rb:31 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:16 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/show_exceptions.rb:56 • call
vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/rack/logger.rb:26 • call_app
vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/rack/logger.rb:16 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/request_id.rb:22 • call
vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21 • call
vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/static.rb:62 • call
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136 • forward
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143 • pass
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155 • invalidate
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71 • call!
vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51 • call
vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/engine.rb:479 • call
vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/application.rb:220 • call
vendor/bundle/ruby/1.9.1/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30 • method_missing
vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/urlmap.rb:64 • block in call
vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/urlmap.rb:49 • each
vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/urlmap.rb:49 • call
vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:531 • process_client
vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:606 • worker_loop
vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:487 • spawn_missing_workers
vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:137 • start
vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/bin/unicorn_rails:209 • <top (required)>
vendor/bundle/ruby/1.9.1/bin/unicorn_rails:23 • load
vendor/bundle/ruby/1.9.1/bin/unicorn_rails:23 • <main>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment