From 3e4781c4afd33bba2bf4a3abdc0d57bda22be889 Mon Sep 17 00:00:00 2001 From: Patrick Ecord Date: Mon, 22 Jun 2026 02:22:29 -0500 Subject: [PATCH] core: bound rendezvous_register with an 8s timeout (was hanging iOS) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit reqwest::Client::new() has no default timeout, so a slow/unreachable rendezvous wedged IrohTransport.start() right after coming online — the transport never reached "bootstrapping"/"joined topic". This is what hung the iOS app (both the device and the simulator) while the macOS agent happened to be fast enough not to notice. Build a client with an 8s timeout and add a "transport ready; registering" log to pinpoint it. With the fix, the iPhone joins the gossip topic in seconds and clipboard syncs phone⇄Mac over iroh (verified on device + simulator). Co-Authored-By: Claude Opus 4.8 --- core/src/iroh.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/src/iroh.rs b/core/src/iroh.rs index 80efe43..080fc47 100644 --- a/core/src/iroh.rs +++ b/core/src/iroh.rs @@ -99,7 +99,12 @@ async fn rendezvous_register(server: &str, room: &str, my_id: &str) -> Vec