Skip to content

Instantly share code, notes, and snippets.

@leonardorb
Created February 10, 2012 13:42
Show Gist options
  • Save leonardorb/1789697 to your computer and use it in GitHub Desktop.
Save leonardorb/1789697 to your computer and use it in GitHub Desktop.
Errno::ECONNREFUSED (Connection refused - Unable to connect to Redis on localhost:6379):
redis (2.2.2) lib/redis/client.rb:236:in `establish_connection'
redis (2.2.2) lib/redis/client.rb:23:in `connect'
redis (2.2.2) lib/redis/client.rb:247:in `ensure_connected'
redis (2.2.2) lib/redis/client.rb:137:in `process'
redis (2.2.2) lib/redis/client.rb:206:in `logging'
redis (2.2.2) lib/redis/client.rb:136:in `process'
redis (2.2.2) lib/redis/client.rb:46:in `raw_call_command_without_newrelic_trace'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/rpm_contrib-2.1.6/lib/rpm_contrib/instrumentation/redis.rb:30:in `call'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/rpm_contrib-2.1.6/lib/rpm_contrib/instrumentation/redis.rb:28:in `call'
redis (2.2.2) lib/redis.rb:435:in `sadd'
/Users/leonardorb/.rvm/rubies/ree-1.8.7-2011.12/lib/ruby/1.8/monitor.rb:242:in `synchronize'
redis (2.2.2) lib/redis.rb:434:in `sadd'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/redis-namespace-1.0.3/lib/redis/namespace.rb:213:in `send'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/redis-namespace-1.0.3/lib/redis/namespace.rb:213:in `method_missing'
resque (1.17.1) lib/resque.rb:209:in `watch_queue'
config/initializers/load_resque.rb:13:in `push'
resque (1.17.1) lib/resque/job.rb:48:in `create'
resque (1.17.1) lib/resque.rb:231:in `enqueue'
app/workers/base_worker.rb:119:in `enqueue_with_options'
app/workers/base_worker.rb:102:in `enqueue'
app/models/tracked_user_activity.rb:11:in `enqueue_worker'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:491:in `transaction'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:486:in `transaction'
app/models/user_activity.rb:98:in `track_event'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:491:in `transaction'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:486:in `transaction'
app/models/user_activity.rb:55:in `log_activity'
app/models/user.rb:281:in `activity'
app/models/plan_management.rb:150:in `upgrade_to_plan'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:491:in `transaction'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:486:in `transaction'
app/models/plan_management.rb:143:in `upgrade_to_plan'
app/models/plan_management.rb:85:in `change_plan'
app/models/user_model/registration.rb:285:in `pricing'
app/controllers/embedded/registrations_controller.rb:44:in `pricing'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:255:in `perform_action_without_render_component'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:248:in `perform_action_without_render_component'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/rack/browser_monitoring.rb:40:in `call'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/newrelic_rpm-3.3.0/lib/new_relic/rack/developer_mode.rb:24:in `call'
app/middlewares/routes_js.rb:36:in `call'
app/middlewares/flash_session_cookie_middleware.rb:14:in `call'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier/rack.rb:27:in `call'
/Users/leonardorb/.rvm/gems/ree-1.8.7-2011.12@pixilyapp/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier/user_informer.rb:12:in `call'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment