cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12903) internode_encryption + bootstrapping a node fails due to calling an unsupported method on an SSL Socket
Date Tue, 15 Nov 2016 17:42:59 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-12903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667762#comment-15667762
] 

Paulo Motta commented on CASSANDRA-12903:
-----------------------------------------

Good reminder, that was actually the case. I aborted the previous build, rebased and resubmitted.
Thanks!

> internode_encryption + bootstrapping a node fails due to calling an unsupported method
on an SSL Socket
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12903
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12903
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Streaming and Messaging
>            Reporter: Eduard Tudenhoefner
>            Assignee: Paulo Motta
>            Priority: Blocker
>             Fix For: 3.10
>
>
> The problem is that you can't call *shutdownInput() / shutdownOutput()* on an *SSLSocket*
because it doesn't comply with the TLS protocol
> This got introduced by https://issues.apache.org/jira/browse/CASSANDRA-11841
> {code}
> INFO  [RequestResponseStage-1] 2016-11-11 11:27:06,352  Gossiper.java:1019 - InetAddress
/10.200.182.127 is now UP
> INFO  [STREAM-INIT-/10.200.182.127:33555] 2016-11-11 11:27:42,799  StreamResultFuture.java:116
- [Stream #dbd51f70-a801-11e6-8ca0-ab33b3e846c9 ID#0] Creating new streaming plan for Bootstrap
> ERROR [STREAM-INIT-/10.200.182.127:33555] 2016-11-11 11:27:42,845  IncomingStreamingConnection.java:80
- Error while reading from socket from /10.200.182.127:33555.
> java.lang.UnsupportedOperationException: The method shutdownInput() is not supported
in SSLSocket
>         at sun.security.ssl.BaseSSLSocketImpl.shutdownInput(BaseSSLSocketImpl.java:215)
~[na:1.8.0_40]
>         at org.apache.cassandra.streaming.ConnectionHandler.initiateOnReceivingSide(ConnectionHandler.java:109)
~[cassandra-all-3.10.1433.jar:3.10.1433]
>         at org.apache.cassandra.streaming.StreamResultFuture.attachConnection(StreamResultFuture.java:138)
~[cassandra-all-3.10.1433.jar:3.10.1433]
>         at org.apache.cassandra.streaming.StreamResultFuture.initReceivingSide(StreamResultFuture.java:122)
~[cassandra-all-3.10.1433.jar:3.10.1433]
>         at org.apache.cassandra.net.IncomingStreamingConnection.run(IncomingStreamingConnection.java:76)
~[cassandra-all-3.10.1433.jar:3.10.1433]
> ERROR [STREAM-OUT-/10.200.182.127:33555] 2016-11-11 11:27:42,857  StreamSession.java:593
- [Stream #dbd51f70-a801-11e6-8ca0-ab33b3e846c9] Streaming error occurred on session with
peer 10.200.182.127
> java.net.SocketException: Socket is closed
>         at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1520) ~[na:1.8.0_40]
>         at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1541) ~[na:1.8.0_40]
>         at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:71) ~[na:1.8.0_40]
>         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.8.0_40]
>         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.8.0_40]
>         at org.apache.cassandra.io.util.WrappedDataOutputStreamPlus.flush(WrappedDataOutputStreamPlus.java:66)
~[cassandra-all-3.10.1433.jar:3.10.1433]
>         at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.sendMessage(ConnectionHandler.java:418)
[cassandra-all-3.10.1433.jar:3.10.1433]
>         at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.run(ConnectionHandler.java:389)
[cassandra-all-3.10.1433.jar:3.10.1433]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
> INFO  [STREAM-OUT-/10.200.182.127:33555] 2016-11-11 11:27:42,858  StreamResultFuture.java:187
- [Stream #dbd51f70-a801-11e6-8ca0-ab33b3e846c9] Session with /10.200.182.127 is complete
> WARN  [STREAM-OUT-/10.200.182.127:33555] 2016-11-11 11:27:42,863  StreamResultFuture.java:214
- [Stream #dbd51f70-a801-11e6-8ca0-ab33b3e846c9] Stream failed
> ERROR [STREAM-OUT-/10.200.182.127:33555] 2016-11-11 11:27:42,864  StreamSession.java:593
- [Stream #dbd51f70-a801-11e6-8ca0-ab33b3e846c9] Streaming error occurred on session with
peer 10.200.182.127
> java.net.SocketException: Socket is closed
>         at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1520) ~[na:1.8.0_40]
>         at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1541) ~[na:1.8.0_40]
>         at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:71) ~[na:1.8.0_40]
>         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.8.0_40]
>         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.8.0_40]
>         at org.apache.cassandra.io.util.WrappedDataOutputStreamPlus.flush(WrappedDataOutputStreamPlus.java:66)
~[cassandra-all-3.10.1433.jar:3.10.1433]
>         at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.sendMessage(ConnectionHandler.java:418)
[cassandra-all-3.10.1433.jar:3.10.1433]
>         at org.apache.cassandra.streaming.ConnectionHandler$OutgoingMessageHandler.run(ConnectionHandler.java:397)
[cassandra-all-3.10.1433.jar:3.10.1433]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40]
> {code}



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

Mime
View raw message