Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-16277

'SSLEngine closed already' exception on failed outbound connection

    XMLWordPrintableJSON

Details

    • Degradation - Other Exception
    • Low
    • Normal
    • User Report
    • All
    • None
    • Hide

      Run existing tests

      Show
      Run existing tests

    Description

      Occasionally Netty will invoke OutboundConnectionInitiator#exceptionCaught() handler to process an exception of the following kind:

      io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer
      

      When we invoke ctx.close() later in that method, the listener, set up in channelActive(), might be
      failed with an SSLException("SSLEngine closed already”) by Netty, and exceptionCaught() will be invoked
      once again, this time to handle the SSLException triggered by ctx.close().

      The exception at this stage is benign, and we shouldn't be double-logging the failure to connect.

      Attachments

        Activity

          People

            aleksey Aleksey Yeschenko
            aleksey Aleksey Yeschenko
            Aleksey Yeschenko
            Aleksey Yeschenko, Alex Petrov, Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: