Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Latest Windows Codex app available as of August 20, 2026. Exact build number unknown.
What platform is your computer?
Windows 11
Phone: Android 17 / Samsung One UI 9
What issue are you seeing?
Codex Remote worked normally between my Windows PC and Android phone.
After I switched between my personal and work accounts, Remote stopped connecting. I have been unable to reconnect for more than two weeks.
The Windows app still shows my PC under Remote and shows the correct recent access time, but my Android phone never completes the connection.
What steps can reproduce the bug?
- Install Codex on Windows and Android.
- Set up Remote and connect successfully.
- Switch from one Codex account to another. In my case, I believe I switched the Windows app first.
- Switch the Android app to the same account.
- Try to reconnect to the Windows PC.
- The connection does not complete.
What is the expected behavior?
Once both devices are signed into the same account and Remote is enabled, the Android phone should connect to the Windows PC again.
Additional information
I have tried:
- Logging out on Android
- Logging out on Windows
- Logging out on both devices
- Switching both devices to the same account
- Reinstalling the Android app
- Removing Remote access on the PC
- Removing the PC
- Disabling and re-enabling the PC in the Android app
- Setting up Remote again
- Using a VPN
- Turning the VPN off
- Using Wi-Fi
- Using LTE/mobile data
The only major thing I have not tried is reinstalling the Windows Codex app.
The problem started after switching between my personal and work accounts.
Possibly related:
Activity
github-actions commentedon Aug 20, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
axusnetworks commentedon Sep 26, 2026
Findings from a reproduction on Linux desktop + Android (ChatGPT Desktop 26.924.22138, ChatGPT Android 1.2026.265). The loop is not resolved yet; these are the stale records found and cleared so far.
Trigger: the desktop app was signed into account B for a while, then signed back into account A (same machine, same Codex home). Phone pairing for account A then looped at "Authorize this phone" (browser sign-in completes, app returns to the same screen, host never sees a claim).
What the backend showed: the desktop's single remote-control installation was registered as an environment under both accounts. Account B still had an offline environment for the same installation ID, left over from when the desktop was signed into B. Account A had its own online environment for that installation. Every failed attempt also left
pending_enrollmentclients on account A (two per attempt) that never completed.What was cleared (not yet confirmed to fix the loop):
DELETE /backend-api/wham/remote/control/environments/{env_id}for the stale environment whoseinstallation_idmatched the desktop now used by account A (HTTP 204).GET .../wham/remote/control/environmentslists them withinstallation_idandonline.remote_control_enrollmentstable (state_5.sqlitein the Codex home), after a backup.pending_enrollmentclients (DELETE .../wham/remote/control/clients/{client_id}).Ruled out along the way: the number of linked phones (all were removed), DNS filtering and TLS interception, and the host's remote-control connection (connected throughout).
Request to OpenAI: when a desktop installation signs into a different account, the backend (or the app) should retire that installation's environment on the previous account, or the phone authorization should report an explicit account/installation conflict instead of silently looping. Related: #36268, #23112.
axusnetworks commentedon Sep 26, 2026
Additional technical detail for the same reproduction (still unresolved):
pending_enrollmentclients about one second apart. Every successful pairing on the same phone, on both accounts, before and after this regression, created exactly one client. This suggests the Android app starts device enrollment twice and then completes (or fails to complete) the wrong one.tt.chatgpt.comlink domain aslegacy_failure. All other ChatGPT and OpenAI domains areverified. The browser redirect still reaches the app'sWebRedirectActivityand thenWebAuthenticationActivity, so the redirect is delivered. Another reporter on [Android] "Authorize this phone" loops forever after ChatGPT app reinstall — web auth completes, app never consumes the approval, host receives zero pairing claims #36268 saw the same state.remoteControl/pairing/startsucceeds, and while the QR code is shown the desktop pollsremoteControl/client/listabout once a second. No enrolled client ever appears, and no pairing claim reaches the host.codex remote-controlprocess sharing the same Codex home was also registered. It stood by with HTTP 409 ("Remote app server already online") while the desktop held the connection. Pausing it during an attempt did not change the result.