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

[Bug] Cannot sync a new validator / client node, error at block 719600 - 719650 #3416

Open
zklimaleo opened this issue Oct 17, 2024 · 4 comments
Labels
bug Incorrect or unexpected behavior

Comments

@zklimaleo
Copy link
Collaborator

zklimaleo commented Oct 17, 2024

🐛 Bug Report

Node stop running and having error at syncing block 719600 - 719650 using run-validator.sh file:

2024-10-17T01:21:34.902750Z  WARN snarkos_node_cdn::blocks: Failed to deserialize blocks 719600 to 719650 - io error:  - retrying (1 attempt(s) so far)
2024-10-17T01:21:34.902750Z  WARN snarkos_node_cdn::blocks: Failed to deserialize blocks 719600 to 719650 - io error:  - retrying (2 attempt(s) so far)
…
2024-10-17T01:24:45.369990Z  WARN snarkos_node_cdn::blocks: Failed to deserialize blocks 719600 to 719650 - io error: retrying (10 attempt(s) so far)
2024-10-17T01:24:45.568959Z  WARN snarkos_node_cdn::blocks: Maximum number of requests to https://blocks.aleo.org/mainnet/v0/719600.719650.blocks reached - shutting down...
2024-10-17T01:24:46.033593Z  DEBUGsnarkos_node_cdn::blocks: Finished network requests to the CDN
2024-10-17T01:24:46.040834Z  INFO snarkos_node_cdn::blocks: Stopping block sync at 719599 - shutting down

and run-client.sh file:

2024-10-17T08:46:33.016390Z DEBUG snarkos_node_cdn::blocks: Waiting for the first relevant blocks (1550 pending)
2024-10-17T08:46:33.739239Z  WARN snarkos_node_cdn::blocks: Failed to deserialize blocks 719600 to 719650 - io error:  - retrying (10 attempt(s) so far)
2024-10-17T08:46:34.017227Z DEBUG snarkos_node_cdn::blocks: Waiting for the first relevant blocks (1550 pending)
2024-10-17T08:46:34.290588Z  WARN snarkos_node_cdn::blocks: Maximum number of requests to https://blocks.aleo.org/mainnet/v0/719600.719650.blocks reached - shutting down...
2024-10-17T08:46:34.982415Z  DEBUGsnarkos_node_cdn::blocks: Finished network requests to the CDN
2024-10-17T08:46:35.018702Z  INFO snarkos_node_cdn::blocks: Stopping block sync at 719599 - shutting down

Steps to Reproduce

Run either run-client.sh file or run-validator.sh file

Expected Behavior

Sync node to latest block

Your Environment

snarkOS Version: mainnet-v1.0.0
Rust Version: 1.76.0
Computer OS: Ubuntu 22.04

@zklimaleo zklimaleo added the bug Incorrect or unexpected behavior label Oct 17, 2024
@zklimaleo zklimaleo changed the title [Bug] Cannot sync a new validator / client node, error at block [Bug] Cannot sync a new validator / client node, error at block 719600 - 719650 Oct 17, 2024
@OuIChien
Copy link

I have the same issue

@vicsn
Copy link
Contributor

vicsn commented Oct 18, 2024

Just tried it with some extra logging. Most block ranges are ~2.7 MB. Whatever we get back for block range 719600 - 719650 is only 243 bytes. The file might be corrupted or accidentally overwritten.

@sweet-tao
Copy link

I have the same problem, does anyone have a solution?

@raychu86
Copy link
Contributor

raychu86 commented Nov 7, 2024

@zosorock @alzger This looks like a possible routing issue in blocks.aleo.org.

Notice that - https://blocks.aleo.org/mainnet/v0/719600.719650.blocks returns an Access Denied response. Other block ranges are working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect or unexpected behavior
Projects
None yet
Development

No branches or pull requests

5 participants