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
{{ message }}
Repository navigation
[Bug]: Relay pairing unreachable from mainland-China cellular networks (director on ghs.googlehosted.com; cell DNS poisoned on major resolvers); mobile shows only a generic timeout #10405
macOS 15.6.1 (Apple Silicon) desktop + iOS mobile app
Orca version
v1.4.153-rc.3
Details
Short summary
Orca Relay pairing cannot complete from mainland-China cellular networks, even when the desktop side is fully healthy and registered. The relay endpoints' current hosting/DNS setup makes them either poisoned or unreachable for clients on Chinese consumer networks without a tunnel, and the mobile app only surfaces a generic timeout.
This is an infrastructure/reachability report, complementary to #10401 (clock-skew host-proof) and #10404 (TUN fake-ip pairing address) which were diagnosed on the same setup.
Desktop-side state (verified healthy)
Broker registered: a stable, long-lived control connection to c2.relay.onorca.dev with ongoing traffic.
Pairing offer decoded and verified: correct LAN endpoint, cellUrl: https://c2.relay.onorca.dev, live invite.
The desktop's own path works because it goes through a local TUN proxy.
Mobile-side observations (China Mobile-type 4G, no tunnel)
https://c2.relay.onorca.dev/health from the phone browser: returns ok (plain GET reachable).
Scanning a fresh, valid QR: the client times out, and on the desktop side the device's lastSeenAt stays 0 and the relay cell never opens a host data channel — i.e. the client never reached the cell's WebSocket path or never completed invite redemption.
relay.onorca.dev and login.onorca.dev are CNAME to ghs.googlehosted.com, resolving to 142.250.x / 172.253.x / 74.125.x — Google frontend ranges that are broadly blocked on mainland consumer networks. A phone on 4G that needs the director for invite redemption/assignment cannot reach it directly.
c2.relay.onorca.dev is A-record to 34.36.233.235 (GCLB), which happens to be reachable — but on some major public resolvers it is poisoned: 223.5.5.5 / dns.alidns.com return 112.121.185.x, a server that presents a mismatched certificate and redirects to baidu.com. Carrier resolvers frequently share upstreams with these.
Result: whether pairing fails at the director hop or at the cell WebSocket depends on the carrier, but bare cellular reliably fails while plain GET /health against the cell can still succeed — which makes the failure look random to users.
Impact
Users behind restricted networks are precisely the population that most needs Relay over LAN pairing. Today the only workaround is running a proxy/VPN on the phone (or Tailscale + LAN mode). The mobile app gives no indication of which hop failed.
Suggestions
Avoid fronting the director/auth endpoints on ghs.googlehosted.com; any hosting whose IP ranges are not broadly blocked (or a multi-CDN front) would materially improve reachability.
Ship #8999 (custom/public secure tunnel pairing endpoints) — self-hosting a reachable relay is the robust long-term answer for this user population, together with the #7575 guide.
Mobile-side diagnostics: distinguish "director unreachable", "cell WebSocket failed", and "invite expired" instead of a generic timeout, so users and issue reports can localize the failing hop.
Activity
nwparker commentedon Jul 27, 2026
Repro status: skipped (environment blocked)
Relay pairing from mainland-China cellular networks — needs China-carrier mobile + live relay DNS/poisoning environment.
Not labeling
cannot_repro— needs the blocked environment to attempt a full repro.