Repository navigation
Description
Operating system
macOS 15.6.1 (Apple Silicon)
Orca version
v1.4.152
Details
Short summary
Orca Mobile Relay remains unavailable and generated pairing codes are downgraded to LAN-only, even though the cloud auth endpoint, Relay director, and assigned Relay cell are reachable. Restarting the proxy and switching all *.onorca.dev traffic from a proxy route to DIRECT does not recover the Relay broker.
The UI shows:
Relay could not be reached — this code only works on your local network. Regenerate to try again.
Reproduction
- Sign in to an Orca cloud-linked profile.
- Open Settings -> Mobile.
- Select Orca Relay and generate or regenerate a pairing code.
- Observe that Relay is marked unavailable and the QR code contains only the LAN WebSocket endpoint.
- Regenerate again; the state remains unavailable.
Network diagnostics
The desktop uses ClashX Pro in TUN/Fake-IP mode.
Initially there was no Orca-specific rule, so Relay traffic matched the final proxy group. Clash logs showed successful TCP connections for the complete startup sequence:
login.onorca.dev:443relay.onorca.dev:443c2.relay.onorca.dev:443
As an A/B test, this rule was inserted as the first rule and ClashX was restarted:
- DOMAIN-SUFFIX,onorca.dev,DIRECTClash then confirmed the expected match:
rule=DomainSuffix(onorca.dev) proxy=DIRECT
The Relay UI remained unavailable, so bypassing the proxy did not resolve the failure.
Additional checks:
https://relay.onorca.dev/healthreturns HTTP 200.https://c2.relay.onorca.dev/healthreturns HTTP 200.- The cell WebSocket control endpoint is reachable through TUN, an explicit proxy, and a bound direct interface; without credentials it returns the expected HTTP 401.
- The local Orca listener is healthy on both loopback and the LAN address.
This suggests the failure occurs after basic network/TLS reachability, during Relay broker setup or the control upgrade/host-proof phase.
Source correlation
The installed v1.4.152 code appears to have both failure modes addressed by recently merged changes:
- fix: recover Relay broker startup after transient failures #10147 adds bounded retry after transient cloud session, token exchange, assignment, and control-open failures. In v1.4.152, the coordinator catch path only publishes
offlineand does not schedule another attempt. - fix: bound Relay desktop setup handshakes #10260 adds 15-second deadlines to token exchange, assignment, and the control upgrade/host-proof handshake. In v1.4.152, a pending control setup promise has no deadline.
The description in #10260 closely matches this behavior: Relay can fall back to a LAN-only QR and recover only after fully quitting Orca for a short period. Both changes were merged after the currently installed stable release.
A full Orca process restart is the next workaround to test, but it was intentionally deferred while active agent and terminal sessions were running.
Expected behavior
- A transient Relay setup failure should settle and retry without requiring a full Orca restart.
- The Mobile settings page should expose the failed phase or a bounded diagnostic reason, such as token exchange, assignment, control upgrade, or host proof, instead of only reporting Relay unavailable.
- Proxy bypass rules such as
DOMAIN-SUFFIX,onorca.dev,DIRECTmay be useful troubleshooting guidance, but they should not be presented as the fix when all Relay endpoints are already reachable.
Activity
wohsj110 commentedon Jul 24, 2026
Architectural reference and expected product behavior
Paseo provides a useful reference for the user-facing contract of a remote relay: both the desktop daemon and mobile client make outbound WebSocket connections to an untrusted rendezvous relay; QR pairing establishes the endpoint identity/public key; application traffic remains end-to-end encrypted. This avoids inbound ports, NAT traversal, and a mesh VPN requirement.
Reference: https://paseo.sh/docs/security#relay-connections-recommended
This is broadly the architecture requested in #7208. The important difference exposed by this bug is resilience: a transient Orca broker/bootstrap failure currently makes Relay unavailable and downgrades the generated QR to LAN-only, even though the network endpoints are reachable.
LAN/Tailscale is not an equivalent fallback on mobile. On iOS and many Android configurations, Tailscale competes for the system VPN slot with an existing proxy or work VPN. Requiring users to switch VPNs removes much of the value of a mobile companion.
Suggested behavioral contract:
reconnectingordegraded, rather than permanently turning the pairing offer into LAN-only until the app restarts.The goal is not to copy Paseo implementation code. It is to adopt the same simple connectivity contract while preserving Orca device revocation, scopes, and existing E2EE model.
nwparker commentedon Aug 23, 2026
Closing because both failure modes were fixed in PRs #10147/#10260; report predates them.
Disagree? Please respond! I will re-visit this ticket in 5 days. If you respond, I will re-open it 🙏.