Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.85k stars 2.03k forks source link

[Bug] Chia syncing freezes at 5,352,275 #18082

Closed LarsThePenguin closed 1 week ago

LarsThePenguin commented 1 month ago

What happened?

After downloading the (Blockchain Database BitTorrent Checkpoints)[https://www.chia.net/2023/03/19/introducing-chia-blockchain-database-bittorent-checkpoints/] and moving it to where my config.yaml says the database file is (an external SanDisk SSD), I left it on overnight, and when I woke up, It has been stuck at 5,352,275. Note: All of my peers are ahead of me, and I'm using the node.chia.net:8444 introducer node.

Version

2.1.3

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

https://drive.google.com/file/d/1eUL_dtLW9Ly3IWf-x7o0PSZD-sVh58Up/view?usp=sharing
(Google drive link due to log so large, it broke Github)
LarsThePenguin commented 1 month ago

After re-downloading the database from Chia/BitTorrent, and checking the SHA256 checksum this time, It still gives the same result after letting it sync, It only got to 5,359,212

LarsThePenguin commented 1 month ago

I tried again, got to 5,400,000 (Only 4000 behind ): ), then it returned the exact same error

wjblanke commented 1 month ago

I'd recommend you update to Chia 2.3 just so everyone is on the same page. We think your issue is network related, there are certainly loads of log messages with websocket failures. Are you running a software firewall or network appliance that could be filtering things? Can you turn these off temporarily to test? Have you ever had syncing successful on this machine? Another test would be to delete your config.yaml file (make a backup) and have chia recreate it. There could be some misconfigured setting there. Is happening only to Windows? ie can you run chia on Linux or Mac or a VM (WSL?)

LarsThePenguin commented 1 month ago

I have upgraded to Chia 2.3, I have no firewalls (None on my desktop, and none on my router), I believe I have synced before (before changing config.yaml), I am going to replace config.yaml but still change the database location (I don't have enough storage on my main drive).

LarsThePenguin commented 1 month ago

Didn't work

wjblanke commented 2 weeks ago

Can u set your log to INFO so we can see what is happening in the logs. WARNING doesn't show much.

You could also try running without the GUI https://docs.chia.net/installation/?_highlight=install#cli

chia start node

emlowe commented 1 week ago

Closing - you may comment and reopen with additional details as needed