diodechain / diode_client

Diode client written in GO that runs the Blockquick™ algorithm and a socks server to transmit data through diode ztna network.
https://diode.io/download
Other
66 stars 23 forks source link

[v0.8.0] Client gets stuck on publish when current blockchain node restarts #77

Open dominicletz opened 3 years ago

dominicletz commented 3 years ago

Happens when restarting the node that the client is connected to

ERROR io: read/write on closed pipe server=eu2.prenet.diode.io:41046
ERROR unexpected EOF server=eu2.prenet.diode.io:41046
ERROR SSL errors: SSL routines:SSL_shutdown:shutdown while in init server=eu2.prenet.diode.io:41046
ERROR unexpected EOF server=eu2.prenet.diode.io:41046
ERROR io: read/write on closed pipe server=eu2.prenet.diode.io:41046
ERROR io: read/write on closed pipe server=eu2.prenet.diode.io:41046
ERROR SSL errors: SSL routines:SSL_shutdown:shutdown while in init server=eu2.prenet.diode.io:41046
ERROR SSL errors: SSL routines:SSL_shutdown:shutdown while in init server=eu2.prenet.diode.io:41046
ERROR SSL errors: SSL routines:SSL_shutdown:shutdown while in init server=eu2.prenet.diode.io:41046
ERROR io: read/write on closed pipe server=eu2.prenet.diode.io:41046
ERROR unexpected EOF server=eu2.prenet.diode.io:41046
ERROR unexpected EOF server=eu2.prenet.diode.io:41046
ERROR io: read/write on closed pipe server=eu2.prenet.diode.io:41046
ERROR unexpected EOF server=eu2.prenet.diode.io:41046
ERROR io: read/write on closed pipe server=eu2.prenet.diode.io:41046
ERROR SSL errors: SSL routines:SSL_shutdown:shutdown while in init server=eu2.prenet.diode.io:41046
ERROR unexpected EOF server=eu2.prenet.diode.io:41046
ERROR io: read/write on closed pipe server=eu2.prenet.diode.io:41046
ERROR io: read/write on closed pipe server=eu2.prenet.diode.io:41046

It doesn't recover

sc0Vu commented 3 years ago

Those logs were from end-to-end network io. Tried with testnet, the log output should looks like:

ERROR Failed to reconnect: dial tcp 0.0.0.0:41046: connect: connection refused, reconnecting in 5s server=0.0.0.0:41046 
INFO Retry to connect to 0.0.0.0:41046 (2/3), wait 1s server=0.0.0.0:41046 
ERROR Failed to reconnect: dial tcp 0.0.0.0:41046: connect: connection refused, reconnecting in 6.823733343s server=0.0.0.0:41046 
INFO Retry to connect to 0.0.0.0:41046 (3/3), wait 1s server=0.0.0.0:41046 
ERROR Failed to reconnect: dial tcp 0.0.0.0:41046: connect: connection refused, reconnecting in 10s server=0.0.0.0:41046