cazala / coin-hive-stratum

use CoinHive's JavaScript miner on any stratum pool
http://npmjs.com/package/coin-hive-stratum
416 stars 465 forks source link

Error invalid job id #149

Open mazetuski opened 6 years ago

mazetuski commented 6 years ago

when I have been mining for a while, this error appears and the miner disconnects:

imagen

Lancelight commented 6 years ago

I just tested the connection to the pool with telnet from the VPS on port 3333 and it opens just fine, so I guess it's not that.

Lancelight commented 6 years ago

Hmm, well for me it was because I was not using the https://coinhive.com/lib/coinhive.min.js script and thats not going to fly because my AV will block that, which I want it to continue to do. I only want to mine for myself, not others. Once I changed the script location, it magically started working. I suspect it's because when I changed "job_id" in the original script to something else, thats what broke it. But that is needed because Ikarus AV looks for "job_id". I guess its back to the drawing board on making it undetectable to AV.

Once I placed the original coinhive js in my test html, things worked just fine.