cubedro / eth-netstats

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

WS_SECRET NOT SET #368

Open hatemmhb opened 5 months ago

hatemmhb commented 5 months ago

I have been set the configuration in app.json as below: [ { "name" : "geth3", "script" : "app.js", "log_date_format" : "YYYY-MM-DD HH:mm Z", "merge_logs" : false, "watch" : false, "max_restarts" : 10, "exec_interpreter" : "node", "exec_mode" : "fork_mode", "env": { "NODE_ENV" : "production", "RPC_HOST" : "localhost", "RPC_PORT" : "8551", "LISTENING_PORT" : "30301", "INSTANCE_NAME" : "", "CONTACT_DETAILS" : "", "WS_SERVER" : "https://localhost:8545", "WS_SECRET" : "255", "VERBOSITY" : 2 } } ] Then run frontend using the command npm start but I always have this error "WS_SECRET NOT SET!!!" How do i set the WS_SECRET and where?