-
Bug
-
Resolution: Fixed
-
P2
-
11
-
b20
-
b25
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8215674 | 13 | Xuelei Fan | P2 | Resolved | Fixed | b01 |
JDK-8216104 | 12.0.1 | Xuelei Fan | P2 | Resolved | Fixed | master |
JDK-8238454 | 11.0.8-oracle | Xuelei Fan | P2 | Closed | Fixed | b01 |
JDK-8241216 | 11.0.8 | Xuelei Fan | P2 | Resolved | Fixed | b01 |
JDK-8259505 | openjdk8u292 | David Alvarez | P2 | Resolved | Fixed | b03 |
JDK-8243724 | 8u261 | Prasadarao Koppula | P2 | Closed | Fixed | b05 |
JDK-8247058 | emb-8u261 | Prasadarao Koppula | P2 | Resolved | Fixed | team |
I have tried a lot many times and failure is reproducible every time with Multithreading .
However , please note I left a commented code in main function, where the logic is looped just in case you don’t see the intermittent failure.
The scenario is for testing “setNeedClientAuth” , the scenario is as follows reproducible with JDKb20
1. Basic idea is to get a Client SSLSocket which is based on an empty keystore , so client has no way to authorize itself.
2. Create a SSLServerSocket based on the JKS keystore attached (testkeys.jks) , configure it so that “setNeedClientAuth” is false.
3. Accept the connections from client on a port which is shared with client.
4. Client thread is started , the SSLSocketFactory is retrieved form a SSLContext which is initialized with an empty keystore ,
SSLSocket is created.
5. Client socket is connected to the server on the remote port
6. Client sends some data to server
7. Client closes its socket
8. Server tries to read the data
9. Server breaks with SSLException: Software caused connection abort: recv failed
Please find the logs attached with “javax.net.debug=all” VM option (SSLSocketHanshakeLogs.txt)
Please find the attached code “SSLSocketHandshake.java”
**IMPORTANT** :
If in the above order of operations, #7 is omitted, i.e. if the client socket is not closed, then there is NO intermittent SSLException
- backported by
-
JDK-8215674 Socket reset issue for TLS 1.3 socket close
- Resolved
-
JDK-8216104 Socket reset issue for TLS 1.3 socket close
- Resolved
-
JDK-8241216 Socket reset issue for TLS 1.3 socket close
- Resolved
-
JDK-8247058 Socket reset issue for TLS 1.3 socket close
- Resolved
-
JDK-8259505 Socket reset issue for TLS 1.3 socket close
- Resolved
-
JDK-8238454 Socket reset issue for TLS 1.3 socket close
- Closed
-
JDK-8243724 Socket reset issue for TLS 1.3 socket close
- Closed
-
JDK-8261615 Socket reset issue for TLS 1.3 socket close
- Closed
- relates to
-
JDK-8219991 New fix of the deadlock in sun.security.ssl.SSLSocketImpl
- Resolved
-
JDK-8219658 Deadlock in sun.security.ssl.SSLSocketImpl
- Closed