cazala / coin-hive

CoinHive cryptocurrency miner for node.js
https://www.npmjs.com/package/coin-hive
MIT License
1.98k stars 397 forks source link

The statistics don't appear on the pool #110

Closed BiosNod closed 6 years ago

BiosNod commented 6 years ago

Hi, I set up a proxy, it works, but the statistics on my xmr wallet don't appear on the pool, I checked several times whether or not I made a mistake with my wallet and configuration, but I didn't find any errors:

JavaScript: var p = { threads: 2, autoThreads: false, throttle: 0.75 };

CoinHive.CONFIG.WEBSOCKET_SHARDS = [["wss://site.com:8892"]]; var key = '4Hm3YrYNgczRAP7jbGCZ7vA8XwbBR8DWMU7Bm9FKZqjxQXPPcwMP1kDbK3mtBSdt2c6TmLCPiMSXa39uBiEBwkg4FW8k3jqHyVpREMR82s.site'; // Also I tried without ".site"

var m = new window.CoinHive.Anonymous(key, p); if (!m.isMobile()) m.start();

Ubuntu 16.04 sh: $ coin-hive-stratum 8892 --host="xmr-eu1.nanopool.org" --port=14444 --cert=/etc/letsencrypt/live/site.com/fullchain.pem --key=/etc/letsencrypt/live/site.com/privkey.pem --address="4Hm3YrYNgczRAP7jbGCZ7vA8XwbBR8DWMU7Bm9FKZqjxQXPPcwMP1kDbK3mtBSdt2c6TmLCPiMSXa39uBiEBwkg4FW8k3jqHyVpREMR82s"

log coin-hive-stratum at startup: coin-hive-stratum v2.6.11 listening on port 8892, using a secure connection miners per connection: 100 host: xmr-eu1.nanopool.org port: 14444 pass: x miner connected (4c2fb574-815c-4365-8a3a-33605ffc4a13) miner started (4c2fb574-815c-4365-8a3a-33605ffc4a13) miner authenticated (4c2fb574-815c-4365-8a3a-33605ffc4a13): 1 job arrived (4c2fb574-815c-4365-8a3a-33605ffc4a13): 2027

In the JavaScript console and in the coinhive-stratum script there are no errors, but the statistics at https://xmr.nanopool.org/search?address=4Hm3YrYNgczRAP7jbGCZ7vA8XwbBR8DWMU7Bm9FKZqjxQXPPcwMP1kDbK3mtBSdt2c6TmLCPiMSXa39uBiEBwkg4FW8k3jqHyVpREMR82s doesn't appear, in the process manager, the browser load is there, so that mining works, but statistics on the pool doesn't appear (for 2 days already), what could be the problem?

BiosNod commented 6 years ago

I moved the issue to the correct repository https://github.com/cazala/coin-hive-stratum/issues/172, sorry