Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8229383

javax/net/ssl/TLSCommon/TLSTest.java failed due to "SSLException: Connection reset"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 14, 15
    • Fix Version/s: tbd
    • Component/s: security-libs
    • Labels:

      Description

      The following test failed in the JDK14 CI:

      javax/net/ssl/TLSCommon/TLSTest.java

      Here's a snippet from the log file:

      ----------System.out:(1/32)----------
      Server listining on port: 56331
      ----------System.err:(42/2871)----------
      javax.net.ssl.SSLException: Connection reset
      at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:324)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:267)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:262)
      at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:137)
      at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1460)
      at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1368)
      at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:437)
      at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:878)
      at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1240)
      at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1212)
      at TLSTest$Client.doClientSide(TLSTest.java:286)
      at TLSTest.main(TLSTest.java:156)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)
      Suppressed: java.net.SocketException: Broken pipe
      at java.base/sun.nio.ch.NioSocketImpl.implWrite(NioSocketImpl.java:421)
      at java.base/sun.nio.ch.NioSocketImpl.write(NioSocketImpl.java:441)
      at java.base/sun.nio.ch.NioSocketImpl$2.write(NioSocketImpl.java:825)
      at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:989)
      at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:82)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:355)
      ... 17 more
      Caused by: java.net.SocketException: Connection reset
      at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:324)
      at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:351)
      at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:802)
      at java.base/java.net.Socket$SocketInputStream.read(Socket.java:919)
      at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:450)
      at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)
      at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)
      ... 14 more

      JavaTest Message: Test threw exception: javax.net.ssl.SSLException: Connection reset
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: javax.net.ssl.SSLException: Connection reset
      ----------rerun:(36/3941)*----------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rhalade Rajan Halade
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: