[ 
https://issues.apache.org/jira/browse/IGNITE-11172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Voronkin updated IGNITE-11172:
------------------------------------
    Summary: While handling duplicated connections we got exception on writing 
message to stale connection.  (was: On receiving duplicated connections we got 
exception on writing message on stale connections.)

> While handling duplicated connections we got exception on writing message to 
> stale connection.
> ----------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11172
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11172
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Pavel Voronkin
>            Priority: Major
>
> [2019-01-31 16:10:19,072][INFO 
> ][grid-nio-worker-tcp-comm-5-#45][TcpCommunicationSpi] Received incoming 
> connection from remote node while connecting to this node, rejecting 
> [locNode=e0668107-3c19-41ba-b9f5-9f073711d3ce, locNodeOrder=1, 
> rmtNode=848095e3-29bf-4d67-a5d7-117f44001b70, rmtNodeOrder=2]
> [2019-01-31 
> 16:10:20,310][ERROR][grid-nio-worker-tcp-comm-6-#46][TcpCommunicationSpi] 
> Failed to process selector key [ses=GridSelectorNioSessionImpl 
> [worker=GridWorker [name=grid-nio-worker-tcp-comm-6, igniteInstanceName=null, 
> finished=false, hashCode=848731852, interrupted=false, 
> runner=grid-nio-worker-tcp-comm-6-#46]AbstractNioClientWorker [idx=6, 
> bytesRcvd=28540977, bytesSent=0, bytesRcvd0=30504, bytesSent0=0, select=true, 
> super=]DirectNioClientWorker [super=], 
> writeBuf=java.nio.DirectByteBuffer[pos=0 lim=32511 cap=32768], 
> readBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], 
> inRecovery=GridNioRecoveryDescriptor [acked=484549, resendCnt=0, 
> rcvCnt=443208, sentCnt=532641, reserved=true, lastAck=443200, nodeLeft=false, 
> node=TcpDiscoveryNode [id=848095e3-29bf-4d67-a5d7-117f44001b70, 
> addrs=ArrayList [172.25.1.12], sockAddrs=HashSet 
> [lab12.gridgain.local/172.25.1.12:47500], discPort=47500, order=2, 
> intOrder=2, lastExchangeTime=1548940115834, loc=false, 
> ver=2.5.5#20190131-sha1:38e914f7, isClient=false], connected=false, 
> connectCnt=16, queueLimit=4096, reserveCnt=17, pairedConnections=false], 
> outRecovery=GridNioRecoveryDescriptor [acked=484549, resendCnt=0, 
> rcvCnt=443208, sentCnt=532641, reserved=true, lastAck=443200, nodeLeft=false, 
> node=TcpDiscoveryNode [id=848095e3-29bf-4d67-a5d7-117f44001b70, 
> addrs=ArrayList [172.25.1.12], sockAddrs=HashSet 
> [lab12.gridgain.local/172.25.1.12:47500], discPort=47500, order=2, 
> intOrder=2, lastExchangeTime=1548940115834, loc=false, 
> ver=2.5.5#20190131-sha1:38e914f7, isClient=false], connected=false, 
> connectCnt=16, queueLimit=4096, reserveCnt=17, pairedConnections=false], 
> super=GridNioSessionImpl [locAddr=/172.25.1.11:58372, 
> rmtAddr=lab12.gridgain.local/172.25.1.12:47100, createTime=1548940219095, 
> closeTime=0, bytesSent=5750672, bytesRcvd=23544, bytesSent0=5750672, 
> bytesRcvd0=23544, sndSchedTime=1548940219095, lastSndTime=1548940219306, 
> lastRcvTime=1548940219115, readsPaused=false, 
> filterChain=FilterChain[filters=[, GridConnectionBytesVerifyFilter, SSL 
> filter], accepted=false, markedForClose=true]]]
> javax.net.ssl.SSLException: Failed to encrypt data (SSL engine error) 
> [status=CLOSED, handshakeStatus=NEED_UNWRAP, ses=GridSelectorNioSessionImpl 
> [worker=GridWorker [name=grid-nio-worker-tcp-comm-6, igniteInstanceName=null, 
> finished=false, hashCode=848731852, interrupted=false, 
> runner=grid-nio-worker-tcp-comm-6-#46]AbstractNioClientWorker [idx=6, 
> bytesRcvd=28540977, bytesSent=0, bytesRcvd0=30504, bytesSent0=0, select=true, 
> super=]DirectNioClientWorker [super=], 
> writeBuf=java.nio.DirectByteBuffer[pos=0 lim=32511 cap=32768], 
> readBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], 
> inRecovery=GridNioRecoveryDescriptor [acked=484549, resendCnt=0, 
> rcvCnt=443208, sentCnt=532641, reserved=true, lastAck=443200, nodeLeft=false, 
> node=TcpDiscoveryNode [id=848095e3-29bf-4d67-a5d7-117f44001b70, 
> addrs=ArrayList [172.25.1.12], sockAddrs=HashSet 
> [lab12.gridgain.local/172.25.1.12:47500], discPort=47500, order=2, 
> intOrder=2, lastExchangeTime=1548940115834, loc=false, 
> ver=2.5.5#20190131-sha1:38e914f7, isClient=false], connected=false, 
> connectCnt=16, queueLimit=4096, reserveCnt=17, pairedConnections=false], 
> outRecovery=GridNioRecoveryDescriptor [acked=484549, resendCnt=0, 
> rcvCnt=443208, sentCnt=532641, reserved=true, lastAck=443200, nodeLeft=false, 
> node=TcpDiscoveryNode [id=848095e3-29bf-4d67-a5d7-117f44001b70, 
> addrs=ArrayList [172.25.1.12], sockAddrs=HashSet 
> [lab12.gridgain.local/172.25.1.12:47500], discPort=47500, order=2, 
> intOrder=2, lastExchangeTime=1548940115834, loc=false, 
> ver=2.5.5#20190131-sha1:38e914f7, isClient=false], connected=false, 
> connectCnt=16, queueLimit=4096, reserveCnt=17, pairedConnections=false], 
> super=GridNioSessionImpl [locAddr=/172.25.1.11:58372, 
> rmtAddr=lab12.gridgain.local/172.25.1.12:47100, createTime=1548940219095, 
> closeTime=0, bytesSent=5750672, bytesRcvd=23544, bytesSent0=5750672, 
> bytesRcvd0=23544, sndSchedTime=1548940219095, lastSndTime=1548940219306, 
> lastRcvTime=1548940219115, readsPaused=false, 
> filterChain=FilterChain[filters=[, GridConnectionBytesVerifyFilter, SSL 
> filter], accepted=false, markedForClose=true]]]
>  at 
> org.apache.ignite.internal.util.nio.ssl.GridNioSslHandler.encrypt(GridNioSslHandler.java:380)
>  at 
> org.apache.ignite.internal.util.nio.ssl.GridNioSslFilter.encrypt(GridNioSslFilter.java:270)
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$DirectNioClientWorker.processWriteSsl(GridNioServer.java:1465)
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$DirectNioClientWorker.processWrite(GridNioServer.java:1326)
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2374)
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2138)
>  at 
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1792)
>  at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>  at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to