diodechain / diode_client

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

[v0.8.0] Diode client disconnects without error #71

Closed hansr closed 3 years ago

hansr commented 3 years ago

From time to time, my Diode client (CLI) will disconnect without error and will be unreachable by the network.

When it disconnects, external accesses are returned a 404 page. The disconnect continues until the Diode CLI is restarted on the client - as soon as it is restarted, the content can be accessed again.

Because the client goes offline and continues to be offline until restarted, it indicates the problem is not with the client's network connection and also not with the monitoring tools.

dominicletz commented 3 years ago

Another instance, this time though with an error message, so might a different case:

12/17/2020 18:54:43 INFO Diode Client version : v0.8.0
...
12/18/2020 02:17:50 WARN Call getblockpeak timeout after 10.000215393s, drop the call server=45.79.115.246:41046 
12/18/2020 02:17:50 ERROR Couldn't getblockpeak: remote timeout: 10s server=45.79.115.246:41046 
12/18/2020 02:17:54 WARN Call getblockpeak timeout after 10.000295669s, drop the call server=europe.testnet.diode.io:41046 
12/18/2020 02:17:54 ERROR Couldn't getblockpeak: remote timeout: 10s server=europe.testnet.diode.io:41046 
12/18/2020 02:34:24 INFO 1/5 Stopping socksserver
12/18/2020 02:34:24 INFO 2/5 Stopping proxyserver
12/18/2020 02:34:24 INFO 3/5 Stopping configserver
12/18/2020 02:34:24 INFO 4/5 Cleaning pool
12/18/2020 02:34:24 INFO 5/5 Closing logs
dominicletz commented 3 years ago

Another instance but this time with error:

INFO
INFO HTTP Gateway Enabled : http://0x35480f4de422827d4fd80c47a5cf5f2f4622f2aa.diode.link/
INFO Port      <name>     : <extern>     <mode>    <protocol>     <allowlist>
INFO Port  localhost:8080 :       80      public       any
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 unexpected EOF 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 unexpected EOF 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 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 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
INFO Retry to connect to eu2.prenet.diode.io:41046 (1/3), wait 1s server=eu2.prenet.diode.io:41046
ERROR Failed to reconnect: dial tcp 80.85.84.160:41046: connect: connection refused, reconnecting in 5s server=eu2.prenet.diode.io:41046
ERROR Failed to write to node: connection closed server=eu2.prenet.diode.io:41046
INFO Retry to connect to eu2.prenet.diode.io:41046 (2/3), wait 1s server=eu2.prenet.diode.io:41046
ERROR Failed to reconnect: dial tcp 80.85.84.160:41046: connect: connection refused, reconnecting in 5.650029083s server=eu2.prenet.diode.io:41046
INFO Retry to connect to eu2.prenet.diode.io:41046 (3/3), wait 1s server=eu2.prenet.diode.io:41046
ERROR Failed to reconnect: dial tcp 80.85.84.160:41046: connect: connection refused, reconnecting in 10s server=eu2.prenet.diode.io:41046
INFO 1/5 Stopping socksserver
INFO 2/5 Stopping proxyserver
INFO 3/5 Stopping configserver
INFO 4/5 Cleaning pool
INFO 5/5 Closing logs
dominicletz commented 3 years ago

Fixed in v0.8.8