The status shows 2/4 in that screenshot. It should go to 100% in 1/4, then 0% in 2/4 up to 100%, then 3/4, then 4/4. Did it go backward in those steps?
It’s becoming more frequent on Grin++ and Grin, especially for those with slow connections. As the download nears 100%, the seeder drops the connection. It’s a huge nuisance, but we have the option of completely revamping the sync process after the hardfork, due to a change we’re making to the headers. Hopefully it will get much better soon.
0 bytes per header, since it combines with the output mmr.
Well, pre-horizon, Grin sort of loses the concept of blocks. But yes, it does make it so you can use the fast sync for all UTXOs & kernels, not just the new ones.
I can confirm this problem since 2.0 actually. It syncs the headers (1/4), but then it cannot sync the chain (2/4). Back in the 2.0 upgrade I thought maybe it had a problem with the upgrade. But today I installed 2.1.1 and tried to sync the blockchain from a fresh start, but it hasn’t helped.
My internet connection is not slow actually it’s 50 Mbit.
Some more info: My internet connection is a upstream only IPv6 type. This causes some trouble sometimes, because I am not reachable via IPv4 requests. Maybe this has something to do with it?
Set logging to “Debug” in the server config file and watch for lines with “txhashset archive” in them. Failure to complete the archive download from the remote peer is a known bug [#2929] and that’s likely what you’re experiencing.
And a word of advice: if your node ever syncs (mine finally did after a few dozen failed attempts), never let it get more than 2 days behind. Otherwise, you’ll have to go through the whole ordeal over again.
The TUI crash I’m seeing in your log output could be related to the node attempting to download from 2 peers at once, which causes the progress display to go bonkers. This is another related bug.
That’s sad. Grin 1.0 worked so well all the time for me. I’m too busy to contribute at the moment. I hope the team will fix it soon. Thanks for the hint.
Edit: OK, now I restarted the daemon 5 times, and finally the 2nd step passed in only a few minutes. That was unexpected. So it’s indeed a nondeterministic error. In the meantime it synced to 100%.