sentinel-official / dvpn-node

The official Sentinel dVPN node
Apache License 2.0
108 stars 33 forks source link

Node panicking when RPC timeout #7

Closed dimiandre closed 3 years ago

dimiandre commented 3 years ago

Describe the bug When connection with the tendermint rpc timeout the node is panicking

`I[2020-12-21|03:44:50.419] Updated node status tx_hash=1276CA033D8BCB33B8BFF13E99368B14109E8A51278D83518A97B038CF3F4ABA panic: ABCIQuery: Post "https://rpc.turing.sentinel.co:443": dial tcp: lookup rpc.turing.sentinel.co on 213.186.33.99:53: read udp 172.17.0.4:42557->213.186.33.99:53: i/o timeout

goroutine 209 [running]: github.com/sentinel-official/dvpn-node/node.(Node).Start.func1(0xc0011be048) /go/src/github.com/sentinel-official/dvpn-node/node/node.go:39 +0x58 created by github.com/sentinel-official/dvpn-node/node.(Node).Start /go/src/github.com/sentinel-official/dvpn-node/node/node.go:37 +0x54 `

Expected behavior Maybe retry or restart?

OS: Ubuntu 20.04 dVPN Node running under docker

bsrinivas8687 commented 3 years ago

@dimiandre It looks like the issue is with DNS resolution. Can you please check your DNS servers configuration.

Anyhow, we will fix this panic issues in the next release.

bsrinivas8687 commented 3 years ago

This is fixed with retry mechanism currently!