Hello! Can you please provide details on the exact network configuration on both servers?
BTW, if the remoteAddr in your example was an external IP, this might be the source of problem. Try setting localAddress on communicationSpi to local address of server on both clients and server nodes. Regards, -- Ilya Kasnacheev 2018-05-10 16:49 GMT+03:00 JP <jopandy...@gmail.com>: > Hi, > > Now I have two VM in azure cloud. In one vm started Ignite Server and in > another Ignite Clients. Both are configured with same subnet. > > Server and Client are connected. But below error throwing continuously.. > Can > you give some suggestions to solve this issue?. > > 2018-05-10 13:45:45 ERROR TcpCommunicationSpi:495 - Failed to process > selector key [ses=GridSelectorNioSessionImpl [worker=DirectNioClientWorker > [super=AbstractNioClientWorker [idx=2, bytesRcvd=563, bytesSent=210, > bytesRcvd0=0, bytesSent0=0, select=true, super=GridWorker > [name=grid-nio-worker-tcp-comm-2, igniteInstanceName=null, finished=false, > hashCode=124675634, interrupted=false, > runner=grid-nio-worker-tcp-comm-2-#27]]], > writeBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], > readBuf=java.nio.DirectByteBuffer[pos=0 lim=32768 cap=32768], > inRecovery=null, outRecovery=null, super=GridNioSessionImpl > [locAddr=/10.0.0.4:47100, rmtAddr=/***.**.**.**:*****, > createTime=1525959939205, closeTime=0, bytesSent=18, bytesRcvd=0, > bytesSent0=0, bytesRcvd0=0, sndSchedTime=1525959939205, > lastSndTime=1525959939205, lastRcvTime=1525959939205, readsPaused=false, > filterChain=FilterChain[filters=[GridNioCodecFilter > [parser=o.a.i.i.util.nio.GridDirectParser@73284e3b, directMode=true], > GridConnectionBytesVerifyFilter], accepted=true]]] > java.io.IOException: An existing connection was forcibly closed by the > remote host > at sun.nio.ch.SocketDispatcher.read0(Native Method) > at sun.nio.ch.SocketDispatcher.read(Unknown Source) > at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) > at sun.nio.ch.IOUtil.read(Unknown Source) > at sun.nio.ch.SocketChannelImpl.read(Unknown Source) > at > org.apache.ignite.internal.util.nio.GridNioServer$DirectNioClientWorker. > processRead(GridNioServer.java:1233) > at > org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker. > processSelectedKeysOptimized(GridNioServer.java:2272) > at > org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker. > bodyInternal(GridNioServer.java:2048) > at > org.apache.ignite.internal.util.nio.GridNioServer$ > AbstractNioClientWorker.body(GridNioServer.java:1717) > at > org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) > > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >