stratum-mining-proxy icon indicating copy to clipboard operation
stratum-mining-proxy copied to clipboard

Sends auth before subscribe, ignores error, 100% work rejected

Open DrHaribo opened this issue 12 years ago • 2 comments

After losing the connection to the server, stratum proxy reconnects, sends auth which fails because it is not subscribed, ignores the error, sends subscribe... after this it pretends it is authorized and keeps sending in work. 100% rejected.

DrHaribo avatar Sep 16 '13 20:09 DrHaribo

"Sends auth which fails because it is not subscribed" - - this seems to be a pool related bug. Authentication should work also for unsubscribed socket.

slush0 avatar Jan 28 '14 02:01 slush0

I thought you had to subscribe before authenticating. Can't see this from the spec. For my pool I have made authenticating before subscribing work.

You should probably make it fail instead of keep mining when authentication fails after the reconnect though.

DrHaribo avatar Jan 28 '14 07:01 DrHaribo