ChatGPT iOS app fails to connect to Linux Codex remote-control host over SSH/Tailscale while macOS Codex App works

Resolved 💬 2 comments Opened May 25, 2026 by LinusAurel Closed May 25, 2026

What issue are you seeing?

Environment:

  • Debian Linux host
  • Tailscale networking
  • SSH enabled and working
  • Codex CLI tested on:
  • 0.130.0
  • 0.132.0
  • 0.133.0
  • ChatGPT iOS app fully updated
  • macOS Codex App works correctly against the same host

Observed behavior:

  • ChatGPT iOS app repeatedly reconnects and eventually reports “The network connection was lost”
  • SSH logs show successful authentication and session creation from the iPhone app
  • The iPhone app successfully invokes:
  • codex --version
  • codex app-server proxy
  • No SSH/network/authentication failures occur

Important findings:

  • macOS Codex App can connect successfully to the same Debian host using the same SSH/Tailscale setup
  • Therefore the Linux remote-control server path itself appears functional
  • The issue appears specific to the ChatGPT iOS remote-control client

Additional regression:

  • Codex 0.133.0 with remote_control = true causes:

Invalid request: invalid type: string ":workspace", expected internally tagged enum PermissionProfileSelectionParams

  • Disabling remote_control avoids this local crash
  • Downgrading to 0.130.0 and 0.132.0 avoids the local crash, but iPhone still cannot connect

Relevant logs:

  • SSH sessions open/close successfully from iPhone
  • codex app-server proxy is invoked successfully
  • No fatal app-server logs appear
  • Tailscale connectivity verified

What steps can reproduce the bug?

  1. Install Codex CLI on a Debian Linux host
  2. Enable:

[features]
remote_control = true

  1. Connect the host and iPhone to the same Tailscale network
  2. Add the Linux host as an SSH connection inside the ChatGPT iOS app
  3. Connect successfully from the macOS Codex App using the same SSH/Tailscale configuration
  4. Attempt to connect from the ChatGPT iOS app

Result:

  • The iPhone app repeatedly reconnects and eventually reports “The network connection was lost”
  • SSH authentication succeeds
  • codex app-server proxy is invoked
  • No usable remote session is established

What is the expected behavior?

The ChatGPT iOS app should establish a working remote Codex session against the Linux SSH host, matching the behavior of the macOS Codex App using the same SSH/Tailscale configuration.

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗