Android Remote connects to macOS host, then immediately closes every client session
What version of the ChatGPT / Codex app are you using?
- macOS ChatGPT desktop:
26.818.31338 - Bundled app-server:
codex-cli 0.148.0-alpha.9 - Android ChatGPT:
1.2026.223 (20)
What platform are you using?
- Host: Intel MacBook running macOS Sequoia
15.7.8 (24G824) - Controller: Android 16, OnePlus 13 / CPH2653
What issue are you seeing?
ChatGPT Remote pairing succeeds, and the Android device appears under:
Settings → Connections → Control this Mac
The Android app shows the Mac host (MBP-Artyom.local), but selecting it always fails with:
Could not connect to ChatGPT for desktop
The host Remote WebSocket connects successfully and remains connected:
remote control websocket status changed
previous_status=Connecting next_status=Connected
connected to app-server remote control websocket
websocket_url=wss://chatgpt.com/backend-api/wham/remote/control/server
However, every attempted Android Remote connection reaches the host relay and is immediately closed:
forwarding remote control connection closed transport event connection_id=...
There are no host-side 401, 403, 409, TLS, timeout, or Remote WebSocket disconnect errors.
What I tried
- Updated both macOS and Android ChatGPT apps.
- Revoked the Android device on the Mac and paired again with a new QR code.
- Cleared ChatGPT app data on Android, signed in again, and paired again.
- Reset the host-side
remote_control_enrollmentsstate and created a fresh pairing. - Confirmed the host app is open, awake, online, and Remote Control is enabled.
- Reproduced the same failure on multiple independent mobile network paths.
Expected behavior
After pairing, the Android Remote screen should connect to the macOS host and allow viewing or controlling its chats/projects.
Actual behavior
The Android app recognizes the host but cannot open it. The Remote client connection reaches the host relay and closes immediately.
Additional context
This does not appear to be a local routing or general WebSocket problem:
- The macOS host has a stable connected Remote WebSocket to OpenAI.
- Android maintains normal ChatGPT/OpenAI connections.
- The same failure reproduces across unrelated mobile network paths.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I can reproduce the same failure with a Windows host.
Host:
Pairing succeeds and the desktop Remote WebSocket connects to OpenAI. When Android tries to open the host, the desktop log records:
forwarding remote control connection closed transport event connection_id=...The Android app then shows
Transport unavailableorFailed to connect to ChatGPT desktop.I confirmed:
The host WebSocket remains connected. Each Android client transport reaches the host relay and closes within seconds. This appears to reproduce the same Android Remote transport failure on Windows.