cazala/coin-hive-stratum

PM2(?) Issue "Upgrade Required"

SiemdeNijs opened this issue · 2 comments

Hello Everyone,

Currently I'm running the script all fine with the command coin-hive-stratum 8892 --host... ,
But now when I wanted to run the script with PM2 and make sure that the script is auto-started at system boot, I've run into a different problem: any page ("/stats /miners /version, etc, etc") only returns the text "Upgrade required".

It seems that NPM, Node, PM2 & Coin-Hive-Stratum are all on the latest versions, so I'm not sure how to continue right now. What should be "upgraded", as stated in the message ? I cannot do anything at this moment, other than stare at the text on the webpage.

NPM tells me there are no outdated packages either.

I could connect to my proxy but it wasn't executing the mining (ie/ 0 H/S on client). Until I did a:
npm install pm2 -g
pm2 update

mm "Upgrade required" is the response when you access the websocket endpoint with the browser. For some reason those /stats, /miners, /version endpoints are being served as if they were the websocket endpoint..