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

SSLSocketImpl/ReverseNameLookup.java failed due to "SSLException: Connection reset"

    XMLWordPrintable

    Details

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

      Description

      The following test failed in the JDK15 CI:

      sun/security/ssl/SSLSocketImpl/ReverseNameLookup.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/388)----------
      command: main ReverseNameLookup SunJSSE does not support dynamic system properties, no way to re-use system properties in samevm/agentvm mode.
      reason: User specified action: run main/othervm ReverseNameLookup SunJSSE does not support dynamic system properties, no way to re-use system properties in samevm/agentvm mode.
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 100.067
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(44/3024)----------
      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:140)
      at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1462)
      at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1370)
      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 ReverseNameLookup.doClientSide(ReverseNameLookup.java:133)
      at ReverseNameLookup.startClient(ReverseNameLookup.java:260)
      at ReverseNameLookup.<init>(ReverseNameLookup.java:187)
      at ReverseNameLookup.main(ReverseNameLookup.java:173)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      Suppressed: java.net.SocketException: Broken pipe
      at java.base/sun.nio.ch.NioSocketImpl.implWrite(NioSocketImpl.java:420)
      at java.base/sun.nio.ch.NioSocketImpl.write(NioSocketImpl.java:440)
      at java.base/sun.nio.ch.NioSocketImpl$2.write(NioSocketImpl.java:826)
      at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:1052)
      at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:82)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:355)
      ... 19 more
      Caused by: java.net.SocketException: Connection reset
      at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
      at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
      at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
      at java.base/java.net.Socket$SocketInputStream.read(Socket.java:982)
      at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:457)
      at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:165)
      at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:109)
      ... 16 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:(37/4179)*----------

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: