I am trying to use cpp-libp2p for the first time and facing the following error whenever I restart the peer program and listen on the same IP address/port (however has different id).
26.03.24 08:14:44.602748 Error Plaintext received_pid=12D3KooWNYu9dLbPxruuhKwJm2rU9Tbcf95hFmitbvFHMQua7WEp, p.value()=12D3KooWQMHu5AGbSwEyiifZqfqwJPxgCWG3R2rCB8cPuM2CK3EX
26.03.24 08:14:44.602763 Error Plaintext error happened while establishing a Plaintext session: Received peer id doesn’t match actual peer id
This error keep on coming even after hours of disconnection.
I am unable to get rid of this error and not sure how to do this and what I am missing? Can anybody pls guide me on how to do this on cpp-libp2p?
Thanks in advance.