-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Use "ir.testrun.org" as default iroh relay #5609
Conversation
src/peer_channels.rs
Outdated
RelayMode::Default | ||
} | ||
#[cfg(not(test))] | ||
RelayMode::Disabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should at least print a big warning in this case, given that iroh won't work in this setup with deltachat currently
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented about this in the issue aswell
9e14e69
to
37c771d
Compare
The JSON-RPC python tests are failing because we can't set [cfg(test)] there. Maybe we can compile json-rpc-server with |
src/peer_channels.rs
Outdated
} | ||
#[cfg(not(test))] | ||
RelayMode::Custom(RelayMap::from_url( | ||
Url::parse("ir.testrun.org").unwrap().into(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be https://iroh.testrun.org:4443
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing plain URL without https://
results in "called Result::unwrap()
on an Err
value: RelativeUrlWithoutBase"
What's the status of this PR? The code looks good to me, but I didn't really follow iroh developments. I rebased in order to test whether the tests pass. |
There is still discussion in the related issue |
ir.testrun.org simply does not exist and currently used chatmail server points to iroh.testrun.org:4443 from metadata so fallback is not tested by CI. |
close #5591