stablyai / stablyai/orca

[Bug] Mobile app spins forever when opening SSH-remote sessions (local sessions work)

Open
#17,367 2 comments 0 reactions 1 assignee Claimed by @Jinwoo-H View on GitHub
bug
Dominant language
TypeScript
Stars
71.3k
Forks
4.7k
Avg merge
14h 54m
Merged PRs (30d)
520

Description

[![timesir](https://cdn.discordapp.com/avatars/824931344479551509/null.webp?size=40)](https://discord.com/channels/1492228674081263786/1543533844471226368/1543533844471226368) [timesir](https://discord.com/channels/1492228674081263786/1543533844471226368/1543533844471226368) `via Discord`

Environment

- Desktop (Mac): Orca 1.4.192
- Mobile: Orca 0.0.46 (also reproduced on 0.0.37)
- Connection: phone and Mac on the same LAN; phone paired to the Mac via QR code
- Remote backend: sessions run on a remote server over SSH

Steps to reproduce

1. On the Mac, have both a local session and a remote (SSH server) session running.
2. On the phone, scan the QR code and connect to the Mac. The project list loads and all items show green (healthy).
3. On the phone, tap the local session → opens and renders correctly.
4. On the phone, tap the remote (SSH) session → infinite spinner, never renders.

Actual behavior

Remote (SSH) sessions spin forever on the phone. Local sessions are unaffected. The desktop app renders both without issue.

Diagnostics collected on the Mac (during the spin)
Network and transport were verified to be healthy — the spinner is not caused by an unreachable host or a broken connection:

- Phone ↔ Mac (port 6768): a single stable ESTABLISHED connection, no churn/reconnect loop over repeated sampling.
192.168.66.236:6768 -> 192.168.66.184:52310 (ESTABLISHED) # stable across all samples
- Data is actively flowing to the phone during the spin: Orca's outbound bytes on 6768 grew steadily (~4.6 KB/s; ~293 KB sent over 64s), with the phone sending normal acks (~430 B/s inbound). So the phone is receiving a data stream — it just never completes rendering the remote session.
- The only loopback-only listener (127.0.0.1:50899) had zero active connections during the spin, so the remote-session stream is not stuck behind a localhost-only channel the phone can't reach.
- Mac → remote server SSH is reachable and has active connections.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.