tomochain-v1 icon indicating copy to clipboard operation
tomochain-v1 copied to clipboard

Stats server unreachable

Open ngtuna opened this issue 5 years ago • 4 comments

Stats server unreachable err="websocket.Dial ws://stats.tomochain.com:443/api: dial tcp: lookup stats.tomochain.com: Try again"

ngtuna avatar Mar 20 '19 15:03 ngtuna

maybe we should use IP address instead of dns (stats.tomochain.com) in this case.

thanhson1085 avatar Mar 20 '19 15:03 thanhson1085

same as testnet

WARN [07-02|12:34:49] Stats server unreachable                 err="websocket.Dial ws://stats.testnet.tomochain.com:443/api: bad status"

KumanoTanaka avatar Jul 02 '19 12:07 KumanoTanaka

We should use IP

thanhson1085 avatar Jul 02 '19 14:07 thanhson1085

@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.

KumanoTanaka avatar Sep 25 '19 03:09 KumanoTanaka