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.

Nodes using the wrong bootnode address #7385

@Maharacha

Description

@Maharacha

We have this bootnode address set since a few versions back:
/dns/polkadot-boot.dwellir.com/tcp/30334/ws/p2p/12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ
https://raw.githubusercontent.com/paritytech/polkadot/v0.9.43/node/service/chain-specs/polkadot.json

However, existing nodes running 0.9.43 are reporting:

The bootnode you want to connect to at `/dns/polkadot-boot.dwellir.com/tcp/30333/ws/p2p/12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ` provided a different peer ID `12D3KooWFHkJaz1BxqdAjzeLK4xcubxXP25kTaYWZqsJukuex5Ly` than the one you expect `12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ`.

I can't reproduce it with new nodes. Running:

./polkadot --chain polkadot -ldebug 2>&1 | tee polkadot.log

Shows correct:

libp2p\_swarm: Connection established: PeerId("12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ") Dialer { address: "/dns/polkadot-boot.dwellir.com/tcp/30334/ws/p2p/12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ", role\_override: Dialer }; Total (peer): 1.

We are running the bootnode on 0.9.43 with these cli args:

"--chain polkadot --prometheus-external --rpc-port=9933"

Hence, using default p2p port 30333 on the node but forwards from port 30334 in the firewall.

How can this happen? Is it not that the nodes are exclusively using the addresses in the polkadot.json file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions