-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.2.19.Final
-
None
-
None
I've noticed for a while that when the io.undertow.request.io logger is set to trace, I see the following exception in my logs. It happens when I hit a page and then let the browser (Chrome) site for a minute or two until the TCP connection times out (goes into TIMED_WAIT status).
Is this normal? When I Google this error, I see a lot of bug trackers where it's reported as a bug in the library that's using SSL. I'm testing on Undertow 2.2.19.Final and Java 11.0.17+8 (Adopt)
[TRACE] io.undertow.request.io: Exception closing read side of SSL channel
javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify
at sun.security.ssl.Alert.createSSLException(Unknown Source)
at sun.security.ssl.Alert.createSSLException(Unknown Source)
at sun.security.ssl.TransportContext.fatal(Unknown Source)
at sun.security.ssl.TransportContext.fatal(Unknown Source)
at sun.security.ssl.TransportContext.fatal(Unknown Source)
at sun.security.ssl.SSLEngineImpl.closeInbound(Unknown Source)
at io.undertow.protocols.ssl.SNISSLEngine.closeInbound(SNISSLEngine.java:116)
at io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:636)
at io.undertow.protocols.ssl.SslConduit.doUnwrap(SslConduit.java:758)
at io.undertow.protocols.ssl.SslConduit.read(SslConduit.java:587)
at io.undertow.conduits.IdleTimeoutConduit.read(IdleTimeoutConduit.java:202)
at org.xnio.conduits.ConduitStreamSourceChannel.read(ConduitStreamSourceChannel.java:127)
at io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:158)
at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136)
at io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:59)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
at io.undertow.protocols.ssl.SslConduit$SslReadReadyHandler.readReady(SslConduit.java:1273)
at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)