Comments (41)
I appreciate this is a frustrating issue; but if I could please ask people to refrain from +1 that'd be great. We're struggling to recreate this problem; if you're seeing it any info on your stack, when it happens, any logging, info, etc that you can say is way more productive and useful than a '+1'. Thanks :)
from pusher-http-ruby.
I emailed their support and they basically said "deal with it."
Thanks for getting in touch.
The push-notifications service is a beta product and we're experiencing some
stability issues during periods of high load.
We're working on improving stability and hope to have a resolution soon but
unfortunately can't offer any guarantees about when that will be.
Thanks
James Lees
engineer at pusher.com
I asked
Ok... What is the suggested way to handle and retry your API failures? Exponential backoff?
To which he agreed
Exponential backoff sounds like a suitable approach!
So that's what we're implementing now.
Update: Exponential backoff is working fine.
from pusher-http-ruby.
@bitboxer @Juanchote We're investigating the cause of timeouts for the Push Notifications API. This would be the cause for it occurring as frequently as you claim it does.
You can follow along progress here : https://status.pusher.com.
Thanks for your patience!
from pusher-http-ruby.
As I understood the problem is that the default timeout is 5s in Pusher. You can switch it to a higher value like 30s. I tested with Pusher 1.3.1
Pusher.timeout = 30
from pusher-http-ruby.
@qlimaxx thanks for that info, you inspired me. It looks like these config methods are also exposed, maybe worth experimenting with:
[development] [3] Vydia(main)> Pusher.methods.grep /time/
=> [:timeout=, :connect_timeout=, :send_timeout=, :receive_timeout=, :keep_alive_timeout=]
For now I will set Pusher.timeout = 30
from pusher-http-ruby.
@dexterogieosahon we have same issue. How did you fix it please?
from pusher-http-ruby.
I tried from a remote host instead localhost and it worked.
wouldn't say that was a fix.
from pusher-http-ruby.
We still have issue on two servers, it happens randomly, not very often
from pusher-http-ruby.
I am having the same problem.Please help me out.
from pusher-http-ruby.
@quatermain @9732227179 how often are you seeing this happen? Any extra information would be really useful so we can debug this.
Alternatively you could use something like tcpdump or wireshark to capture the packets, and we can inspect those to try to find the cause.
from pusher-http-ruby.
app/controllers/hello_world_controller.rb
class HelloWorldController < ApplicationController
def hello_world
Thread.new do
begin
Pusher.trigger('test_channel', 'my_event', {
message: 'hello world'
})
ActiveRecord::Base.connection.close
rescue Pusher::Error => e
Rails.logger.error "Pusher error: #{e.message}"
end
end
config/initializers/pusher.rb
require 'pusher'
Pusher.url = "https://[snip]@api.pusherapp.com/apps/[snip]"
Pusher.logger = Rails.logger
end
end
from pusher-http-ruby.
I am developing realtime chat app ,Can you help some other way
from pusher-http-ruby.
@jackfranklin I don't have full backtrace yet, because we call pusher from delayed jobs and we didn't store failed jobs. I will have it next time when this error will come again, I hope tomorrow.
We call pusher with this way:
Pusher.trigger("user-#{r.id}-#{Rails.env}", 'new_alert', {alert_type: alert_type, alert_id: @alert.id, message: alert_message, content: @alert.content, created_by_name: @person.try(:name)})
here are times when we saw this error:
https://gist.github.com/quatermain/909171c4557f0d598b95
from pusher-http-ruby.
@9732227179 I've edited your comment to remove your Pusher app's secret and ID. However you might want to reset those via the dashboard just in case. You should make sure your secret key is kept secret.
With issues like this it's most commonly down to a problem in the network. Unfortunately these things happen, what we recommend is building in retry functionality when an error occurs when connecting to the network. This could be a problem with the network on your side also.
from pusher-http-ruby.
@jackfranklin we have to have 25 attempts before we get airbrake and our servers are Rackspace cloud servers. Can we still have issue with network?
from pusher-http-ruby.
+1 Same issue
from pusher-http-ruby.
+1 same issue on dev server along with sidekiq for async pushing
from pusher-http-ruby.
+1 we are getting this error frequently in production.
from pusher-http-ruby.
+1
from pusher-http-ruby.
ruby 2.2.2p95
Rails 4.2.3
pusher 1.1.0
Pusher::HTTPError: execution expired (HTTPClient::ConnectTimeoutError)
gems/pusher-1.1.0/lib/pusher/request.rb:33 in rescue in send_sync
/gems/pusher-1.1.0/lib/pusher/request.rb:27 in send_sync
/gems/pusher-1.1.0/lib/pusher/resource.rb:18 in post
/gems/pusher-1.1.0/lib/pusher/client.rb:169 in post
/gems/pusher-1.1.0/lib/pusher/client.rb:269 in trigger
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/base.rb:50 in block in notify
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/base.rb:43 in each
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/base.rb:43 in notify
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/base.rb:17 in generate_and_notify
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/jobs/create.rb:23 in perform
/gems/delayed_job-4.1.2/lib/delayed/backend/base.rb:84 in block in invoke_job
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in block in initialize
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in execute
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:40 in run_callbacks
/gems/delayed_job-4.1.2/lib/delayed/backend/base.rb:81 in invoke_job
/gems/newrelic_rpm-3.15.2.317/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb:127 in block in invoke_job
/gems/newrelic_rpm-3.15.2.317/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:362 in perform_action_with_newrelic_trace
/gems/newrelic_rpm-3.15.2.317/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb:126 in invoke_job
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:230 in block (2 levels) in run
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:89 in block in timeout
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99 in call
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99 in timeout
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:230 in block in run
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/benchmark.rb:303 in realtime
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:229 in run
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:306 in block in reserve_and_run_one_job
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in block in initialize
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in execute
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:40 in run_callbacks
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:306 in reserve_and_run_one_job
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:213 in block in work_off
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:212 in times
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:212 in work_off
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:175 in block (4 levels) in start
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/benchmark.rb:303 in realtime
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:174 in block (3 levels) in start
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in block in initialize
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in execute
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:40 in run_callbacks
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:173 in block (2 levels) in start
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:172 in loop
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:172 in block in start
/gems/delayed_job-4.1.2/lib/delayed/plugins/clear_locks.rb:7 in call
/gems/delayed_job-4.1.2/lib/delayed/plugins/clear_locks.rb:7 in block (2 levels) in <class:ClearLocks>
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:79 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:79 in block (2 levels) in add
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in block in initialize
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:79 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:79 in block in add
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in execute
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:40 in run_callbacks
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:171 in start
/gems/delayed_job-4.1.2/lib/delayed/command.rb:132 in run
/gems/delayed_job-4.1.2/lib/delayed/command.rb:120 in block in run_process
/gems/daemons-1.2.3/lib/daemons/application.rb:265 in call
/gems/daemons-1.2.3/lib/daemons/application.rb:265 in block in start_proc
/gems/daemons-1.2.3/lib/daemons/daemonize.rb:84 in call
/gems/daemons-1.2.3/lib/daemons/daemonize.rb:84 in call_as_daemon
/gems/daemons-1.2.3/lib/daemons/application.rb:269 in start_proc
/gems/daemons-1.2.3/lib/daemons/application.rb:295 in start
/gems/daemons-1.2.3/lib/daemons/controller.rb:56 in run
/gems/daemons-1.2.3/lib/daemons.rb:193 in block in run_proc
/gems/daemons-1.2.3/lib/daemons/cmdline.rb:88 in call
/gems/daemons-1.2.3/lib/daemons/cmdline.rb:88 in catch_exceptions
/gems/daemons-1.2.3/lib/daemons.rb:192 in run_proc
/gems/delayed_job-4.1.2/lib/delayed/command.rb:118 in run_process
/gems/delayed_job-4.1.2/lib/delayed/command.rb:99 in block in daemonize
/gems/delayed_job-4.1.2/lib/delayed/command.rb:97 in times
/gems/delayed_job-4.1.2/lib/delayed/command.rb:97 in daemonize
script/delayed_job:5 in <main>
Caused by HTTPClient::ConnectTimeoutError: execution expired
/gems/httpclient-2.8.0/lib/httpclient/session.rb:597 in initialize
/gems/httpclient-2.8.0/lib/httpclient/session.rb:597 in new
/gems/httpclient-2.8.0/lib/httpclient/session.rb:597 in create_socket
/gems/httpclient-2.8.0/lib/httpclient/session.rb:742 in block in connect
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:89 in block in timeout
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99 in call
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99 in timeout
/gems/httpclient-2.8.0/lib/httpclient/session.rb:735 in connect
/gems/httpclient-2.8.0/lib/httpclient/session.rb:497 in query
/gems/httpclient-2.8.0/lib/httpclient/session.rb:170 in query
/gems/httpclient-2.8.0/lib/httpclient.rb:1238 in do_get_block
/gems/httpclient-2.8.0/lib/httpclient.rb:1021 in block in do_request
/gems/httpclient-2.8.0/lib/httpclient.rb:1129 in protect_keep_alive_disconnected
/gems/httpclient-2.8.0/lib/httpclient.rb:1016 in do_request
/gems/httpclient-2.8.0/lib/httpclient.rb:858 in request
/gems/pusher-1.1.0/lib/pusher/request.rb:28 in send_sync
/gems/pusher-1.1.0/lib/pusher/resource.rb:18 in post
/gems/pusher-1.1.0/lib/pusher/client.rb:169 in post
/gems/pusher-1.1.0/lib/pusher/client.rb:269 in trigger
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/forwardable.rb:183 in trigger
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/base.rb:50 in block in notify
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/base.rb:43 in each
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/base.rb:43 in notify
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/base.rb:17 in generate_and_notify
/home/apps/shopvox/releases/20160624055848/app/alerts/alerts/jobs/create.rb:23 in perform
/gems/delayed_job-4.1.2/lib/delayed/backend/base.rb:84 in block in invoke_job
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in block in initialize
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in execute
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:40 in run_callbacks
/gems/delayed_job-4.1.2/lib/delayed/backend/base.rb:81 in invoke_job
/gems/newrelic_rpm-3.15.2.317/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb:127 in block in invoke_job
/gems/newrelic_rpm-3.15.2.317/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:362 in perform_action_with_newrelic_trace
/gems/newrelic_rpm-3.15.2.317/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb:126 in invoke_job
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:230 in block (2 levels) in run
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:89 in block in timeout
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99 in call
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99 in timeout
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:230 in block in run
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/benchmark.rb:303 in realtime
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:229 in run
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:306 in block in reserve_and_run_one_job
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in block in initialize
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in execute
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:40 in run_callbacks
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:306 in reserve_and_run_one_job
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:213 in block in work_off
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:212 in times
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:212 in work_off
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:175 in block (4 levels) in start
/opt/rbenv/versions/2.2.2/lib/ruby/2.2.0/benchmark.rb:303 in realtime
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:174 in block (3 levels) in start
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in block in initialize
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in execute
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:40 in run_callbacks
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:173 in block (2 levels) in start
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:172 in loop
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:172 in block in start
/gems/delayed_job-4.1.2/lib/delayed/plugins/clear_locks.rb:7 in call
/gems/delayed_job-4.1.2/lib/delayed/plugins/clear_locks.rb:7 in block (2 levels) in <class:ClearLocks>
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:79 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:79 in block (2 levels) in add
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:61 in block in initialize
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:79 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:79 in block in add
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in call
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:66 in execute
/gems/delayed_job-4.1.2/lib/delayed/lifecycle.rb:40 in run_callbacks
/gems/delayed_job-4.1.2/lib/delayed/worker.rb:171 in start
/gems/delayed_job-4.1.2/lib/delayed/command.rb:132 in run
/gems/delayed_job-4.1.2/lib/delayed/command.rb:120 in block in run_process
/gems/daemons-1.2.3/lib/daemons/application.rb:265 in call
/gems/daemons-1.2.3/lib/daemons/application.rb:265 in block in start_proc
/gems/daemons-1.2.3/lib/daemons/daemonize.rb:84 in call
/gems/daemons-1.2.3/lib/daemons/daemonize.rb:84 in call_as_daemon
/gems/daemons-1.2.3/lib/daemons/application.rb:269 in start_proc
/gems/daemons-1.2.3/lib/daemons/application.rb:295 in start
/gems/daemons-1.2.3/lib/daemons/controller.rb:56 in run
/gems/daemons-1.2.3/lib/daemons.rb:193 in block in run_proc
/gems/daemons-1.2.3/lib/daemons/cmdline.rb:88 in call
/gems/daemons-1.2.3/lib/daemons/cmdline.rb:88 in catch_exceptions
/gems/daemons-1.2.3/lib/daemons.rb:192 in run_proc
/gems/delayed_job-4.1.2/lib/delayed/command.rb:118 in run_process
/gems/delayed_job-4.1.2/lib/delayed/command.rb:99 in block in daemonize
/gems/delayed_job-4.1.2/lib/delayed/command.rb:97 in times
/gems/delayed_job-4.1.2/lib/delayed/command.rb:97 in daemonize
script/delayed_job:5 in <main>
from pusher-http-ruby.
does everybody have same issue with combination Pusher + Delayed Jobs or also with other combinations? we have delayed_job 4.1.2
from pusher-http-ruby.
We've been getting a bunch of these errors at Reamaze.com since forever . What we do notice that it happens on the hour. Here are a list of a small sample of errors, all intermittent, and these are not on delayed_job jobs although it happens on those too. We're not doing anything special on our servers each hour. Have emailed Pusher about this a long time ago but didn't get it resolved.
Hopefully these data points will help with diagnosing the issue. Let me know if I need to provide more info or data points.
from pusher-http-ruby.
Same situation here:
ruby 2.3.1
rails 4.2.7.1
pusher (1.1.0)
from pusher-http-ruby.
We see that problem, too.
from pusher-http-ruby.
Hi guys,
Sorry this hasn't been looked at in a while, but I can see there are lots more people experiencing this. Looking at the past comments, there isn't a reliable way to reproduce this issue?
I'll try and have a look at this soon and get back to you with any updates.
from pusher-http-ruby.
Sadly not for me right now.
from pusher-http-ruby.
Hm...just seeing that every request to pusher is getting the ConnectTimeoutError.
from pusher-http-ruby.
for me is not working only the PUSH Notification system :(
from pusher-http-ruby.
@bitboxer @Juanchote Are you guys using the Push Notifications API?
from pusher-http-ruby.
@vivangkumar yes!
from pusher-http-ruby.
That is the only thing I am using:
Pusher.notify([channel],
apns: {
aps: {
alert: {
body: message_body
}
},
data: payload
},
fcm: {
notification: {
body: message_body,
title: title,
icon: icon
},
data: payload
})
from pusher-http-ruby.
@vivangkumar haven't figured out a surefire way to reproduce the HTTP connect timeout issue, just that it's happening often, and it's not just me that's experiencing this. Is there a way our team can work closely with Pusher to figure this out? Hoping that the request timestamps would help narrow down the requests and figure this out.
from pusher-http-ruby.
It stopped happening for us. As soon as it happens again we will post here.
from pusher-http-ruby.
@hengwoon You can always open up a support ticket and mention this issue there. You can also ask for me to be included in the ticket. If we do manage to solve it, a lot of people are going to be happy about it :)
from pusher-http-ruby.
+1 same error
To me this occurres always and only on the first request after restarting the server.
from pusher-http-ruby.
Still getting this as of 12 minutes ago. at least 107 instances over the past 7 days according to error reporting dashboard.
Message: execution expired (HTTPClient::ReceiveTimeoutError)
/home/deploy/apps/vydia/shared/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/request.rb:35 rescue in send_sync
/home/deploy/apps/vydia/shared/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/request.rb:29 send_sync
/home/deploy/apps/vydia/shared/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/native_notification/client.rb:24 notify
/home/deploy/apps/vydia/shared/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/client.rb:325 notify
/home/deploy/apps/vydia/releases/20170413175228/lib/socket/socket.rb:50 android_push_notif
from pusher-http-ruby.
👍 same error at 14:20 EST
from pusher-http-ruby.
pusher-1.3.1/lib/pusher/request.rb:35→ rescue in send_sync
pusher-1.3.1/lib/pusher/request.rb:29→ send_sync
pusher-1.3.1/lib/pusher/native_notification/client.rb:24→ notify
pusher-1.3.1/lib/pusher/client.rb:325→ notify
Same issue still happening, running Ruby 2.3.3, Rails 5.0.2, and Pusher 1.3.1. It started April 7th with this incident and has been happening off and on since. We call notify from a side worker using Sidekiq, and it appears to work when Sidekiq automatically retries the failed job.
from pusher-http-ruby.
Ruby 2.3.1
Sidekiq 4.2.9
Rails 4.1.8
Pusher 1.3.0
Pusher::HTTPError getaddrinfo
included
We have just recently begun seeing these errors. We recently upgraded our Sidekiq version from 3.3.0 to 4.2.9. About a fortnight after we did this we had our first execution expired timeout. The issue happens on a fairly high volume queue that is working in parallel (naturally as Sidekiq would). We got only 3 or do execution expires errors 25 days ago.
More interestingly, we upgraded our Ruby version from 2.1.5 on April 20th on staging and 26th on production. This is when the errors become a real issue.
Pusher::HTTPError execution expired
example on ruby 2.1.5, but this is more frequent on ruby 2.3.1
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 799 in gets
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 799 in block in parse_header
File "/opt/ruby-2.1.5/lib/ruby/2.1.0/timeout.rb" line 91 in block in timeout
File "/opt/ruby-2.1.5/lib/ruby/2.1.0/timeout.rb" line 101 in call
File "/opt/ruby-2.1.5/lib/ruby/2.1.0/timeout.rb" line 101 in timeout
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 795 in parse_header
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 778 in read_header
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 554 in get_header
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 1297 in do_get_header
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 1243 in do_get_block
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 1017 in block in do_request
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 1131 in protect_keep_alive_disconnected
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 1012 in do_request
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 854 in request
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/request.rb" line 30 in send_sync
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/resource.rb" line 18 in post
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/client.rb" line 177 in post
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/client.rb" line 277 in trigger
File "/srv/our-app/markets/app/workers/api_price_pusher_worker.rb" line 18 in perform
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 158 in execute_job
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 138 in block (4 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 36 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 36 in block in <module:Sidekiq>
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 133 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 133 in block (3 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 128 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/rollbar-2.14.1/lib/rollbar/plugins/sidekiq/plugin.rb" line 11 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/sidekiq.rb" line 33 in block in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/controller_instrumentation.rb" line 363 in perform_action_with_newrelic_trace
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/sidekiq.rb" line 29 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/active_record.rb" line 6 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/retry_jobs.rb" line 74 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb" line 11 in block in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/logging.rb" line 32 in with_context
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb" line 7 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 133 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 133 in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 132 in block (2 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 174 in stats
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 131 in block in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 35 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 35 in block in <module:Sidekiq>
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 126 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 126 in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 82 in process_one
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 70 in run
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb" line 17 in watchdog
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb" line 26 in block in safe_thread
Pusher::HTTPError: execution expired (HTTPClient::ReceiveTimeoutError)
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/request.rb" line 35 in rescue in send_sync
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/request.rb" line 29 in send_sync
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/resource.rb" line 18 in post
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/client.rb" line 177 in post
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/pusher-1.3.0/lib/pusher/client.rb" line 277 in trigger
File "/srv/our-app/markets/app/workers/api_price_pusher_worker.rb" line 18 in perform
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 158 in execute_job
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 138 in block (4 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 36 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 36 in block in <module:Sidekiq>
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 133 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 133 in block (3 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 128 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/rollbar-2.14.1/lib/rollbar/plugins/sidekiq/plugin.rb" line 11 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/sidekiq.rb" line 33 in block in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/controller_instrumentation.rb" line 363 in perform_action_with_newrelic_trace
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/sidekiq.rb" line 29 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/active_record.rb" line 6 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/retry_jobs.rb" line 74 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb" line 11 in block in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/logging.rb" line 32 in with_context
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb" line 7 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 133 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 133 in invoke
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 132 in block (2 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 174 in stats
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 131 in block in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 35 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 35 in block in <module:Sidekiq>
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 126 in call
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 126 in process
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 82 in process_one
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 70 in run
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb" line 17 in watchdog
File "/srv/our-app/vendor/bundle/ruby/2.1.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb" line 26 in block in safe_thread
Pusher::HTTPError: getaddrinfo: Temporary failure in name resolution (api.pusherapp.com:80) (SocketError)
I've noticed that most of the stack traces here are for rubies above 2.1.x except one. We have redeployed 2.1.5 to staging and the errors ceased. Whereas before they were averaging 1 or 2 a minute, there was none for 15 minutes while 2.1.5 was deployed.
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 604 in initialize
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 604 in new
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 604 in create_socket
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 749 in block in connect
File "/opt/ruby-2.3.1/lib/ruby/2.3.0/timeout.rb" line 91 in block in timeout
File "/opt/ruby-2.3.1/lib/ruby/2.3.0/timeout.rb" line 101 in timeout
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 742 in connect
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 504 in query
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient/session.rb" line 174 in query
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 1240 in do_get_block
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 1017 in block in do_request
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 1131 in protect_keep_alive_disconnected
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 1012 in do_request
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/httpclient-2.8.2.4/lib/httpclient.rb" line 854 in request
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/pusher-1.3.0/lib/pusher/request.rb" line 30 in send_sync
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/pusher-1.3.0/lib/pusher/resource.rb" line 18 in post
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/pusher-1.3.0/lib/pusher/client.rb" line 177 in post
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/pusher-1.3.0/lib/pusher/client.rb" line 277 in trigger
File "/srv/our-app/markets/app/workers/api_price_pusher_worker.rb" line 18 in perform
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 158 in execute_job
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 138 in block (4 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 36 in block in <module:Sidekiq>
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 133 in block (3 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 128 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/rollbar-2.14.1/lib/rollbar/plugins/sidekiq/plugin.rb" line 11 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/sidekiq.rb" line 33 in block in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/controller_instrumentation.rb" line 363 in perform_action_with_newrelic_trace
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/sidekiq.rb" line 29 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/active_record.rb" line 6 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/retry_jobs.rb" line 74 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb" line 11 in block in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/logging.rb" line 32 in with_context
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb" line 7 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 133 in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 132 in block (2 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 174 in stats
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 131 in block in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 35 in block in <module:Sidekiq>
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 126 in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 82 in process_one
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 70 in run
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb" line 17 in watchdog
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb" line 26 in block in safe_thread
Pusher::HTTPError: getaddrinfo: Temporary failure in name resolution (api.pusherapp.com:80) (SocketError)
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/pusher-1.3.0/lib/pusher/request.rb" line 35 in rescue in send_sync
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/pusher-1.3.0/lib/pusher/request.rb" line 29 in send_sync
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/pusher-1.3.0/lib/pusher/resource.rb" line 18 in post
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/pusher-1.3.0/lib/pusher/client.rb" line 177 in post
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/pusher-1.3.0/lib/pusher/client.rb" line 277 in trigger
File "/srv/our-app/markets/app/workers/api_price_pusher_worker.rb" line 18 in perform
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 158 in execute_job
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 138 in block (4 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 36 in block in <module:Sidekiq>
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 133 in block (3 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 128 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/rollbar-2.14.1/lib/rollbar/plugins/sidekiq/plugin.rb" line 11 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/sidekiq.rb" line 33 in block in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/controller_instrumentation.rb" line 363 in perform_action_with_newrelic_trace
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.18.0.329/lib/new_relic/agent/instrumentation/sidekiq.rb" line 29 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/active_record.rb" line 6 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/retry_jobs.rb" line 74 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb" line 11 in block in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/logging.rb" line 32 in with_context
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/server/logging.rb" line 7 in call
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 130 in block in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/middleware/chain.rb" line 133 in invoke
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 132 in block (2 levels) in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 174 in stats
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 131 in block in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq.rb" line 35 in block in <module:Sidekiq>
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 126 in process
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 82 in process_one
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/processor.rb" line 70 in run
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb" line 17 in watchdog
File "/srv/our-app/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.2.9/lib/sidekiq/util.rb" line 26 in block in safe_thread
Any other info that might help
from pusher-http-ruby.
There are a couple of issues filed on HTTPClient that's related:
nahi/httpclient#373
nahi/httpclient#249
Not sure if this is a HTTPClient issue, but is there a plan to support different http clients?
from pusher-http-ruby.
Thanks everyone for reporting. I'm closing this issue, as I don't see evidence that these errors are caused by this library. They all look like connection timeouts in the underlying TCP stack. If these connection timeouts are caused by the Pusher Channels HTTP API being down, we will report that here, or you can report this here.
from pusher-http-ruby.
Related Issues (20)
- Request: attribute accessor to the cluster config for Pusher Client HOT 5
- Handling payload bigger than 10KB HOT 1
- How do you disconnect from the server side? HOT 1
- Pusher event namespaces? HOT 4
- Improve Pusher::Error for server side errors HOT 2
- Outdated changelog HOT 3
- Pusher : Error : {"type":"WebSocketError","error":{"type":"PusherError","data":{"code":1006,"message":"Connection interrupted (200)"}}} HOT 2
- Add Support for Encrypted Channels HOT 1
- Cluster should only override default if non-nil HOT 3
- Pusher.cluster delegates to Pusher::Client#cluster which is not defined HOT 5
- Libsodium dependency HOT 1
- changelog is not clear about breaking changes from v1.xx -> v2.xx HOT 2
- Can't set encryption_master_key_base64 using the global configuration style. HOT 3
- DEPRECATION WARNING `request#content_type` in Rails v7.0.1 HOT 5
- Pusher::Webhook#event for presence channel missing `user_info` HOT 1
- Pusher 2.0.3 + Pusher-Fake 3.0.1 + Webmock breaks HOT 2
- Replace httpclient with a more recent updated http client HOT 3
- Reporting a vulnerability HOT 1
- Pusher.use_tls = false vs Pusher.encrypted = false HOT 2
- Missing method to implement user authentication flow HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pusher-http-ruby.