-
Notifications
You must be signed in to change notification settings - Fork 631
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
SSLEngine closed already #981
Comments
@dkulig Can you extract this piece of code into a project that can be used to reproduce the issue? |
@dkulig Could you verify in your logs if the exception keeps showing up on the same Netty channel? The Netty channel id is the CHANNEL_ID placeholder in the following logger format I think it is relevant that this error keeps showing up on the same Netty channel. |
I have added the details of the Reactor operators which see this error. It looks like it simply bubbles up to the application code and is not handled in any way.
There is also a log which also suggests this exception is unhandled:
|
All If you are able to test this PR #1065 it will be great Thanks |
The cases that may lead to this exception are:
|
The fix will be available in 0.9.7.RELEASE |
Hi, the problem still occurs on 0.9.7.RELEASE |
@brunoaduarte Open a new issue and test with the latest available release. You may see the same exception but the reason to be different. |
I have a SpringBoot WebFlux app which Is talking to an external http server.
All looks good expect the fact that my tracing library is reporting
SSLEngine closed already
errors randomly after a request to my app is already finished.javax.net.ssl.SSLException: SSLEngine closed already at io.netty.handler.ssl.SslHandler.wrap(SslHandler.java:837) at io.netty.handler.ssl.SslHandler.wrapAndFlush(SslHandler.java:800) at io.netty.handler.ssl.SslHandler.flush(SslHandler.java:781) at io.netty.handler.ssl.SslHandler.flush(SslHandler.java:1886) at io.netty.handler.ssl.SslHandler.closeOutboundAndChannel(SslHandler.java:1854) at
The weird thing is that this is happening 10 - 20 - 30 minutes after the request completes, I happens only periodically.
Gradle: io.projectreactor.netty:reactor-netty:0.9.2.RELEASE Gradle: io.projectreactor:reactor-core:3.3.1.RELEASE Gradle: io.projectreactor:reactor-test:3.3.1.RELEASE
Spring set-up:
I use the custom connection provider because a NAT Gateway closes my open connections. This issue was also observed when using default WebClient settings.
Looking for any advice
The text was updated successfully, but these errors were encountered: