danReynolds/SummonerExpert

Errno::ECONNREFUSED: Failed to open TCP connection to api.rollbar.com:443 (Connection refused - connect(2) for "api.rollbar.com" port 443)

Closed this issue · 0 comments

View details in Rollbar: https://rollbar.com/danreynolds/SummonerExpert/items/160/


Exception: {:uri=>"https://na1.api.riotgames.com/lol/match/v3/matches/2728858671", :code=>503}
  File "/app/lib/external_api.rb", line 13, in fetch_response
  File "/app/lib/riot_api.rb", line 134, in get_match
  File "/app/app/workers/match_worker.rb", line 13, in perform
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 167, in execute_job
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 139, in block (5 levels) in process
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/rails.rb", line 90, in block in call
  File "/usr/local/bundle/gems/activesupport-5.0.0.1/lib/active_support/execution_wrapper.rb", line 76, in wrap
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/rails.rb", line 89, in call
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 135, in block (4 levels) in process
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/middleware/chain.rb", line 128, in block in invoke
  File "/usr/local/bundle/gems/sidekiq-throttled-0.8.0/lib/sidekiq/throttled/middleware.rb", line 14, in call
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar/plugins/sidekiq/plugin.rb", line 11, in call
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/usr/local/bundle/gems/sentry-raven-2.7.1/lib/raven/integrations/sidekiq.rb", line 9, in call
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/middleware/server/logging.rb", line 10, in call
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/middleware/server/retry_jobs.rb", line 74, in call
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/middleware/chain.rb", line 130, in block in invoke
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/middleware/chain.rb", line 133, in invoke
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 134, in block (3 levels) in process
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/logging.rb", line 32, in with_context
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 132, in block (2 levels) in process
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 183, in stats
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 131, in block in process
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq.rb", line 35, in block in <module:Sidekiq>
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 126, in process
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 82, in process_one
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 70, in run
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/util.rb", line 17, in watchdog
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/util.rb", line 26, in block in safe_thread
Errno::ECONNREFUSED: Failed to open TCP connection to api.rollbar.com:443 (Connection refused - connect(2) for "api.rollbar.com" port 443)
  File "/usr/local/lib/ruby/2.3.0/net/http.rb", line 882, in rescue in block in connect
  File "/usr/local/lib/ruby/2.3.0/net/http.rb", line 879, in block in connect
  File "/usr/local/lib/ruby/2.3.0/timeout.rb", line 91, in block in timeout
  File "/usr/local/lib/ruby/2.3.0/timeout.rb", line 101, in timeout
  File "/usr/local/lib/ruby/2.3.0/net/http.rb", line 878, in connect
  File "/usr/local/lib/ruby/2.3.0/net/http.rb", line 863, in do_start
  File "/usr/local/lib/ruby/2.3.0/net/http.rb", line 852, in start
  File "/usr/local/lib/ruby/2.3.0/net/http.rb", line 1398, in request
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 477, in block in do_post
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 486, in handle_net_retries
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 477, in do_post
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 457, in send_item
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 191, in process_item
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 584, in schedule_item
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 363, in report
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 143, in log
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar.rb", line 173, in error
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar/plugins/sidekiq/plugin.rb", line 29, in handle_exception
  File "/usr/local/bundle/gems/rollbar-2.12.0/lib/rollbar/plugins/sidekiq.rb", line 16, in block (4 levels) in <top (required)>
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/exception_handler.rb", line 21, in block in handle_exception
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/exception_handler.rb", line 19, in each
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/exception_handler.rb", line 19, in handle_exception
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 152, in rescue in process
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 156, in process
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 82, in process_one
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/processor.rb", line 70, in run
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/util.rb", line 17, in watchdog
  File "/usr/local/bundle/gems/sidekiq-4.2.10/lib/sidekiq/util.rb", line 26, in block in safe_thread