arthurnn / apn_sender

Background worker to send Apple Push Notifications over a persistent TCP socket.
MIT License
377 stars 146 forks source link

Sidekiq async notifications fail all the time #64

Closed rubymaniac closed 10 years ago

rubymaniac commented 10 years ago

I see that the majority of the messages are failing with an error:

OpenSSL::SSL::SSLError: SSL_write: bad write retry

screen shot 2014-01-27 at 11 18 36 am

I see the logs and I see that the apn_sender log stops like 3 days ago which afaik means that the worker died? Have you seen that behavior again? Can you think of any workaround?

I am in version 2.0.0

rubymaniac commented 10 years ago

Anyone on this? I have found another gem that does some kind of reconnection after SSL errors https://github.com/ileitch/rapns/pull/14/files Is there any insights on this one?

arthurnn commented 10 years ago

version 2.0.1 is suppose to fix those.. https://github.com/arthurnn/apn_sender/blob/master/CHANGELOG.md#201 can you try that out?

thanks

arthurnn commented 10 years ago

Closing this for now.. Let me know if the problem persists after the upgrade.