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

Snapshot extension registration failed #821

Closed
lpf763827726 opened this issue Mar 30, 2022 · 14 comments
Closed

Snapshot extension registration failed #821

lpf763827726 opened this issue Mar 30, 2022 · 14 comments
Assignees

Comments

@lpf763827726
Copy link

System information

Geth version: 1.1.8-859186f2
OS & Version: Linux
Commit hash : (if develop)

Actual behaviour

t=2022-03-30T05:00:57+0000 lvl=warn msg="Synchronisation failed, dropping peer"  peer=20719e52103b613a67d6a35f31c8e6359d8efd241fbcd21bf9dbc9fa344b9ba4 err=timeout
t=2022-03-30T05:00:57+0000 lvl=eror msg="Ethereum peer removal failed"           peer=20719e52 err="peer not registered"
t=2022-03-30T05:01:03+0000 lvl=info msg="Looking for peers"                      peercount=1 tried=34  static=6
t=2022-03-30T05:01:22+0000 lvl=eror msg="Snapshot extension registration failed" peer=fda76e15 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:01:23+0000 lvl=eror msg="Snapshot extension registration failed" peer=fde637d5 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:02:04+0000 lvl=info msg="Looking for peers"                      peercount=0 tried=30  static=6
t=2022-03-30T05:02:56+0000 lvl=info msg="Looking for peers"                      peercount=1 tried=40  static=6
t=2022-03-30T05:03:06+0000 lvl=info msg="Looking for peers"                      peercount=2 tried=82  static=6
t=2022-03-30T05:03:08+0000 lvl=info msg="Downloader queue stats"                 receiptTasks=0 blockTasks=372 itemSize="4.05 KiB" throttle=8192
t=2022-03-30T05:03:17+0000 lvl=info msg="Looking for peers"                      peercount=2 tried=74  static=6
t=2022-03-30T05:03:57+0000 lvl=eror msg="Snapshot extension registration failed" peer=dd2fa788 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:03:57+0000 lvl=eror msg="Snapshot extension registration failed" peer=dd02a483 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:04:19+0000 lvl=eror msg="Ethereum peer removal failed"           peer=20719e52 err="peer not registered"

Steps to reproduce the behaviour

./geth_linux --datadir ./bsc init ./genesis.json
./geth_linux --syncmode "full" --config ./config.toml --cache 18000 --port 30403 --allow-insecure-unlock --port "11544" --http --http.addr 0.0.0.0 --http.port 11545 --http.api db,eth,net,web3,personal,txpool --rpc.allow-unprotected-txs --txlookuplimit 0 --usb --datadir ./bsc

i can sync before, when i sync in block 16053149, it stuck

@yutianwu
Copy link
Contributor

peer connected on snap without compatible eth support this error is normal, will not cause the sync issue. Is there any other errors?

@lpf763827726
Copy link
Author

lpf763827726 commented Mar 30, 2022

peer connected on snap without compatible eth support this error is normal, will not cause the sync issue. Is there any other errors?

all error are here

t=2022-03-30T05:53:52+0000 lvl=warn msg="Synchronisation failed, dropping peer"  peer=d3ff2bcb81f196b48c17de1437ed4c29f958bfab168dfe98c447f667ed30fb96 err="retrieved hash chain is invalid: missing parent"
t=2022-03-30T05:53:52+0000 lvl=eror msg="Ethereum peer removal failed"           peer=d3ff2bcb err="peer not registered"
t=2022-03-30T05:53:57+0000 lvl=info msg="Looking for peers"                      peercount=2 tried=94  static=6
t=2022-03-30T05:54:21+0000 lvl=eror msg="Snapshot extension registration failed" peer=0d3d1602 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:54:48+0000 lvl=eror msg="Snapshot extension registration failed" peer=2f7bcd91 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:55:16+0000 lvl=info msg="Downloader queue stats"                 receiptTasks=0 blockTasks=2887  itemSize="8.00 KiB"  throttle=8188
t=2022-03-30T05:56:03+0000 lvl=warn msg="Synchronisation failed, dropping peer"  peer=20719e52103b613a67d6a35f31c8e6359d8efd241fbcd21bf9dbc9fa344b9ba4 err="retrieved hash chain is invalid: missing parent"
t=2022-03-30T05:56:03+0000 lvl=eror msg="Ethereum peer removal failed"           peer=20719e52 err="peer not registered"
t=2022-03-30T05:56:39+0000 lvl=info msg="Downloader queue stats"                 receiptTasks=0 blockTasks=20608 itemSize="5.94 KiB"  throttle=8192
t=2022-03-30T05:56:45+0000 lvl=eror msg="Diff extension barrier failed"          id=cd38dacaac02b951b9664477e717564fa62c351f0fdf2fa2a3841ecc48679f1a conn=dyndial err="peer wait timeout"
t=2022-03-30T05:56:47+0000 lvl=eror msg="Ethereum peer removal failed"           peer=20719e52 err="peer not registered"
t=2022-03-30T05:57:03+0000 lvl=eror msg="Ethereum peer removal failed"           peer=cd56ef88 err="peer not registered"
t=2022-03-30T05:57:19+0000 lvl=warn msg="Synchronisation failed, dropping peer"  peer=27669d929f4708adba2d40065035a8ac95f476db2ceea0720d84857cd7b37c37 err="retrieved hash chain is invalid: missing parent"
t=2022-03-30T05:57:19+0000 lvl=eror msg="Ethereum peer removal failed"           peer=27669d92 err="peer not registered"
t=2022-03-30T05:57:46+0000 lvl=eror msg="Snapshot extension registration failed" peer=422bee38 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:58:00+0000 lvl=eror msg="Snapshot extension registration failed" peer=dd2fa788 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:58:04+0000 lvl=eror msg="Snapshot extension registration failed" peer=dd02a483 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:58:05+0000 lvl=eror msg="Snapshot extension registration failed" peer=3af25a30 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:58:16+0000 lvl=eror msg="Ethereum peer removal failed"           peer=20719e52 err="peer not registered"
t=2022-03-30T05:58:16+0000 lvl=info msg="Downloader queue stats"                 receiptTasks=0 blockTasks=0     itemSize="5.94 KiB"  throttle=8192
t=2022-03-30T05:58:16+0000 lvl=warn msg="Synchronisation failed, dropping peer"  peer=20719e52103b613a67d6a35f31c8e6359d8efd241fbcd21bf9dbc9fa344b9ba4 err="peer is stalling"
t=2022-03-30T05:58:16+0000 lvl=eror msg="Ethereum peer removal failed"           peer=20719e52 err="peer not registered"
t=2022-03-30T05:59:10+0000 lvl=info msg="Looking for peers"                      peercount=2 tried=101 static=6
t=2022-03-30T05:59:11+0000 lvl=info msg="Writing clean trie cache to disk"       path=/app/bsc/geth/triecache threads=1
t=2022-03-30T05:59:18+0000 lvl=warn msg="Synchronisation failed, dropping peer"  peer=23f45c0f5fbb60ba860a4b32c5b37d94bc0126e2c50f0ebd1adc4e069c86853e err="retrieved hash chain is invalid: missing parent"
t=2022-03-30T05:59:18+0000 lvl=eror msg="Ethereum peer removal failed"           peer=23f45c0f err="peer not registered"
t=2022-03-30T05:59:20+0000 lvl=info msg="Looking for peers"                      peercount=2 tried=78  static=6
t=2022-03-30T05:59:23+0000 lvl=eror msg="Snapshot extension registration failed" peer=92efa5cc err="peer connected on snap without compatible eth support"
t=2022-03-30T05:59:30+0000 lvl=info msg="Looking for peers"                      peercount=1 tried=47  static=6
t=2022-03-30T05:59:37+0000 lvl=info msg="Downloader queue stats"                 receiptTasks=0 blockTasks=380   itemSize="5.28 KiB"  throttle=8192
t=2022-03-30T05:59:40+0000 lvl=info msg="Looking for peers"                      peercount=2 tried=96  static=6
t=2022-03-30T05:59:45+0000 lvl=info msg="Persisted the clean trie cache"         path=/app/bsc/geth/triecache elapsed=33.858s
t=2022-03-30T05:59:50+0000 lvl=info msg="Looking for peers"                      peercount=1 tried=88  static=6

for now, still stuck in block 16053149

@unclezoro
Copy link
Collaborator

Would you try the latest config: https://github.com/bnb-chain/bsc/releases/download/v1.1.8/mainnet.zip?

@lpf763827726
Copy link
Author

Would you try the latest config: https://github.com/bnb-chain/bsc/releases/download/v1.1.8/mainnet.zip?

yes, i was use v1.1.8

@DigitalTokens
Copy link

INFO [04-04|04:12:44.883] IPC endpoint opened url=/bsc-data/geth.ipc
INFO [04-04|04:12:44.883] HTTP server started endpoint=127.0.0.1:8545 prefix= cors= vhosts=localhost
INFO [04-04|04:12:55.881] Looking for peers peercount=0 tried=18 static=0
INFO [04-04|04:12:56.036] New local node record seq=1,649,038,297,946 id=781c30e81b4cd0c5 ip=44.193.223.190 udp=30303 tcp=30303
INFO [04-04|04:13:06.214] Looking for peers peercount=0 tried=31 static=0
ERROR[04-04|04:13:08.060] Snapshot extension registration failed peer=ecbeebb8 err="peer connected on snap without compatible eth support"
INFO [04-04|04:13:16.214] Looking for peers peercount=0 tried=38 static=0
INFO [04-04|04:13:26.322] Looking for peers peercount=0 tried=37 static=0
INFO [04-04|04:13:36.373] Looking for peers peercount=0 tried=33 static=0
ERROR[04-04|04:13:37.702] Snapshot extension registration failed peer=63cbe74f err="peer connected on snap without compatible eth support"
ERROR[04-04|04:13:40.057] Snapshot extension registration failed peer=1d4fc8e3 err="peer connected on snap without compatible eth support"

@DigitalTokens
Copy link

same errors even when using v1.1.8

@yutianwu
Copy link
Contributor

yutianwu commented Apr 6, 2022

same errors even when using v1.1.8

this errors are normal, is there any other issues

@DigitalTokens
Copy link

what is the fix for this issue; when we need to sync/resume the node where it stopped. goal here is not to start from scratch rather need to get delta data on geth resumee

@DigitalTokens
Copy link

Would you try the latest config: https://github.com/bnb-chain/bsc/releases/download/v1.1.8/mainnet.zip?

tried still same issue , no luck

@lpf763827726
Copy link
Author

i try to keep syncing but still not work, and i try to syncing to a new folder, it's working

@DigitalTokens
Copy link

i try to keep syncing but still not work, and i try to syncing to a new folder, it's working

syncing a new data folder means; your starting from scratch again. same folder will allow to get delta data from where it stopped

@lpf763827726
Copy link
Author

i try to keep syncing but still not work, and i try to syncing to a new folder, it's working

syncing a new data folder means; your starting from scratch again. same folder will allow to get delta data from where it stopped

yea, i know that, but i can't keep sync in my old folder, always stuck in block 16053149, it's impossible to wait here all the time, so i only can sync to a new folder again

@DigitalTokens
Copy link

System information

Geth version: 1.1.8-859186f2 OS & Version: Linux Commit hash : (if develop)

Actual behaviour

t=2022-03-30T05:00:57+0000 lvl=warn msg="Synchronisation failed, dropping peer"  peer=20719e52103b613a67d6a35f31c8e6359d8efd241fbcd21bf9dbc9fa344b9ba4 err=timeout
t=2022-03-30T05:00:57+0000 lvl=eror msg="Ethereum peer removal failed"           peer=20719e52 err="peer not registered"
t=2022-03-30T05:01:03+0000 lvl=info msg="Looking for peers"                      peercount=1 tried=34  static=6
t=2022-03-30T05:01:22+0000 lvl=eror msg="Snapshot extension registration failed" peer=fda76e15 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:01:23+0000 lvl=eror msg="Snapshot extension registration failed" peer=fde637d5 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:02:04+0000 lvl=info msg="Looking for peers"                      peercount=0 tried=30  static=6
t=2022-03-30T05:02:56+0000 lvl=info msg="Looking for peers"                      peercount=1 tried=40  static=6
t=2022-03-30T05:03:06+0000 lvl=info msg="Looking for peers"                      peercount=2 tried=82  static=6
t=2022-03-30T05:03:08+0000 lvl=info msg="Downloader queue stats"                 receiptTasks=0 blockTasks=372 itemSize="4.05 KiB" throttle=8192
t=2022-03-30T05:03:17+0000 lvl=info msg="Looking for peers"                      peercount=2 tried=74  static=6
t=2022-03-30T05:03:57+0000 lvl=eror msg="Snapshot extension registration failed" peer=dd2fa788 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:03:57+0000 lvl=eror msg="Snapshot extension registration failed" peer=dd02a483 err="peer connected on snap without compatible eth support"
t=2022-03-30T05:04:19+0000 lvl=eror msg="Ethereum peer removal failed"           peer=20719e52 err="peer not registered"

Steps to reproduce the behaviour

./geth_linux --datadir ./bsc init ./genesis.json
./geth_linux --syncmode "full" --config ./config.toml --cache 18000 --port 30403 --allow-insecure-unlock --port "11544" --http --http.addr 0.0.0.0 --http.port 11545 --http.api db,eth,net,web3,personal,txpool --rpc.allow-unprotected-txs --txlookuplimit 0 --usb --datadir ./bsc

i can sync before, when i sync in block 16053149, it stuck

any luck ? any fix yet ?

@Jolly23
Copy link
Contributor

Jolly23 commented Apr 20, 2022

dropping peer is normal. But there is a bug about Ethereum peer removal failed -- peer not registered.
Fixed here #856

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

No branches or pull requests

5 participants