cubedro / eth-netstats

Ethereum Network Stats
https://ethstats.net/
GNU General Public License v3.0
854 stars 539 forks source link

unable to use eth-netstats along with --ethstats in geth #342

Open MANOJKUMARCH opened 5 years ago

MANOJKUMARCH commented 5 years ago

Hi, have anyone used the --ethstats for private net? I am trying to use it but I see below in the geth logs Stats server unreachable err="websocket.Dial ws://host:port/api: unexpected EOF"

I have started the app eth-netstats app with below command PORT= WS_SECRET= npm start I see the app does not receive any data

Can someone help me on this

AyushyaChitransh commented 5 years ago

It does not receive data by connecting itself to the node directly. Instead, you need to run another service to supply data of geth server to eth-netstats site. The other servie which I am talking about is https://github.com/cubedro/eth-net-intelligence-api

In case you need more, theres a blog on setting this up:

https://ayushyachitransh.wordpress.com/2018/04/21/setting-up-monitoring-for-ethereum-network/

AyushyaChitransh commented 5 years ago

Linking a similar issue here #306 It might be helpful.