openai / openai/codex

[Windows–Android Remote Control] Pairing fails after QR/deep link and client list remains empty

Open
#44,825 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app auth bug remote windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

Codex

What subscription do you have?

Pro

What platform is your computer?

No response

What issue are you seeing?

I am unable to pair the ChatGPT Android app with Codex Remote Control on Windows.

Environment:

  • Windows build: 10.0.22621.4317
  • Codex desktop app: 26.903.9818.0
  • Android device: POCO F4
  • Android version: 14
  • ChatGPT Android app: 1.2026.244, installed from Google Play
  • Workspace: Personal
  • Both devices use the same ChatGPT account and workspace

Steps to reproduce:

  1. Open Codex on Windows.
  2. Go to Settings > Connections > Control this PC > Add.
  3. Generate a new pairing QR code or manual pairing code.
  4. Open Remote in the ChatGPT Android app.
  5. Scan the QR code or enter the manual code.
  6. Continue through the deep link in the ChatGPT app.

Expected result:
The Android device should be authorized and the Windows host should appear in Remote.

Actual result:
The deep link opens correctly, but the Android app returns to:
“Pairing failed — Something went wrong while pairing.”

The Windows app successfully starts the pairing session, but the device is never registered. The desktop logs repeatedly show:

  • remoteControl/pairing/start: errorCode=null
  • remoteControl/client/list: errorCode=null
  • nextConnectionCount=0
  • previousConnectionCount=0

Troubleshooting already performed:

  • Restarted both the PC and Android phone
  • Signed out and signed back in on both devices
  • Confirmed the same account and Personal workspace
  • Tested with only one desktop window open
  • Tested multiple fresh manual pairing codes
  • Tested both Android and iOS QR-code tabs
  • Tested the native Xiaomi QR scanner
  • Confirmed that the deep link opens the ChatGPT app
  • Confirmed no VPN, HTTP proxy, or Private DNS is active
  • Confirmed Android Verified Boot is green and the bootloader is locked
  • Confirmed the ChatGPT app was installed from Google Play
  • Confirmed that Windows can reach the Remote Control service

This appears to be a server-side authorization or Windows–Android Remote Control regression. Please check the remote-control authorization state for my account or confirm whether this is a known issue.

No pairing codes are included because they are temporary authentication credentials.

What steps can reproduce the bug?

Feedback ID: 01a08e05-d812-7140-9563-d8ed50d82ded

What is the expected behavior?

No response

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at Settings > Connections > Control this PC > Add and reproduce pairing with a fresh QR or manual code. Compare the Windows logs for remoteControl/pairing/start and remoteControl/client/list, including the connection counts, while following the Android deep-link flow. Done means the Android device is authorized, appears in Remote, and pairing no longer fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
authentication, desktop-dev, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.