onemorebsmith / kaspa-stratum-bridge

Bridge/Adapter between the stratum-based miners and a kaspad node
MIT License
67 stars 102 forks source link

wsasend: An existing connection was forcibly closed by the remote host. #20

Closed DervilRus closed 2 years ago

DervilRus commented 2 years ago

All rigs on hiveos work fine, if I restart the miner, the message is "disconnected", then the connection restarted and everything is fine. As soon as I close the miner that is on my computer(Windows 11), endless error messages begin to appear.

2022/09/13 11:45:50 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:51 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:51 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:51 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:52 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:52 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:53 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:53 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:53 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:54 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.
2022/09/13 11:45:54 [rig-win] write tcp 192.168.2.21:16112->192.168.2.21:17641: wsasend: An existing connection was forcibly closed by the remote host.

I can even start the miner, everything will connect normally, but this message will be displayed PERMANENTLY, until I restart ks_bridge_win64.

Please advise how this can be corrected. Is the problem on the side of the miner (lolminer) or Bridge? It just infuriates constantly restarting the bridge after a connection failure or miner restart on home comp(windows 11)

onemorebsmith commented 2 years ago

Thanks for the heads-up. I'll take a look tonight

rpringst commented 2 years ago

I wish to report the same issue. Same miner under linux disconnects fine, but under windows, infinite log spam ^

Thanks in advance!

onemorebsmith commented 2 years ago

Let me know if you see the issue again with the new release