-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zebra hang - no sync progress #1398
Comments
I've moved this bug to the first alpha release because it's persistent, and it can cause a hang without any output. These symptoms suggest that it might not be a temporary network bug - so it could also affect mainnet. |
I have now seen this bug on mainnet as well. |
We think that this issue might be resolved by #1391, but we need to do further testing to confirm. |
This issue isn't resolved by #1391, I am still seeing it on mainnet. |
You mention that a restart doesn't fix this issue, what's the workaround for this? Deleting any pre-existing synced blocks and starting again from the beginning? |
Deleting blocks and re-syncing does not reliably resolve this issue. It seems to be based on network conditions and potentially peer state. |
I can reproduce.
|
|
Version
zebrad
main branch, 2020-11-26.Platform
Linux ... 5.4.75 #1-NixOS SMP Thu Nov 5 10:43:38 UTC 2020 x86_64 GNU/Linux
Possible Causes
Description
When I run Zebra on mainnet and testnet, it sometimes fails to make progress during its initial sync. This failure to make progress persists after a restart.
In some cases, the logs continually repeat tip exhaustion:
In other cases, the logs show exhausted tips once, then hang after getting a block locator:
And on mainnet, with a synced tip, zebra gave no info-level log output for 4 hours:
I also saw a hang on testnet waiting for pending blocks. This hang seems to happen due to a missing UTXO:
The text was updated successfully, but these errors were encountered: