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

Polkadot 0.9.39-1-298b4aefe1b: The bootnode you want to connect to at ... provided a different peer ID ... than the one you expect ... #6925

Closed
minzak opened this issue Mar 21, 2023 · 2 comments

Comments

@minzak
Copy link

minzak commented Mar 21, 2023

I have fresh polkadot 0.9.39-1-298b4aefe1b with config file:

POLKADOT_CLI_ARGS="--disable-log-color --validator --database=RocksDb --chain=polkadot --name=XXXX \
--pruning=1000 \
--prometheus-external --prometheus-port=9615 \
--ws-port=9944 \
--rpc-port=9933 \
--rpc-cors=all \
--listen-addr /ip4/0.0.0.0/tcp/30333 \
--public-addr /ip4/5.254.XX.XX/tcp/30333 \
--base-path=/home/polkadot \
--keystore-path=/home/polkadot/polkadot-keystore \
--node-key-type=Ed25519 \
--node-key-file=/home/polkadot/chains/polkadot/network/secret_ed25519"

and systemctl service:

[Unit]
Description=Polkadot Node
After=network.target
Documentation=https://github.com/paritytech/polkadot

[Service]
EnvironmentFile=-/etc/default/polkadot
ExecStart=/usr/bin/polkadot $POLKADOT_CLI_ARGS
User=polkadot
Group=polkadot
Restart=always
RestartSec=120
CapabilityBoundingSet=
LockPersonality=true
NoNewPrivileges=true
PrivateDevices=true
PrivateMounts=true
PrivateTmp=true
PrivateUsers=true
ProtectClock=true
ProtectControlGroups=true
ProtectHostname=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=strict
RemoveIPC=true
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
RestrictNamespaces=true
RestrictSUIDSGID=true
SystemCallArchitectures=native
SystemCallFilter=@system-service
SystemCallFilter=~@clock @module @mount @reboot @swap @privileged
UMask=0027

[Install]
WantedBy=multi-user.target

And I have logs: (some duplicated stings are cutting)

2023-03-21 11:33:40 Parity Polkadot
2023-03-21 11:33:40 ✌️  version 0.9.39-1-298b4aefe1b
2023-03-21 11:33:40 ❤️  by Parity Technologies <admin@parity.io>, 2017-2023
2023-03-21 11:33:40 📋 Chain specification: Polkadot
2023-03-21 11:33:40 🏷  Node name: XXXX
2023-03-21 11:33:40 👤 Role: AUTHORITY
2023-03-21 11:33:40 💾 Database: RocksDb at /home/polkadot/chains/polkadot/db/full
2023-03-21 11:33:40 ⛓  Native runtime: polkadot-9390 (parity-polkadot-0.tx21.au0)
2023-03-21 11:34:00 🏷  Local node identity is: 12D3KooWAmbJe6Upt31FsHfrLXZahRJXd8c4eBH9hRhhnZi1A62W
2023-03-21 11:34:00 🔍 Discovered new external address for our node: /ip4/5.254.XX.XX/tcp/30333/p2p/12D3KooWAmbJe6Upt31FsHfrLXZahRJXd8c4eBH9hRhhnZi1A62W
2023-03-21 11:34:03 💻 Operating system: linux
2023-03-21 11:34:03 💻 CPU architecture: x86_64
2023-03-21 11:34:03 💻 Target environment: gnu
2023-03-21 11:34:03 💻 CPU: Intel(R) Xeon(R) E-2136 CPU @ 3.30GHz
2023-03-21 11:34:03 💻 CPU cores: 6
2023-03-21 11:34:03 💻 Memory: 64168MB
2023-03-21 11:34:03 💻 Kernel: 5.10.0-21-amd64
2023-03-21 11:34:03 💻 Linux distribution: Debian GNU/Linux 11 (bullseye)
2023-03-21 11:34:03 💻 Virtual machine: no
2023-03-21 11:34:03 📦 Highest known block at #14739617
2023-03-21 11:34:03 〽️ Prometheus exporter started at 0.0.0.0:9615
2023-03-21 11:34:03 Running JSON-RPC HTTP server: addr=127.0.0.1:9933, allowed origins=["*"]
2023-03-21 11:34:03 Running JSON-RPC WS server: addr=127.0.0.1:9944, allowed origins=["*"]
2023-03-21 11:34:03 🏁 CPU score: 941.43 MiBs
2023-03-21 11:34:03 🏁 Memory score: 15.20 GiBs
2023-03-21 11:34:03 🏁 Disk score (seq. writes): 347.53 MiBs
2023-03-21 11:34:03 🏁 Disk score (rand. writes): 140.88 MiBs
2023-03-21 11:34:03 ⚠️  The hardware does not meet the minimal requirements for role 'Authority' find out more at:
https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware
2023-03-21 11:34:03 👶 Starting BABE Authorship worker
2023-03-21 11:34:03 Could not retrieve session info from rolling session window session=6172
2023-03-21 11:34:03 Could not retrieve session info from rolling session window session=6172
2023-03-21 11:34:03 Could not retrieve session info from rolling session window session=6172
2023-03-21 11:34:03 Advanced session window for approvals update=Advanced { prev_window_start: 6167, prev_window_end: 6167, new_window_start: 6167, new_window_end: 6172 }
2023-03-21 11:34:03 💔 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-21 11:34:04 Accepting new connection 1/100
2023-03-21 11:34:05 💔 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-21 11:34:05 💔 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-21 11:34:53 💤 Idle (40 peers), best: #14739629 (0xe918…e145), finalized #14739614 (0x65f4…cbad), ⬇ 106.0kiB/s ⬆ 109.2kiB/s
2023-03-21 11:34:53 ✨ Imported #14739630 (0x1255…4f15)
2023-03-21 11:34:53 Candidate included without being backed? candidate_hash=0x83514580bbbafc08e40e460b87468c12527d6965215d07f725095d9f73319f1c traceID=174550853178932501418804793157305666578
2023-03-21 11:34:53 Candidate included without being backed? candidate_hash=0x9bb17b4c4738d70a0b95fe585069c4be3da2a69cafe6421c9d9043b1a98b894f traceID=206951876670386376067201824600240014526
2023-03-21 11:34:53 Candidate included without being backed? candidate_hash=0x0da4a9f9c78a0ffd32491a2dbd21950883b1b0d64e7cac8bbfb4dbe5a672903f traceID=18134948146793525486651638414028412168
2023-03-21 11:34:53 Candidate included without being backed? candidate_hash=0xeceadf63bc563b9a29632b23b4012b4e794cceae79189be311b66f0898ceab69 traceID=314917335349354429835351646865302039374
2023-03-21 11:34:53 Candidate included without being backed? candidate_hash=0xa83a0091887ce737c61e0259a5798addb7ac2405b56795ea1b81e82d1a173479 traceID=223611468039985411251462766737231547101
2023-03-21 11:34:53 Candidate included without being backed? candidate_hash=0xe23fce3502367171fa7a28127996c9d34fd6935448112d292adfee2fe22bbbeb traceID=300736824125634434660820349712120334803
2023-03-21 11:34:53 ✨ Imported #14739631 (0x0275…e6ca)

I see it's similar to #6767 but with a new, fresh version.

How to resolve it?
The bootnode you want to connect to at ... provided a different peer ID ... than the one you expect ...

Also not sure what I can do to eliminate messages like:
Could not retrieve session info from rolling session window session=6172

And as I see this message The hardware does not meet the minimal requirements for role 'Authority' find out more.. i can ignore it because it's not mandatory and all resources are enough. I hope i right here

@bkchr
Copy link
Member

bkchr commented Mar 21, 2023

Yeah the chain spec update comes with 0.9.40. Until that you could download the chain spec yourself.

Could not retrieve session info from rolling session window session=6172

You can ignore.

And as I see this message The hardware does not meet the minimal requirements for role 'Authority' find out more.. i can ignore it because it's not mandatory and all resources are enough. I hope i right here

If you want to be a validator in the active set, you should use better hardware.

@minzak
Copy link
Author

minzak commented Mar 22, 2023

ok, waiting for 0.9.40

@minzak minzak closed this as completed Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants