OK. I’ll try it when the problem appears next time.
Thanks. 发件人: Evgenii Zhuravlev [mailto:e.zhuravlev...@gmail.com] 发送时间: 2018年2月1日 16:13 收件人: user@ignite.apache.org 主题: Re: 答复: Re: Cannot connect the ignite server after running one or two days " Failed to deserialize object " is just a consequence of the cause exception, as you see from stacktrace - Caused by: java.net.SocketException: Socket closed. Could you run netstat -apnt on server when you face this problem and share results here? 2018-02-01 11:04 GMT+03:00 xiang jie <xia...@cosconetwork.com.cn <mailto:xia...@cosconetwork.com.cn> >: But from server ping client is OK. And from log file, It seems communication is OK before " Failed to deserialize object " error. It really confuses me. [2018-01-30 07:40:41,646][DEBUG][exchange-worker-#42%igniteCosco%][GridDhtPartitionDeman der] Adding partition assignments: GridDhtPreloaderAssignments [exchangeId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=2364, minorTopVer=0], discoEvt=DiscoveryEvent [evtNode=TcpDiscoveryNode [id=b07edbd2-3eaa-4b3b-acfc-4159f2bc047d, addrs=[127.0.0.1, 172.41.6.81], sockAddrs=[/172.41.6.81:0 <http://172.41.6.81:0> , /127.0.0.1:0 <http://127.0.0.1:0> ], discPort=0, order=2364, intOrder=1185, lastExchangeTime=1517269240080, loc=false, ver=2.3.0#20171028-sha1:8add7fd5, isClient=true], topVer=2364, nodeId8=f290fb24, msg=Node joined: TcpDiscoveryNode [id=b07edbd2-3eaa-4b3b-acfc-4159f2bc047d, addrs=[127.0.0.1, 172.41.6.81], sockAddrs=[/172.41.6.81:0 <http://172.41.6.81:0> , /127.0.0.1:0 <http://127.0.0.1:0> ], discPort=0, order=2364, intOrder=1185, lastExchangeTime=1517269240080, loc=false, ver=2.3.0#20171028-sha1:8add7fd5, isClient=true], type=NODE_JOINED, tstamp=1517269240130], nodeId=b07edbd2, evt=NODE_JOINED], topVer=AffinityTopologyVersion [topVer=2364, minorTopVer=0], cancelled=false, exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=2364, minorTopVer=0], discoEvt=DiscoveryEvent [evtNode=TcpDiscoveryNode [id=b07edbd2-3eaa-4b3b-acfc-4159f2bc047d, addrs=[127.0.0.1, 172.41.6.81], sockAddrs=[/172.41.6.81:0 <http://172.41.6.81:0> , /127.0.0.1:0 <http://127.0.0.1:0> ], discPort=0, order=2364, intOrder=1185, lastExchangeTime=1517269240080, loc=false, ver=2.3.0#20171028-sha1:8add7fd5, isClient=true], topVer=2364, nodeId8=f290fb24, msg=Node joined: TcpDiscoveryNode [id=b07edbd2-3eaa-4b3b-acfc-4159f2bc047d, addrs=[127.0.0.1, 172.41.6.81], sockAddrs=[/172.41.6.81:0 <http://172.41.6.81:0> , /127.0.0.1:0 <http://127.0.0.1:0> ], discPort=0, order=2364, intOrder=1185, lastExchangeTime=1517269240080, loc=false, ver=2.3.0#20171028-sha1:8add7fd5, isClient=true], type=NODE_JOINED, tstamp=1517269240130], nodeId=b07edbd2, evt=NODE_JOINED], super={}] ...... ...... [sock=Socket[addr=/10.10.11.69 <http://10.10.11.69> ,port=49474,localport=47500], locNodeId=f290fb24-94ad-4aba-8a6c-78119ad5dd74, rmtNodeId=b20f0495-ea0f-43be-b92f-f55803767a6b] class org.apache.ignite.IgniteCheckedException: Failed to deserialize object with given class loader: sun.misc.Launcher$AppClassLoader@764c12b6 <mailto:sun.misc.Launcher$AppClassLoader@764c12b6> at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java :129) at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(Abstr actNodeNameAwareMarshaller.java:94) at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:9740) at org.apache.ignite.spi.discovery.tcp.ServerImpl$SocketReader.body(ServerImpl. java:5946) at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62) Caused by: java.net.SocketException: Socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at org.apache.ignite.marshaller.jdk.JdkMarshallerInputStreamWrapper. read(JdkMarshallerInputStreamWrapper.java:53) at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream. java:2653) at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2 669) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.j ava:3146) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:858) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:354) at org.apache.ignite.marshaller.jdk.JdkMarshallerObjectInputStream.<init>(JdkMa rshallerObjectInputStream.java:39) at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java :119) ... 4 more -----邮件原件----- 发件人: ezhuravlev [mailto:e.zhuravlev...@gmail.com <mailto:e.zhuravlev...@gmail.com> ] 发送时间: 2018年1月31日 21:50 收件人: user@ignite.apache.org <mailto:user@ignite.apache.org> 主题: Re: Re: Cannot connect the ignite server after running one or two days >There are several clients connected by VPN, is it possible to the client's restart regularly causing ignite socket communication to a certain degree of obstruction and becoming more and more serious as time goes by? Does this mean that it's impossible to connect from server to client nodes directly? If so, it can definitely be the cause of this behavior. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/