Double connection established, but observed by listener only (ghost connection?) #3705
-
I am doing an experiment with a Kademlia network of 200 nodes, locally on my PC. I am using I observe that between some peers, a connection gets established twice. But, the dialer does not show this. Listener:
Dialer:
After a while the QUIC connection will timeout for one of the two connections (I've set this to 18s, so that checks out):
What I am pondering is that the QUIC connection shouldn't time out, as we have keep alive messages. But probably more concerning to me is that I don't see the connection happening on the dialer side, which might explain why the connection times out for the listener as there is actually no connection at all. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Can you share the code that you are using? Are you dialing the listener twice by any chance, e.g. through |
Beta Was this translation helpful? Give feedback.
-
Mind trying if the following PR fixes this? #3454 |
Beta Was this translation helpful? Give feedback.
Mind trying if the following PR fixes this? #3454