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]: Terminal subprocesses (Node) can't reach LAN IPs — missing Local Network permission entry #18900
Processes run inside Orca's integrated terminal cannot make outbound connections to private LAN IP addresses (e.g. 192.168.x.x) using Node.js, even though the same request succeeds via curl in the same terminal, and succeeds via Node when run from a different terminal app (WezTerm) on the same machine. The root cause appears to be that Orca is missing from macOS's Local Network permission list under System Settings → Privacy & Security → Local Network — it's not merely disabled there, it doesn't appear at all, so macOS never prompted for it.
Environment
macOS 27.0 (build 26A5425a)
Orca version: 1.4.188 (running process), 1.4.197 (currently installed per Info.plist)
Node v22.21.1
Terminal comparison: WezTerm (works) vs. Orca integrated terminal (fails)
Repro steps
In Orca's terminal, run a Node script that does fetch('http://<LAN-IP>:<port>/...') against a device on the local network.
In the same Orca terminal session, run curl http://<LAN-IP>:<port>/... — this succeeds.
Run the identical Node script from WezTerm (or Terminal.app) — this succeeds.
Check System Settings → Privacy & Security → Local Network — Orca is not listed as an app with (or without) this permission.
Expected behavior
Orca (or its terminal subprocess host) should register with macOS's Local Network TCC service so it appears in Privacy & Security settings and can be granted access, allowing Node/other subprocesses run inside Orca's terminal to reach LAN devices like curl and other terminal apps can.
Additional notes
This is easy to misdiagnose, since the failure looks identical to a network/routing/VPN problem (I initially suspected Tailscale, which does run on this machine, but ruled it out — the failure persists identically with Tailscale fully stopped).
Workaround: run dev servers that need LAN access from a different terminal app (e.g. WezTerm) instead of Orca's built-in terminal.
Resolved after restarting Orca's terminal daemon and accepting the macOS Local Network prompt.
What we verified:
The installed/UI app was 1.4.197, but the detached terminal daemon was still 1.4.188. This is intentional while the daemon owns live terminal sessions, so an app update does not kill running work.
Before the restart, the supplied endpoint reproduced the report: Node returned EHOSTUNREACH while curl returned HTTP 200.
After Settings → Terminal → Manage Sessions → Restart daemon, the daemon was confirmed as 1.4.197.
The first request from the fresh daemon caused macOS to display the Local Network permission prompt. After allowing it, both Node and curl returned HTTP 200 from an Orca terminal.
So this was not fixed by a code change between 1.4.188 and 1.4.197. The update preserved the old daemon and its existing macOS responsibility context; restarting it created a fresh attribution context and allowed macOS to prompt. No additional packaging change is justified by this reproduction.
Recovery if this recurs after an update: finish or save terminal work, restart the daemon from Manage Sessions, allow Local Network access when prompted, and retry.
Activity
[-]Terminal subprocesses (Node) can't reach LAN IPs — missing Local Network permission entry[/-][+][Bug]: Terminal subprocesses (Node) can't reach LAN IPs — missing Local Network permission entry[/+]songsterq commentedon Sep 5, 2026
Resolved after restarting Orca's terminal daemon and accepting the macOS Local Network prompt.
What we verified:
EHOSTUNREACHwhile curl returned HTTP 200.v1.4.188..v1.4.197found no Orca Local Network/TCC fix. Both versions already containNSLocalNetworkUsageDescription, and the relevant terminal TCC attribution/recovery work predates 1.4.188 (Fix macOS TCC attribution for terminal children via login(1) #7003, fix(macos): recover severed terminal TCC attribution after updates #13992, fix(macos): stop reporting every app update as severed TCC attribution #14655).So this was not fixed by a code change between 1.4.188 and 1.4.197. The update preserved the old daemon and its existing macOS responsibility context; restarting it created a fresh attribution context and allowed macOS to prompt. No additional packaging change is justified by this reproduction.
Recovery if this recurs after an update: finish or save terminal work, restart the daemon from Manage Sessions, allow Local Network access when prompted, and retry.