madMAx43v3r / chia-gigahorse

221 stars 32 forks source link

1.8.0.giga10 Gigahorse Node / Farmer Losing Network Sync #108

Open darkenbula opened 1 year ago

darkenbula commented 1 year ago

I have recently switched from the official client to Gigahose 1.7 and now 1.8. Since then i have been having problems with the node losing network sync. Initially i had UPnP enabled but have disabled it now, port 8444 is forwarded and i can see plenty of traffic through my firewall to this port

Intel(R) Xeon(R) CPU E5-2620 v4 256GB Ram Nvidia 3060ti - plotting Quadro M2000 Windows 10 Pro

When i look back through the logs the only thing i see which might be related it this,.

2023-05-07T01:06:36.051 wallet chia.wallet.wallet_state_manager: ERROR set_sync_mode failed - range: 3623376-3623542, seconds: 0.3210752010345459 Traceback (most recent call last): File "C:\Users\HPZ640\Desktop\CHIA-G~1.\chia\wallet\wallet_state_manager.py", line 524, in set_sync_mode File "C:\Users\HPZ640\Desktop\CHIA-G~1.\chia\wallet\wallet_node.py", line 1120, in long_sync_from_untrusted File "C:\Users\HPZ640\Desktop\CHIA-G~1.\chia\wallet\wallet_node.py", line 751, in long_sync File "C:\Users\HPZ640\Desktop\CHIA-G~1.\chia\wallet\util\wallet_sync_utils.py", line 79, in subscribe_to_phs

madMAx43v3r commented 1 year ago

That error is just for the wallet, not the node...

madMAx43v3r commented 1 year ago

Maybe try a fresh config, and delete db/peers.dat

sebaponce23 commented 1 year ago

I have exactly the same problem, I start the gigahorse farmer and it works 4 or 5 hours later it gets out of sync and doesn't start again, I have to close it and open the chia client to re-synchronize the node and the wallet, once it syncs I close the client and I start the gigahorse farmer again, it starts up fine and synchronizes quickly but it desynchronizes again after a few hours!!!

madMAx43v3r commented 1 year ago

Can you provide logs when it loses the sync?

darkenbula commented 1 year ago

Maybe try a fresh config, and delete db/peers.dat

This seems to have fixed mine. Been going for a little over 48 hours now which is the longest it's been so far. Connected to max number of peers etc