Node restart breaks p2p connectivity #9347
Labels
Bug
Something isn't working
Good First Issue
Good for newcomers
Help Wanted
Extra attention is needed
Networking
P2P related items
馃悶 Bug Report
Description
When you restart the node with
--p2p-priv-key
option pointing to the same private key, it can no longer connect to the existing nodes in the network due to some handshake problems.Has this worked before in a previous version?
No, AFAIK
馃敩 Minimal Reproduction
Please let us know how we can reproduce this issue. Include the exact method you used to run Prysm along with any flags used in your beacon chain and/or validator. Make sure you don't upload any confidential files or private keys.
-->
--p2p-priv-key
) and 1 bootnode.馃敟 Error
Node cannot sync with the rest of the chain in
Waiting for enough suitable peers before syncing
state with zero suitable peers.021-08-09T07:30:58.545Z DEBUG swarm2 [limiter] freeing FD token; waiting: 0; consuming: 1
2021-08-09T07:30:58.545Z DEBUG swarm2 [limiter] freeing peer token; peer 16Uiu2HAm68etebwYHpMZTTiTxEa7zehC9jQkVxxDMXo1LGkMaEpT; addr: /ip4/134.122.127.194/tcp/13000; active for peer: 1; waiting on peer limit: 0
2021-08-09T07:30:58.545Z DEBUG swarm2 [limiter] clearing all peer dials: 16Uiu2HAm68etebwYHpMZTTiTxEa7zehC9jQkVxxDMXo1LGkMaEpT
2021-08-09T07:30:58.545Z DEBUG swarm2 [16Uiu2HAmBKp1bVEpuePbM9JizW2r7fUGrP4qamTreXrRps4HvVa2] opening stream to peer [16Uiu2HAm68etebwYHpMZTTiTxEa7zehC9jQkVxxDMXo1LGkMaEpT]
2021-08-09T07:30:58.545Z DEBUG swarm2 [16Uiu2HAmBKp1bVEpuePbM9JizW2r7fUGrP4qamTreXrRps4HvVa2] swarm dialing peer [16Uiu2HAm68etebwYHpMZTTiTxEa7zehC9jQkVxxDMXo1LGkMaEpT]
2021-08-09T07:30:58.545Z DEBUG swarm2 [16Uiu2HAmBKp1bVEpuePbM9JizW2r7fUGrP4qamTreXrRps4HvVa2] opening stream to peer [16Uiu2HAm68etebwYHpMZTTiTxEa7zehC9jQkVxxDMXo1LGkMaEpT]
2021-08-09T07:30:58.545Z DEBUG swarm2 [16Uiu2HAmBKp1bVEpuePbM9JizW2r7fUGrP4qamTreXrRps4HvVa2] swarm dialing peer [16Uiu2HAm68etebwYHpMZTTiTxEa7zehC9jQkVxxDMXo1LGkMaEpT]
2021-08-09T07:30:58.545Z DEBUG net/identify error opening identify stream {"error": "read tcp4 172.18.0.2:13000->134.122.127.194:13000: read: connection reset by peer"}
2021-08-09T07:30:58.545Z DEBUG net/identify error opening identify stream {"error": "read tcp4 172.18.0.2:13000->134.122.127.194:13000: read: connection reset by peer"}
2021-08-09T07:30:58.545Z DEBUG basichost host 16Uiu2HAmBKp1bVEpuePbM9JizW2r7fUGrP4qamTreXrRps4HvVa2 finished dialing 16Uiu2HAm68etebwYHpMZTTiTxEa7zehC9jQkVxxDMXo1LGkMaEpT
time="2021-08-09 07:30:58" level=trace msg="Handshake failed" error="max dial attempts exceeded" prefix=p2p
2021-08-09T07:30:58.545Z DEBUG pubsub opening new stream to peer: max dial attempts exceeded16Uiu2HAm68etebwYHpMZTTiTxEa7zehC9jQkVxxDMXo1LGkMaEpT
2021-08-09T07:30:58.545Z DEBUG pubsub PEERDOWN: Remove disconnected peer 16Uiu2HAm68etebwYHpMZTTiTxEa7zehC9jQkVxxDMXo1LGkMaEpT
馃實 Your Environment
Operating System:
Ubuntu 18.04
What version of Prysm are you running? (Which release)
v1.4.3
Anything else relevant (validator index / public key)?
The text was updated successfully, but these errors were encountered: