Describe the bug
Seeing logs saying that the trusted peers are responding with different node ids (looking at the node id values, they seem the same).
Mandatory Information
v0.6.1To Reproduce
Steps to reproduce the behavior:
Expected behavior
Additional context
Oct 16 06:38:11.694 INFO peer responded with different node id: 8091571e2ae4ba01672692460785315ca2f16dc3288b324a3931f7712a45e309, node_id: 8091571e2ae4ba01672692460785315ca2f16dc3288b324a3931f7712a45e309, peer_addr: 54.153.19.202:3000, task: network
Someone on Telegram suggested that this happens when the peer has a floating IP config
There's been a logging problem: the condition is real, but one of the IDs was wrongly logged in both places. Fixed in #981.
This happens when a peer changes its ID, but is contacted by its old ID on the same IP address based on outdated gossip or trusted peer configuration. We are debating if this should terminate the connection; I think it will need to be if/when gossip and subscription IDs are authenticated and connection integrity is protected with TLS.
Most helpful comment
This happens when a peer changes its ID, but is contacted by its old ID on the same IP address based on outdated gossip or trusted peer configuration. We are debating if this should terminate the connection; I think it will need to be if/when gossip and subscription IDs are authenticated and connection integrity is protected with TLS.