Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Stats server unreachable #472

Open
ngtuna opened this issue Mar 20, 2019 · 4 comments
Open

Stats server unreachable #472

ngtuna opened this issue Mar 20, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@ngtuna
Copy link

ngtuna commented Mar 20, 2019

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

@thanhson1085
Copy link

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

@ngtuna ngtuna added the enhancement New feature or request label Apr 4, 2019
@KumanoTanaka
Copy link

same as testnet

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

@thanhson1085
Copy link

We should use IP

@KumanoTanaka
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants