You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Podkowinski (JIRA)" <ji...@apache.org> on 2015/12/04 14:24:10 UTC

[jira] [Created] (CASSANDRA-10816) Explicitly handle SSL handshake errors during connect()

Stefan Podkowinski created CASSANDRA-10816:
----------------------------------------------

             Summary: Explicitly handle SSL handshake errors during connect()
                 Key: CASSANDRA-10816
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10816
             Project: Cassandra
          Issue Type: Bug
          Components: Streaming and Messaging
            Reporter: Stefan Podkowinski
            Assignee: Stefan Podkowinski


Diagnosing internode SSL issues can be a problem as any messaging {{IOException}} before this patch is just logged to debug, which is likely not enabled in most cases. Logs will just show nothing in case of any problems with SSL certs. 

Also the implemented retry semantics in {{OutboundTcpConnection}} will not make much sense for SSL handshake errors and will cause unnecessary load for both peers.

The proposed patch will explicitly catch {{SSLHandshakeException}}, log them to error and abort connect().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)