Open JRoosh opened 6 years ago
thank you for this valuable information. it seems that this is an issue when using CoinHive.User
and not CoinHive.Anonymous
I look into this and report back.
could you shares your /stats
? i'm worried about the amount of miners against the amount of connections that your proxy has, there should be 1 connection every 100 miners but it has been reported that this is not working sometimes.
@cpufanboy please try v2.6.6
Thanks so much for the help, I will update as soon as I can and let you know how it goes.
Thanks again for the brilliant work!
Well, after upgrading and testing for a bit, it doesn't appear to fixed. It would seem that the behavior is similar:
A user signs up with an invalid user account, the stratum-side sees this in the log:
coin-hive-stratum v2.6.6
listening on port
The difference between the earlier build and this is appears to be that the JS miner no longer gets the on('error') event. The stratum side stops accepting anymore connections still, as before.
Mind you this is under zero load, with a single miner as a test. The JS side is using the CoinHive.Anonymous method, as before.
Anything else I can do to help?
try v2.6.7
please
Progress, for sure. The miners now (properly) receive the "invalid_site_key" error, but the socket is still closing to the pool, requiring a restart of the stratum to begin working for any clients again.
So, I have this problem with a couple pools-- seems to only effect ones that require an actual username (mining pool hub, minergate, etc). The basic situation is this: everything is working fine, with a bunch of clients connected and hashing. Then a new client joins with an invalid account, and everyone dies until the stratum is restarted. The logs show the following:
miner connected (b5016b21-2a3f-44af-99e5-f8e762db105d) miner started (b5016b21-2a3f-44af-99e5-f8e762db105d) pool connection error (b5016b21-2a3f-44af-99e5-f8e762db105d): invalid_site_key proxy error: undefined miner disconnected (b5016b21-2a3f-44af-99e5-f8e762db105d) socket closed (:)
connection closed (:)
Again, this doesn't happen with anonymous type pools (like supportxmr.com).
Am I doing something wrong, or is this a bug?
Thanks!