You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a content tracker, but that is besides the issue. Basically you do a connection via node id and region id, then send a very small message, and get back a very small response.
I found that this does not work reliably without the inclusion of the ip addresses. The connection establishment and sending initial data works, but the response never gets through and the connection eventually times out on the sender side.
Sender:
❯ cargo run query --tracker jfnwg2wbgbgignugsmcl7vd2ywxkvjjkbw4sw7xdfv3mnpcsorgq bafkr4ih7kfrg3q323ujxli24ms4koorxchupucvbauuvfz7mlgzbixd2li
Finished dev [unoptimized + debuginfo] target(s) in 0.17s
Running `target/debug/iroh-content-tracker query --tracker jfnwg2wbgbgignugsmcl7vd2ywxkvjjkbw4sw7xdfv3mnpcsorgq bafkr4ih7kfrg3q323ujxli24ms4koorxchupucvbauuvfz7mlgzbixd2li`
trying to connect to tracker at PublicKey(jfnwg2wbgbgignug)
connected to [fd15:70a:510b::]:12345
opened bi stream
sending query
Error: read error: connection lost
Caused by:
0: connection lost
1: timed out
I have a very small request/response iroh service in https://github.com/n0-computer/iroh-examples/, specifically https://github.com/n0-computer/iroh-examples/tree/main/content-tracker .
It is a content tracker, but that is besides the issue. Basically you do a connection via node id and region id, then send a very small message, and get back a very small response.
I found that this does not work reliably without the inclusion of the ip addresses. The connection establishment and sending initial data works, but the response never gets through and the connection eventually times out on the sender side.
Sender:
Receiver:
So the msg immediately gets to the receiver, but the response and/or the closing of the stream never arrives.
The text was updated successfully, but these errors were encountered: