-
Notifications
You must be signed in to change notification settings - Fork 80
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
OpenSSL::SSL::SSLErrorWaitReadable with TLS 1.3 #305
Comments
what kind of libraries are using the SSL stack or is it application code directly? any more details such as a trace? |
We are using HTTParty. There is no trace on the exception. |
If you can please update to jruby-openssl 0.14.6 and try setting: |
How should we update to jruby-openssl 0.14.6? Wait for a new jruby 9.3 release? |
are you using Bundler? if so just declare the gem with a version requirement |
The error still occurs with 0.15.0, the stacktrace is not really helpful, it looks like this
|
|
The above backtrace had the flag -J-Djruby.openssl.ssl.error_wait_nonblock.backtrace=true enabled. |
Starting in April we started seeing lots of "read would block" and OpenSSL::SSL::SSLErrorWaitReadable errors in our Sentry instance. The errors occur only with TLS 1.3 and not with TLS 1.2. This issue is hard to debug for us and we could not write a script to reproduce this error. The issue occurs for multiple different endpoints from different systems of different companies that we send HTTPS requests to, so it is definitely on our side.
We are using JRuby 9.3.14.0 and Java 11.0.22+0. The error seems to occur on JRuby 9.3.13.0, too.
The text was updated successfully, but these errors were encountered: