tomochain-v1
tomochain-v1 copied to clipboard
Stats server unreachable
Stats server unreachable err="websocket.Dial ws://stats.tomochain.com:443/api: dial tcp: lookup stats.tomochain.com: Try again"
maybe we should use IP address instead of dns (stats.tomochain.com) in this case.
same as testnet
WARN [07-02|12:34:49] Stats server unreachable err="websocket.Dial ws://stats.testnet.tomochain.com:443/api: bad status"
We should use IP
@ngtuna @thanhson1085
I found that I could connect to stats server successfully with the following option
we need wss://
protocol before hostname.
--ethstats nodename:anna-coal-flee-carrie-zip-hhhh-tarry-laue-felon-rhine@wss://stats.testnet.tomochain.com:443
--ethstats nodename:getty-site-pablo-auger-room-sos-blair-shin-whiz-delhi@wss://stats.tomochain.com:443
the problem seems that the tomo is using ws
protocol if we don't specify wss
protocol in the ethstats
option.
hope this will help you.