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

Failed to clean stale beacon headers err="filled header below beacon header tail: 45987 < 67388" #222

Closed
1 task done
lucajj3 opened this issue Apr 30, 2024 · 14 comments
Closed
1 task done
Assignees

Comments

@lucajj3
Copy link

lucajj3 commented Apr 30, 2024

Describe the bug

Failed to clean stale beacon headers.

I don't think there is a solution at the moment other than having to rebuild the docker

Steps to reproduce

  1. If node isnt sync and stopped node ( i have editeded .env too),
  2. run node
    you may have this error:
    Beacon backfilling failed err="syncing canceled (requested)"
    ERROR Failed to clean stale beacon headers err="filled header below beacon header tail: 45987 < 67392"

Spam policy

  • I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.
@StoneMac65
Copy link

same here. tested several endpoints

l2_execution_engine-1    | INFO [05-01|07:08:51.150] Restarting sync cycle                    reason="chain gapped, head: 70168, newHead: 70170"
l2_execution_engine-1    | ERROR[05-01|07:08:51.150] Failed to clean stale beacon headers     err="filled header below beacon header tail: 70002 < 70168"

@StoneMac65
Copy link

StoneMac65 commented May 1, 2024

I installed Nimbus for local Holesky beacon node. It didn't solve syncing speed. still very slow and not usable

image

@amis13
Copy link

amis13 commented May 1, 2024

Solved

I'm using my own beacon RPC by port 5052

STEPS

Open REST port:
add in your Holesky .env:
COMPOSE_FILE=......:cl-shared.yml

update your holesky node: sudo ./ethd update
Add the new TAG in Holesky .env: TRAEFIK_TAG=v3.0
Restart: sudo ./ethd up

Add in taiko node .env:
BOOT_NODES=<enode://......>,enode://0b310c7dcfcf45ef32dde60fec274af88d52c7f0fb6a7e038b14f5f7bb7d72f3ab96a59328270532a871db988a0bcf57aa9258fa8a80e8e553a7bb5abd77c40d@167.235.249.45:30303,enode://1d3cbb450d07d0657c0636528a25b26232d1c9cf5b7fc2eec22a29b5bde58b9227cb88bca388d822f26662705221e77c07153bc3fc4cb06472d0e09e9208b9bc@77.237.244.179:30306

(mine and @lagunovsky bootnodes)
You can add more separated by a "," without spaces, find how here:
https://github.com/taikoxyz/simple-taiko-node/blob/main/.env.sample

and set:
L1_BEACON_HTTP=http://<YOUR_HOLESKY_NODE_IP>:5052

Restart and delete old images:
docker compose --profile l2_execution_engine down -v --rmi "all" && docker compose --profile l2_execution_engine up -d

@lucajj3
Copy link
Author

lucajj3 commented May 1, 2024

Solved:

I'm using my own beacon RPC by port 5052

STEPS

Open REST port: add in your Holesky .env: COMPOSE_FILE=......:cl-shared.yml

update your holesky node: sudo ./ethd update Add the new TAG in Holesky .env: TRAEFIK_TAG=v3.0 Restart: sudo ./ethd up

Add in taiko node .env: BOOT_NODES=<enode://......>,enode://0b310c7dcfcf45ef32dde60fec274af88d52c7f0fb6a7e038b14f5f7bb7d72f3ab96a59328270532a871db988a0bcf57aa9258fa8a80e8e553a7bb5abd77c40d@167.235.249.45:30303

You can add more separated by a "," without spaces, find how and more BOOT_NODES here: https://github.com/taikoxyz/simple-taiko-node/blob/main/.env.sample

and L1_BEACON_HTTP=http://<YOUR_HOLESKY_NODE_IP>:5052

Restart and delete old images: docker compose --profile l2_execution_engine down -v && docker rmi -f $(docker images -aq) && docker compose --profile l2_execution_engine up -d

solved? i dont use own beacon rpc node

@amis13
Copy link

amis13 commented May 1, 2024

Solved:

I'm using my own beacon RPC by port 5052

STEPS

Open REST port: add in your Holesky .env: COMPOSE_FILE=......:cl-shared.yml
update your holesky node: sudo ./ethd update Add the new TAG in Holesky .env: TRAEFIK_TAG=v3.0 Restart: sudo ./ethd up
Add in taiko node .env: BOOT_NODES=<enode://......>,enode://0b310c7dcfcf45ef32dde60fec274af88d52c7f0fb6a7e038b14f5f7bb7d72f3ab96a59328270532a871db988a0bcf57aa9258fa8a80e8e553a7bb5abd77c40d@167.235.249.45:30303
You can add more separated by a "," without spaces, find how and more BOOT_NODES here: https://github.com/taikoxyz/simple-taiko-node/blob/main/.env.sample
and L1_BEACON_HTTP=http://<YOUR_HOLESKY_NODE_IP>:5052
Restart and delete old images: docker compose --profile l2_execution_engine down -v && docker rmi -f $(docker images -aq) && docker compose --profile l2_execution_engine up -d

solved? i dont use own beacon rpc node

yes it's fixed.
Simple, follow this: #222 (comment) and use it,
or try with your public RPC but having our own nodes, I see it as something quite unnecessary...

@0xm51
Copy link

0xm51 commented May 1, 2024

Thanks for workaround
Worked for me and L2 synced in 8min only !

@mask-pp
Copy link
Contributor

mask-pp commented May 2, 2024

same here. tested several endpoints

l2_execution_engine-1    | INFO [05-01|07:08:51.150] Restarting sync cycle                    reason="chain gapped, head: 70168, newHead: 70170"
l2_execution_engine-1    | ERROR[05-01|07:08:51.150] Failed to clean stale beacon headers     err="filled header below beacon header tail: 70002 < 70168"

Thanks for your feedback. I'm looking for the reason. This kind of problem will be very helpful for us to make the node more stable.

@mask-pp
Copy link
Contributor

mask-pp commented May 2, 2024

I installed Nimbus for local Holesky beacon node. It didn't solve syncing speed. still very slow and not usable

image

You can try to start snap sync.

@StoneMac65
Copy link

I installed Nimbus for local Holesky beacon node. It didn't solve syncing speed. still very slow and not usable
image

You can try to start snap sync.

thanks. adding new boot node solved it. seems really stable now. I also activate snap sync

@lagunovsky
Copy link
Contributor

lagunovsky commented May 4, 2024

@amis13 your bootnode is not working 🙂

original workaround working bootnode (which I manage):

enode://0b310c7dcfcf45ef32dde60fec274af88d52c7f0fb6a7e038b14f5f7bb7d72f3ab96a59328270532a871db988a0bcf57aa9258fa8a80e8e553a7bb5abd77c40d@167.235.249.45:30303

@StoneMac65
Copy link

@amis13 your bootnode is not working 🙂

original workaround working bootnode:

enode://0b310c7dcfcf45ef32dde60fec274af88d52c7f0fb6a7e038b14f5f7bb7d72f3ab96a59328270532a871db988a0bcf57aa9258fa8a80e8e553a7bb5abd77c40d@167.235.249.45:30303

previous enode that @amis13 provided was working perfectly and still is if I'm not mistaken

@amis13
Copy link

amis13 commented May 5, 2024

@amis13 your bootnode is not working 🙂

original workaround working bootnode (which I manage):

enode://0b310c7dcfcf45ef32dde60fec274af88d52c7f0fb6a7e038b14f5f7bb7d72f3ab96a59328270532a871db988a0bcf57aa9258fa8a80e8e553a7bb5abd77c40d@167.235.249.45:30303

Fixed, I've tested and you were right, mine request port isn't 30303, it's 30306:
enode://1d3cbb450d07d0657c0636528a25b26232d1c9cf5b7fc2eec22a29b5bde58b9227cb88bca388d822f26662705221e77c07153bc3fc4cb06472d0e09e9208b9bc@77.237.244.179:30306

Copy link
Contributor

github-actions bot commented Jun 5, 2024

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jun 5, 2024
Copy link
Contributor

This issue was closed because it has been inactive for a week since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants