Failed relay reservation shuts down the whole connection #4752
-
my relay setup broke after using libp2p direct off this repo after an update to the
more details can be found here
at this point the connection to client side was completely shutdown and the relay was not considered connected by the client(
you can establish a direct connection to the server node and other protocols work as expected, but once you attempt to listen on |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
The behaviour is generated with a custom macro, not builtin |
Beta Was this translation helpful? Give feedback.
-
Its because its checking to see if there are addresses. You would need to add an external address to your relay node using rust-libp2p/protocols/relay/src/protocol/outbound_hop.rs Lines 149 to 151 in 459c9d4 What you could do is add the external address after |
Beta Was this translation helpful? Give feedback.
-
You'll be pleased to hear that I'vs literally been working on this as part of a bigger effort:
I fully agree with you that connections should not be shut done upon errors on streams. I'll look into your issue in detail on Monday :) |
Beta Was this translation helpful? Give feedback.
You'll be pleased to hear that I'vs literally been working on this as part of a bigger effort:
I fully agree with you that connections should not be shut done upon errors on streams.
I'll look into your issue in detail on Monday :)