-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sporadic SSL errors #693
Comments
@espen, thanks for letting us know about this issue you're seeing. I wouldn't expect the cert change in 7.0 to be the issue, since if you were lacking the certs that we removed, you wouldn't be able to connect to the new relic servers in the first place and no data would be coming through. Since you had 4 weeks of it working correctly, that seems unlikely to be the issue. Trying to look up the error, most of the things I'm seeing about that type of error are related to the server response, which seems like it would be weird since you are only seeing in sidekiq jobs sometimes. Very odd. Has anything changed at the time you first started seeing this error? Maybe anything related to ruby or openssl/OS/environment? |
I just read this, and I also wonder if perhaps there might be more than one generation of sidekiq worker running at the same time? Maybe there are a few old ones running even though they should not be, and they just need to be killed? |
I'm no longer seeing this in my app, not sure what changed 🤷♂️ The only place I am still seeing this error is in a Heroku buildpack that doesn't support Redis SSL: feedforce/heroku-buildpack-sidekiq-metrics#2 @wyhaines no, it is on Heroku so workers will be restarted for each deploy. |
Description
I have been running v7 in production for about a month but the last week I started seeing OpenSSL errors. I see there has been a breaking change in v7 in regards to certs but I was running it for about 4 weeks without any issues and then the last week I have started seeing errors like the one below. This occurs only in Sidekiq jobs that make external requests. I do retry failed jobs and the jobs succeed upon retry. I run many similar jobs but the error is only raised occasionally.
The error is:
SSL_connect returned=1 errno=0 state=error: wrong version number
fromOpenSSL::SSL::SSLError
.Troubleshooting
The last line is a net/http post request.
Your Environment
Rails 6.1.3.2. Ruby 2.7.3. Heroku.
The text was updated successfully, but these errors were encountered: