Repository navigation
Description
Summary
Codex Remote Control pairing appears to succeed on Android, but the device never becomes visible/connected.
The Android app shows a success toast after entering the pairing code, then immediately returns to a screen saying that no devices are connected.
The Linux host remains healthy and connected to the Remote backend throughout.
Environment
Host:
- Ubuntu 26.04 LTS
- Codex CLI: 0.150.1
- Remote Control started via CLI daemon mode
Mobile:
- Android
- ChatGPT app: 1.2026.230
Reproduction
- Start Remote Control:
codex remote-control startOutput:
Starting app-server daemon with remote control enabled...
This machine is available for remote control as <hostname>.
- Verify status:
codex remote-control start --jsonRelevant result:
{
"mode": "daemon",
"status": "connected",
"environmentId": "<redacted>",
"timedOut": false,
"daemon": {
"status": "alreadyRunning",
"cliVersion": "0.150.1",
"appServerVersion": "0.150.1"
}
}- Generate a pairing code:
codex remote-control pair-
Enter the code in ChatGPT Android.
-
Android shows a toast indicating that pairing succeeded.
-
The Remote screen still says that no devices are connected.
-
Reopening/force-stopping the Android app does not help.
-
Repeating the test over both Wi-Fi and mobile data produces the same result.
Host-side diagnostics
With:
RUST_LOG=trace codex remote-control startthe host successfully reaches chatgpt.com, creates the pairing request, receives a valid manual pairing code and environment ID, and maintains an active WebSocket connection.
The Remote backend continues exchanging healthy:
ping
pong status="active"
ack
messages.
Example pattern:
remoteControl/pairing/start
...
connection is ready
...
pairingCode: <redacted>
manualPairingCode: <redacted>
environmentId: <redacted>
...
Received message {"type":"ping", ... "state":"background"}
Sending ... {"type":"pong","status":"active", ...}
Received message {"type":"ack", ...}
However, after Android reports "pairing succeeded", no obvious device attach / pairing claim event appears in the host trace.
Additional behavior
Sometimes running:
codex remote-controlprints:
Error: Remote control is enabled on <hostname> but the connection is errored.
while at the same time:
codex remote-control start --jsonstill reports:
"status": "connected"So there may also be a state inconsistency between the interactive Remote Control command and the daemon/backend connection state.
Expected behavior
After entering the pairing code successfully, the Linux host should appear as a connected Remote device in the Android ChatGPT app.
Actual behavior
Pairing success is acknowledged by the Android UI, but the host never appears as connected.
Notes
The host-side connection appears healthy:
- pairing request succeeds
- WebSocket remains connected
- ping/pong/ack continue normally
- environment ID is stable
- changing Wi-Fi/mobile network does not affect the issue
This looks like the failure may occur after pairing acceptance, during device claim/attach/registry propagation on the Android/backend side.
Possibly related
There are other recent Remote Control reports involving:
- Android pairing/attach failures
- stale or missing Remote device lists
- regressions around ChatGPT mobile 1.2026.230
- Remote Control reporting
erroreddespite a connected backend session
I can provide a sanitized trace log if useful.
Activity
github-actions commentedon Aug 30, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
ivanceb26 commentedon Sep 9, 2026
I am seeing the same issue with a Linux/Ubuntu remote host and the ChatGPT Android app.
Host:
backend
Android:
Observed behavior:
codex remote-control pair.Transport unavailable.I already updated/restarted the Codex Remote Control bridge and restarted the managed app-server
daemon. I also confirmed that both now run Codex 0.154.0. Re-pairing still does not make the host
visible in Android.
This looks like pairing succeeds, but the Android client never completes the device claim/attach
step. Is this a known Linux host + Android Remote regression, or is there additional host-side
tracing I can provide?
tanakarin commentedon Sep 11, 2026
Clearing both the cache and app storage for the ChatGPT Android app resolved the connection issue for me. After signing in again and pairing the device, I was able to connect successfully.
inv1sible commentedon Sep 11, 2026
I tested this on another Linux host.
My result was similar, but materially different from the original report:
However, I could independently reproduce the status inconsistency mentioned in this issue.
For more than six minutes, these two commands reported contradictory states at the same time:
reported:
while:
reported:
This was persistent rather than a brief transition state.
There was one important confounding factor during the Android pairing test: the managed app-server automatically updated from
0.149.0to0.154.0during the pairing window. Android briefly showed a connection error around that time, so that transient mobile failure may have been caused by the app-server restart/update rather than the original claim/attach bug.Afterwards, Remote Control became usable and a real remote session worked successfully.
So my classification would be:
I also captured sanitized host-side diagnostics and can provide the relevant trace excerpts if useful.
ogtega commentedon Oct 18, 2026
Additional reproduction: macOS 27.0.1 / arm64 / Codex CLI 0.163.0
I can reproduce inconsistent Remote Control status reporting on macOS without the Codex desktop application installed.
Environment
pidbackend)Consecutive command results
The daemon was already running when the second command returned
connected.Additional diagnostic context
Earlier transport logs repeatedly reported:
The later
start --jsonresult contained a successfully assignedenvironmentId.Actual behavior: One command reports an errored connection while another reports connected, and real iPhone remote interaction is functional.
Expected behavior: Both commands should consistently represent the current Remote Control connection state or clearly distinguish the different states being reported.
This may be a status-query inconsistency, stale connection state, or a mismatch between enrollment and transport status. The underlying cause has not been established.