decred / gominer

Go (golang) based GPU miner for Decred.
GNU General Public License v3.0
160 stars 80 forks source link

Network problem wsarecv #162

Open gaspo opened 7 years ago

gaspo commented 7 years ago

If there is problem with network, gominer wont recover. It will try to reconnect infinite times, but always get this message (edit: copied extended message from log)

[ERR] POOL: read tcp 192.168.10.169:26607->90.114.30.231:4252: wsarecv: An existing connection was forcibly closed by the remote host.

If I restart it, everything is fine again.

jolan commented 7 years ago

I opened #123 when I noticed strangeness on Linux. This is probably somewhat of a duplicate but I will keep this open too as a reminder to try to reproduce on Windows in case there is any behavior difference between the two.

gaspo commented 7 years ago

123 is about stop reconnecting. this one keeps trying to reconnect and doesnt quit the app even after half hour.

piperswe commented 6 years ago

This/#123 happen when my internet drops out for a couple seconds then returns. Windows 10.

toninikkanen commented 6 years ago

I also have this issue on Windows 10, occurs every few days so I have to babysit my computer to make sure gominer is still running..

EviLFazZ commented 6 years ago

Exact same issue here, whether I use a VPN or not, it still loop fails at reconnecting:

[ERR] POOL: read tcp 172.21.92.28:50670->204.27.59.170:3343: wsarecv: An existing connection was forcibly closed by the remote host

If I do not restart it manually, it still continues to eat all resources/power/etc, but without actually mining 😴

toninikkanen commented 6 years ago

This is now occurring so frequently I have to check whether gominer is still running every day! I guess I should figure out some kind of script that detects and automatically restarts the miner when this happens...