Skip to content
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

Sync failed with error: no peers available or all tried for download #1830

Closed
brilliant-lx opened this issue Aug 18, 2023 · 2 comments
Closed
Assignees
Labels
X-nodesync task filter for node sync issue: full, snap, light...

Comments

@brilliant-lx
Copy link
Collaborator

System information

Geth version: both v1.2.9 & v1.2.10
OS & Version: Linux
Commit hash : 2b83693

Expected behaviour

The node was lagging behind for several days, when restarted, the node tries to catch up to the latest block.
It should succeed.

Actual behaviour

The node will print logs like bellow and got stuck, restart can not help.

t=2023-08-17T13:04:18+0000 lvl=warn msg="Synchronisation failed, dropping peer" peer=9fdfe7c27c400df9086f711755aa4445b379038a617e6173bd2c8b24b8393e63 err="retrieved hash chain is invalid: no peers available or all tried for download"
t=2023-08-17T13:04:26+0000 lvl=warn msg="Synchronisation failed, dropping peer" peer=dca345bdef989c40b4584d2a48cd8a16a8590185b8515fbfa6d1f5d21afb122b err="retrieved hash chain is invalid: no peers available or all tried for download"
t=2023-08-17T13:04:33+0000 lvl=warn msg="Synchronisation failed, dropping peer" peer=c22284eec0f51db6569bcfbff26a7e32483472f8300f6f544e00148e3f9b1e19 err="retrieved hash chain is invalid: no peers available or all tried for download"
t=2023-08-17T13:04:41+0000 lvl=warn msg="Synchronisation failed, dropping peer" peer=1b59f42e85f0a4da833f5de1870063ead04991200fb5b94292c0f103fd68d20f err="retrieved hash chain is invalid: no peers available or all tried for download"

Steps to reproduce the behaviour

Shutdown your node for 1 day, then restart it. It would connect to some nodes and download a few block headers, then it got stuck. Always got stuck at same height.

Backtrace

NA

@brilliant-lx
Copy link
Collaborator Author

Root cause was found, will be fixed with PR: #1829

@brilliant-lx
Copy link
Collaborator Author

fixed in release v1.2.11

@weiihann weiihann added the X-nodesync task filter for node sync issue: full, snap, light... label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
X-nodesync task filter for node sync issue: full, snap, light...
Projects
None yet
Development

No branches or pull requests

2 participants