Remote Control enrollment never completes on Windows
What version of the Codex App are you using (From “About Codex” dialog)?
26.623.101652
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 11 64-bit
What issue are you seeing?
Codex Remote Control enrollment fails on Windows.
The desktop app shows:
“Pairing code unavailable: remote control pairing is unavailable until enrollment completes.”
The enrollment never completes, so no pairing code or QR code is generated.
I tested the following:
- Multiple ChatGPT accounts, including a new account
- A completely new Windows user profile
- Home Ethernet connection
- Mobile hotspot connection
- MFA enabled
- Signing out and signing back in
- Repairing and reinstalling the ChatGPT/Codex Windows app
- Clearing the local Remote Control enrollment state from .codex-global-state.json
- Installing the latest Wi-Fi driver
- Running the Windows user profile as Administrator
- Allowing devices to control the computer when prompted
The same error remains on every account and network.
The application logs also showed:
“remote control websocket reader disconnected”
“WebSocket protocol error: Connection reset without closing handshake”
“remote control websocket writer was stopped”
The issue appears to occur while registering this Windows computer as a Remote Control host.
Latest Feedback ID:
no-active-thread-019f4e62-876a-7c51-911a-590ab2f47743
What steps can reproduce the bug?
Feedback ID: no-active-thread-019f4e62-876a-7c51-911a-590ab2f47743
What is the expected behavior?
_No response_
Additional information
_No response_
10 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Happening in MacOS too
Update: it was happening in app after i had set two-factor auth in the web; had to log out from the app and log back in to make the issue disappear
I bought Macbook neo and its working fine on the same network and the same account i think its a windows serves issue
I can reproduce the same Windows host-enrollment failure on a newer build.
Pairing code unavailable: Remote control failed to connect, then the app displaysCouldn't update remote control availabilityand switches Allow connections back off.Local evidence:
remoteControl/enablereturns without an app-server error, but immediately afterward repeatedremoteControl/client/listcalls and refreshes produce zero remote-control clients. The PC maintains an outbound connection to OpenAI, so this looks like a remote-control enrollment/relay failure rather than a local network or phone issue.In-app feedback was uploaded successfully:
no-active-thread-019fa3c6-f7eb-75a0-b28b-41fdc314991dI have a 36-second screen recording showing the full failure and can provide it if needed.
Thanks. I will run the requested isolated-network test before resetting the Windows app again.
Already completed before this request:
Current host checks:
The remaining test is to connect the PC to an iPhone hotspot, with Tailscale stopped, then retry Settings > Connections > Control this PC > Allow connections > Add. I will report that result here before considering a Windows app Reset and reboot, since Reset clears local application data.
Result of the requested clean-network test: failed identically.
I connected the Windows PC to an Android cellular hotspot (SSID
Verizon-SM-G930V-7E78, 90% signal), then rantailscale downsuccessfully before reproducing the failure. No proxy, VPN overlay, home router, or TLS-inspection path was active for this attempt.At 09:55 to 09:57 Pacific on July 27, Settings > Connections > Control this PC > Allow connections > Add still showed the same pairing-code failure and turned Allow connections back off.
Fresh logs again show
remoteControl/enablecompleting without an app-server error, immediately followed byrefresh_remote_control_completed ... nextConnectionCount=0and repeatedremoteControl/client/listcalls with no remote-control client. This rules out the requested network, VPN, and proxy conditions.I restored Tailscale afterward. The remaining prescribed local step is a Windows App Reset plus reboot. I will do that next only after confirming it is acceptable because it clears the desktop app cache and sign-in state.
MacOS reproduction: Remote Control pairing unavailable after host enrollment
Environment:
Reproduction:
Pairing code unavailable: remote control pairing is unavailable until enrollment completes.Observed backend/app-server behavior:
Connectedand reportshas_enrollment=true.remoteControl/pairing/startstill returns enrollment incomplete.WebSocket protocol error: Connection reset without closing handshake.Controls already tested:
No public tunnel, proxy, or VPN is involved in this setup. Chat and other Codex functionality work normally. This appears to be a backend enrollment state where the server/environment records exist and the websocket can connect, but the pairing endpoint does not consider enrollment complete.
Fresh macOS retry after restoring a strict single-host state:
Allow connectionsis enabled and Phone is selected.remoteControl/pairing/startreturned error-32600:remote control pairing is unavailable until enrollment completes.fe5f4473-7dad-4299-b3db-fface37c7760.This reproduces after removing the duplicate host condition, so the remaining failure is still the server-side enrollment gate rather than host contention.
I'm having exactly the same issue on Windows. With macOS it works smoothly without any issue.
I am seeing the same issue on Windows 11.
Remote Control shows:
“Pairing code unavailable: remote control pairing is unavailable until enrollment completes.”
I reset the local Remote Control state, including:
After restarting Codex, the state is recreated, but Remote Control still never enrolls.
Current desktop logs repeatedly show:
savedRemoteConnectionCount=0
totalConnectionCount=0
nextConnectionCount=0
previousConnectionCount=0
creationFailureCount=0
The app continuously logs:
refresh_remote_control_started
refresh_remote_control_completed
but never creates a Remote Control connection.
Windows 11, Microsoft Store Codex app.