Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2018-04-27 02:32:45.844 [API] WS_SECRET NOT SET!!! #323

Open
blockcloud opened this issue Apr 27, 2018 · 10 comments
Open

2018-04-27 02:32:45.844 [API] WS_SECRET NOT SET!!! #323

blockcloud opened this issue Apr 27, 2018 · 10 comments

Comments

@blockcloud
Copy link

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?

@zscole
Copy link

zscole commented Apr 27, 2018 via email

@madhuri03
Copy link

madhuri03 commented Jun 14, 2018

giving error
screenshot from 2018-06-14 18-14-01

@madhuri03
Copy link

From where I can generate WS secret?

@mikeyb
Copy link

mikeyb commented Jun 14, 2018

read the error, has nothing to do with your WS_SECRET smh

@madhuri03
Copy link

madhuri03 commented Jun 15, 2018

error on console
screenshot from 2018-06-15 18-50-49

How can I resolve this ?

@vingorius
Copy link

@madhuri03
Add your geth script "--ethstats Node1:Hello@localhost:3000".
Node1: node name
Hello: SECERT
localhost:3000: ethstats address

@jjhesk
Copy link

jjhesk commented Oct 14, 2018

can just start with this line:

env WS_SECRET=111111 node app.js

@Keref
Copy link

Keref commented Oct 21, 2018

Another way is to properly set the secret, by adding ws-secret.json in the eth-netstats directory, with
{ "ws_secret": "my_lil_secret" }

@daxdax89
Copy link

So how is this fixed on Windows?

@willtate
Copy link

willtate commented Jan 9, 2019

@Keref Has it, but should be ws_secret.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants