eth-netstats
eth-netstats copied to clipboard
2018-04-27 02:32:45.844 [API] WS_SECRET NOT SET!!!
When I start the project, it shows this and seems stopped. And I got a connection error when access localhost:3000. What is the problem? Or how to find the error?
You need to run WP_SECRET=[your secret] npm start
Sent from my iPhone
On Apr 26, 2018, at 7:36 PM, blockcloud [email protected] wrote:
When I start the project, it shows this and seems stopped. And I got a connection error when access localhost:3000. What is the problem? Or how to find the error?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
giving error
From where I can generate WS secret?
read the error, has nothing to do with your WS_SECRET smh
error on console
How can I resolve this ?
@madhuri03 Add your geth script "--ethstats Node1:Hello@localhost:3000". Node1: node name Hello: SECERT localhost:3000: ethstats address
can just start with this line:
env WS_SECRET=111111 node app.js
Another way is to properly set the secret, by adding ws-secret.json
in the eth-netstats directory, with
{ "ws_secret": "my_lil_secret" }
So how is this fixed on Windows?
@Keref Has it, but should be ws_secret.json