Skip to content

[Bug]: Terminal subprocesses (Node) can't reach LAN IPs — missing Local Network permission entry #18900

Closed

Description

@songsterq

Summary

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

  1. In Orca's terminal, run a Node script that does fetch('http://<LAN-IP>:<port>/...') against a device on the local network.
  2. Observe the fetch fails with EHOSTUNREACH:
    TypeError: fetch failed
      [cause]: Error: connect EHOSTUNREACH <LAN-IP>:<port> - Local (<local-ip>:<port>)
    
  3. In the same Orca terminal session, run curl http://<LAN-IP>:<port>/... — this succeeds.
  4. Run the identical Node script from WezTerm (or Terminal.app) — this succeeds.
  5. 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.

Activity

  1. changed the title [-]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[/+] on Sep 5, 2026
  2. songsterq commented on Sep 5, 2026

    @songsterq
    Author

    Resolved after restarting Orca's terminal daemon and accepting the macOS Local Network prompt.

    What we verified:

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions