Replies: 1 comment 9 replies
-
While I try to understand your requirements, would you mind telling me why you want to know about this connection? What will your application do with this information? I'm asking because I suspect you're trying to work around some behaviour from iroh, and I'd like to understand what it is that it does wrong. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I determine whether the connection to the relay is successful?
I understand that after bind, the program will do many things asynchronously, including connecting to the relay, selecting the relay, etc. But I want to know whether it has successfully connected to the relay. I have tried home_relay and other related endpoint methods in the manual, but they can't tell me whether the relay has been successfully connected. I can tell from the log that it has timed out and is constantly retrying. But I don't have any relevant method to get this status. I used the iroh dns service and relay service I built myself.
I know that the iroh report module has a lot of net_report related tests inside it, but it still can't tell me whether my bind operation was successful
The following is a domain name I entered randomly. Although I saw an exception, the program will continue to execute and retry. How can I get a clear success or failure for the entire process. My steps are that client A has just started to bind and wait for B to connect, that is, there is only relay + client A. When client A starts, I can't get a clear relay connection success or failure
Beta Was this translation helpful? Give feedback.
All reactions