core icon indicating copy to clipboard operation
core copied to clipboard

fix: Use "ir.testrun.org" as default iroh relay

Open Septias opened this issue 1 year ago • 4 comments

close #5591

Septias avatar May 20 '24 14:05 Septias

The JSON-RPC python tests are failing because we can't set [cfg(test)] there. Maybe we can compile json-rpc-server with RUSTFLAGS='--cfg test=1', or we can just add an internal config option to use iroh relays. The third option is to check for some env var like IROH_RELAY=b1.testrung.org to choose the iroh relay. I don't really have an opinion on what is best @link2xt

Septias avatar Jun 04 '24 13:06 Septias

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.

Hocuri avatar Oct 20 '24 11:10 Hocuri

There is still discussion in the related issue

Septias avatar Oct 20 '24 12:10 Septias

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.

link2xt avatar Oct 20 '24 12:10 link2xt