This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Connectivity issue between validator and sentry on 0.8.23 #7198
Copy link
Copy link
Closed
Labels
I3-bugThe node fails to follow expected behavior.The node fails to follow expected behavior.
Description
@ddorgan has reported this issue happening on our nodes. It seems that validators and sentries on Polkadot 0.8.23 (but also 0.8.24) have difficulties connecting to each other, specifically when using PeerIds of the new format 12.... It works fine when using old PeerIds (Qm...).
Here is an example log found on a sentry concerning the validator:
Sep 23 16:13:36 kusama-sentry-ae1-1 kusama[9336]: 2020-09-23 16:13:36.145 tokio-runtime-worker TRACE sub-libp2p Libp2p => Dialing(PeerId("12D3KooWBJD4UJbUFasdRZDJ9UjJXQywVetX3AL1GYsdjbgWDCqz"))
Sep 23 16:13:42 kusama-sentry-ae1-1 kusama[9336]: 2020-09-23 16:13:42.340 tokio-runtime-worker DEBUG sub-libp2p Libp2p => Dial failure for PeerId("12D3KooWBJD4UJbUFasdRZDJ9UjJXQywVetX3AL1GYsdjbgWDCqz")
Sep 23 16:13:42 kusama-sentry-ae1-1 kusama[9336]: 2020-09-23 16:13:42.340 tokio-runtime-worker DEBUG sub-libp2p PSM <= Dropped(PeerId("12D3KooWBJD4UJbUFasdRZDJ9UjJXQywVetX3AL1GYsdjbgWDCqz"))
Sep 23 16:13:42 kusama-sentry-ae1-1 kusama[9336]: 2020-09-23 16:13:42.340 tokio-runtime-worker TRACE sub-libp2p Libp2p => Failed to reach PeerId("12D3KooWBJD4UJbUFasdRZDJ9UjJXQywVetX3AL1GYsdjbgWDCqz") through "/ip4/10.15.0.16/tcp/30333": Pending connection: Invalid peer ID.
Similarly, the logs found on the validator concerning the sentry:
Sep 23 16:23:25 kusama-validator-ae1-2 kusama[7855]: 2020-09-23 16:23:25.892 tokio-runtime-worker TRACE sub-libp2p Libp2p => Reach failure for Some(PeerId("12D3KooWGKWWpmaKxtj97FXEaBznrNta1Kpvk2XjNg7bp6pzLQKz")) through "/ip4/10.15.0.4/tcp/30333": InvalidPeerId
Sep 23 16:23:25 kusama-validator-ae1-2 kusama[7855]: 2020-09-23 16:23:25.893 tokio-runtime-worker DEBUG sub-libp2p Libp2p => Dial failure for PeerId("12D3KooWGKWWpmaKxtj97FXEaBznrNta1Kpvk2XjNg7bp6pzLQKz")
Sep 23 16:23:25 kusama-validator-ae1-2 kusama[7855]: 2020-09-23 16:23:25.893 tokio-runtime-worker DEBUG sub-libp2p PSM <= Dropped(PeerId("12D3KooWGKWWpmaKxtj97FXEaBznrNta1Kpvk2XjNg7bp6pzLQKz"))
Sep 23 16:23:25 kusama-validator-ae1-2 kusama[7855]: 2020-09-23 16:23:25.893 tokio-runtime-worker TRACE sub-libp2p Libp2p => Failed to reach PeerId("12D3KooWGKWWpmaKxtj97FXEaBznrNta1Kpvk2XjNg7bp6pzLQKz") through "/ip4/10.15.0.4/tcp/30333": Pending connection: Invalid peer ID.
The PeerId in question indeed matches the one self-reported by the target node.
(i.e. the validator is indeed 12D3KooWGKWWpmaKxtj97FXEaBznrNta1Kpvk2XjNg7bp6pzLQKz, and the sentry is indeed 12D3KooWBJD4UJbUFasdRZDJ9UjJXQywVetX3AL1GYsdjbgWDCqz)
The IP addresses also match the IP address the target node is listening on.
Metadata
Metadata
Assignees
Labels
I3-bugThe node fails to follow expected behavior.The node fails to follow expected behavior.