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

Confusing log output: SSLSocket duplex close failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u261, 17
    • Fix Version/s: 17
    • Component/s: security-libs
    • Labels:

      Description

      end users complaining about the messaging of some new logger output seen with the new TLSv1.3 JDK library.

      in particular this example:

      javax.net.ssl|WARNING|03|Finalizer|2020-08-31 09:42:20.203 EDT|null:-1|SSLSocket duplex close failed (
      "throwable" : {
        java.net.SocketException: Socket is not connected
              at java.net.Socket.shutdownOutput(Unknown Source)
              at sun.security.ssl.BaseSSLSocketImpl.shutdownOutput(Unknown Source)
              at sun.security.ssl.SSLSocketImpl.duplexCloseOutput(Unknown Source)
              at sun.security.ssl.SSLSocketImpl.close(Unknown Source)
              at sun.security.ssl.BaseSSLSocketImpl.finalize(Unknown Source)
              at java.lang.System$2.invokeFinalize(Unknown Source)
              at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
              at java.lang.ref.Finalizer.access$100(Unknown Source)
              at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)}

      ====
      we should update the messaging to indicate that such exceptions are for information only and can be ignored.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ewhelan Evan Whelan
              Reporter:
              coffeys Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: