Dropping in-flight connect requests #5558
anilaltuner
started this conversation in
General
Replies: 1 comment
-
This seems to happen due to the concurrent streams for that connection is hitting its max The error would happen, as you noticed, during an establishment of a circuit rust-libp2p/protocols/relay/src/priv_client/handler.rs Lines 200 to 227 in 4d7a535 I think ive only ever hit that error once but cant recall my solution, however if youre establishing multiple circuit to the peer via that relay, that may contribute to that error. Do you have any code you could share to show how youre handling connections or if you have any sample code that could reproduce that error? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Libp2p-relay Capacity Warning
Issue Description
I've been working with libp2p relays and these following warnings in my logs:
This warning seems to indicate that the relay client is dropping connection requests due to reaching some kind of capacity limit.
Questions
What exactly does "at capacity" mean in this context? Is there a configurable limit for the number of in-flight connect requests?
Could this warning indicate a potential bottleneck in our network topology or relay configuration?
Beta Was this translation helpful? Give feedback.
All reactions