BasicHost
submits EvtLocalAddressesUpdated
but addresses were not changed
#2972
Labels
kind/bug
A bug in existing code (including security flaws)
Context
I am running a test network in the k8s cluster, and while debugging an orthogonal issue, I observed unexpected behavior.
Bug (?)
To my knowledge, the addresses of running pods do not change. Also, the logs below show that the addresses on every event are constant, however
BasicHost
still submits theEvtLocalAddressesUpdated
.Trace
The trace was from PubSub node spamming
go-libp2p-pubsub@v0.12.0/pubsub.go:698 already have connection to peer
, triggered byEvtPeerIdentificationCompleted
, initiated by identify push from a peer, prompted byBasicHost
background loop on the peer detecting address changes.However, as per identify logs on the PubSub node, the addresses didn't change, and the exact same log with the same address repeats over and over, potentially suggesting that diffing logic in makeUpdatedAddrsEvent has a bug.
I couldn't find a way to inspect the state of the peer submitting the identify push with logs, and the only data point is the log from the peer above.
The text was updated successfully, but these errors were encountered: