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

Confusing log output: SSLSocket duplex close failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 17
    • 8u261, 17
    • security-libs

      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.

            ewhelan Evan Whelan (Inactive)
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: