Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Stop trying to connect to broken bootnodes #13584

@ggwpez

Description

@ggwpez

On polkadot 0.9.39-bf2ebf30780 when trying to warp-sync it keeps connecting to invalid bootnodes and prints this error indefinitely after every block.

./polkadot --sync warp -d warp-sync-dot --db paritydb --chain polkadot --rpc-max-request-size 100000 --rpc-max-response-size 100000 --pruning 100800 --in-peers 100 --out-peers 99
2023-03-12 16:10:10 💔 The bootnode you want to connect to at `/dns/polkadot-bootnode.polkadotters.com/tcp/30334/wss/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y` provided a different peer ID `12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3` than the one you expect `12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y`.    
2023-03-12 16:10:13 ✨ Imported #14615722 (0x6064…ba6f)    
2023-03-12 16:10:15 ⏩ Block history, #716032 (7 peers), best: #14615722 (0x069b…fbc1), finalized #14615719 (0xcf95…017d), ⬇ 987.0kiB/s ⬆ 134.6kiB/s    
2023-03-12 16:10:16 💔 The bootnode you want to connect to at `/dns/polkadot-bootnode.polkadotters.com/tcp/30334/wss/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y` provided a different peer ID `12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3` than the one you expect `12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y`.    
2023-03-12 16:10:20 ⏩ Block history, #731072 (21 peers), best: #14615722 (0x069b…fbc1), finalized #14615720 (0x2968…598f), ⬇ 1.3MiB/s ⬆ 46.4kiB/s    
2023-03-12 16:10:21 💔 The bootnode you want to connect to at `/dns/polkadot-bootnode.polkadotters.com/tcp/30334/wss/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y` provided a different peer ID `12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3` than the one you expect `12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y`.    
2023-03-12 16:10:21 ✨ Imported #14615723 (0x8476…ab34)    
2023-03-12 16:10:22 ✨ Imported #14615723 (0x05fd…c567)    
2023-03-12 16:10:25 ⏩ Block history, #744768 (10 peers), best: #14615723 (0x8476…ab34), finalized #14615720 (0x2968…598f), ⬇ 1008.9kiB/s ⬆ 162.2kiB/s    
2023-03-12 16:10:26 💔 The bootnode you want to connect to at `/dns/polkadot-bootnode.polkadotters.com/tcp/30334/wss/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y` provided a different peer ID `12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3` than the one you expect `12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y`.    
2023-03-12 16:10:30 ⏩ Block history, #758080 (20 peers), best: #14615723 (0x8476…ab34), finalized #14615720 (0x2968…598f), ⬇ 1.6MiB/s ⬆ 14.0kiB/s    
2023-03-12 16:10:31 ✨ Imported #14615724 (0x9735…440e)    
2023-03-12 16:10:31 💔 The bootnode you want to connect to at `/dns/polkadot-bootnode.polkadotters.com/tcp/30334/wss/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y` provided a different peer ID `12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3` than the one you expect `12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y`.    
2023-03-12 16:10:35 ⏩ Block history, #768064 (11 peers), best: #14615724 (0x9735…440e), finalized #14615720 (0x2968…598f), ⬇ 826.3kiB/s ⬆ 10.4kiB/s    
2023-03-12 16:10:37 💔 The bootnode you want to connect to at `/dns/polkadot-bootnode.polkadotters.com/tcp/30334/wss/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y` provided a different peer ID `12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3` than the one you expect `12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y`.    
2023-03-12 16:10:40 ⏩ Block history, #786880 (27 peers), best: #14615724 (0x9735…440e), finalized #14615722 (0x069b…fbc1), ⬇ 1.5MiB/s ⬆ 16.8kiB/s    
2023-03-12 16:10:42 💔 The bootnode you want to connect to at `/dns/polkadot-bootnode.polkadotters.com/tcp/30334/wss/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y` provided a different peer ID `12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3` than the one you expect `12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y`.    
2023-03-12 16:10:43 ✨ Imported #14615725 (0x57b8…bf25)    
2023-03-12 16:10:45 ⏩ Block history, #798080 (30 peers), best: #14615725 (0x57b8…bf25), finalized #14615722 (0x069b…fbc1), ⬇ 1.6MiB/s ⬆ 176.1kiB/s    
2023-03-12 16:10:47 💔 The bootnode you want to connect to at `/dns/polkadot-bootnode.polkadotters.com/tcp/30334/wss/p2p/12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y` provided a different peer ID `12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3` than the one you expect `12D3KooWCgNAXvn3spYBeieVWeZ5V5jcMha5Qq1hLMtGTcFPk93Y`.    
2023-03-12 16:10:50 ⏩ Block history, #809408 (84 peers), best: #14615725 (0x57b8…bf25), finalized #14615723 (0x8476…ab34), ⬇ 1.1MiB/s ⬆ 54.8kiB/s    
2023-03-12 16:10:51 ✨ Imported #14615725 (0x786f…2754)

Can we somehow blacklist these nodes to omit that error and not re-try every time?
The node also keeps loosing peers, but I think there is an issue for that already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I4-annoyanceThe client behaves within expectations, however this “expected behaviour” itself is at issue.S0-designIssue is in the design stage.

    Type

    No type

    Projects

    Status

    done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions