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

Client died: javax.net.ssl.SSLException: Software caused connection abort: recv failed

    XMLWordPrintable

Details

    Description

      Test: javax/net/ssl/SSLSocket/Tls13PacketSize.java

      From the log:
      ----------System.out:(32/2407)----------
      Server input bytes: 16366
      Client died: javax.net.ssl.SSLException: Software caused connection abort: recv failed
      javax.net.ssl.SSLException: Software caused connection abort: recv failed
      at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:320)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:258)
      at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1556)
      at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:966)
      at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:857)
      at Tls13PacketSize.runClientApplication(Tls13PacketSize.java:91)
      at SSLSocketTemplate.doClientSide(SSLSocketTemplate.java:345)
      at SSLSocketTemplate$2.run(SSLSocketTemplate.java:900)
      Suppressed: java.net.SocketException: Software caused connection abort: socket write error
      at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:108)
      at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:148)
      at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:980)
      at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:82)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:351)
      ... 8 more
      Caused by: java.net.SocketException: Software caused connection abort: recv failed
      at java.base/java.net.SocketInputStream.socketRead0(Native Method)
      at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:113)
      at java.base/java.net.SocketInputStream.read(SocketInputStream.java:166)
      at java.base/java.net.SocketInputStream.read(SocketInputStream.java:138)
      at java.base/java.net.Socket$SocketInputStream.read(Socket.java:910)
      at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
      at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)
      at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1332)
      at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:950)
      ... 4 more
      ----------System.err:(35/2562)----------
      javax.net.ssl.SSLException: Software caused connection abort: recv failed
      at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:320)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:258)
      at java.base/sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1556)
      at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:966)
      at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:857)
      at Tls13PacketSize.runClientApplication(Tls13PacketSize.java:91)
      at SSLSocketTemplate.doClientSide(SSLSocketTemplate.java:345)
      at SSLSocketTemplate$2.run(SSLSocketTemplate.java:900)
      Suppressed: java.net.SocketException: Software caused connection abort: socket write error
      at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
      at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:108)
      at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:148)
      at java.base/java.net.Socket$SocketOutputStream.write(Socket.java:980)
      at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:82)
      at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:351)
      ... 8 more
      Caused by: java.net.SocketException: Software caused connection abort: recv failed
      at java.base/java.net.SocketInputStream.socketRead0(Native Method)
      at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:113)
      at java.base/java.net.SocketInputStream.read(SocketInputStream.java:166)
      at java.base/java.net.SocketInputStream.read(SocketInputStream.java:138)
      at java.base/java.net.Socket$SocketInputStream.read(Socket.java:910)
      at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448)
      at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)
      at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1332)
      at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:950)
      ... 4 more

      JavaTest Message: Test threw exception: javax.net.ssl.SSLException: Software caused connection abort: recv failed
      JavaTest Message: shutting down test

      Attachments

        Issue Links

          Activity

            People

              xuelei Xuelei Fan
              jwilhelm Jesper Wilhelmsson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: