-
Bug
-
Resolution: Fixed
-
P3
-
15, 16, 17, 18
-
b17
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8291168 | 17.0.6-oracle | Prasadarao Koppula | P3 | Resolved | Fixed | b01 |
JDK-8294222 | 17.0.6 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8295637 | 15.0.10 | Yuri Nesterenko | P3 | Resolved | Fixed | b01 |
JDK-8291242 | 11.0.18-oracle | Prasadarao Koppula | P3 | Resolved | Fixed | b01 |
JDK-8295360 | 11.0.18 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8291471 | 8u361 | Prasadarao Koppula | P3 | Resolved | Fixed | b01 |
Initially observed in OpenJDK 15, also observed in OpenJDK 16.
A DESCRIPTION OF THE PROBLEM :
I am seeing the same behaviour as in the original bug report, only the exception is thrown at java.base/sun.security.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:796) rather than at sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:656). The two methods are very similar, so I was wondering if the exception thrown in the former should also be a non-fatal one, i.e. the fix implemented for the original bug. This is the stacktrace:
00:00:18,708 ERROR [stderr] (default task-1) javax.net.ssl|ERROR|A4|default task-1|2021-09-03 24:00:18.708 BST|TransportContext.java:361|Fatal (INTERNAL_ERROR): closing inbound before receiving peer's close_notify (
00:00:18,708 ERROR [stderr] (default task-1) "throwable" : {
00:00:18,708 ERROR [stderr] (default task-1) javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify
00:00:18,708 ERROR [stderr] (default task-1) at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:133)
00:00:18,708 ERROR [stderr] (default task-1) at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
00:00:18,708 ERROR [stderr] (default task-1) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:356)
00:00:18,708 ERROR [stderr] (default task-1) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:312)
00:00:18,708 ERROR [stderr] (default task-1) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:303)
00:00:18,708 ERROR [stderr] (default task-1) at java.base/sun.security.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:796)
00:00:18,708 ERROR [stderr] (default task-1) at io.undertow.core@2.2.8.Final//io.undertow.server.protocol.http.ALPNLimitingSSLEngine.closeInbound(ALPNLimitingSSLEngine.java:169)
00:00:18,708 ERROR [stderr] (default task-1) at io.undertow.core@2.2.8.Final//io.undertow.protocols.ssl.SslConduit.notifyReadClosed(SslConduit.java:636)
00:00:18,708 ERROR [stderr] (default task-1) at io.undertow.core@2.2.8.Final//io.undertow.protocols.ssl.SslConduit.closed(SslConduit.java:1064)
00:00:18,708 ERROR [stderr] (default task-1) at io.undertow.core@2.2.8.Final//io.undertow.protocols.ssl.SslConduit.close(SslConduit.java:1196)
00:00:18,708 ERROR [stderr] (default task-1) at io.undertow.core@2.2.8.Final//io.undertow.protocols.ssl.UndertowSslConnection.closeAction(UndertowSslConnection.java:155)
00:00:18,708 ERROR [stderr] (default task-1) at org.jboss.xnio@3.8.4.Final//org.xnio.Connection.close(Connection.java:132)
00:00:18,708 ERROR [stderr] (default task-1) at io.undertow.core@2.2.8.Final//io.undertow.server.AbstractServerConnection.close(AbstractServerConnection.java:159)
00:00:18,708 ERROR [stderr] (default task-1) at org.jboss.xnio@3.8.4.Final//org.xnio.IoUtils.safeClose(IoUtils.java:152)
REGRESSION : Last worked in version 8
FREQUENCY : often
- backported by
-
JDK-8291168 sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368
- Resolved
-
JDK-8291242 sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368
- Resolved
-
JDK-8291471 sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368
- Resolved
-
JDK-8294222 sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368
- Resolved
-
JDK-8295360 sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368
- Resolved
-
JDK-8295637 sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368
- Resolved
- csr for
-
JDK-8305214 sun.security.ssl.SSLEngineImpl.closeInbound also has similar error of JDK-8253368
- Closed
- relates to
-
JDK-8253368 TLS connection always receives close_notify exception
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/243a55ef
-
Commit openjdk/jdk15u-dev/08b92720
-
Commit openjdk/jdk17u-dev/b75b9320
-
Commit openjdk/jdk/0b09f70a
-
Review openjdk/jdk11u-dev/1422
-
Review openjdk/jdk15u-dev/289
-
Review openjdk/jdk17u-dev/695
-
Review openjdk/jdk/7796