openai / openai/codex

Remote QR pairing fails after removing previously paired iPhone

Open
#45,804 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Problem

Remote pairing previously worked successfully between my iPhone and Windows computer.

After I manually removed the paired iPhone from Settings > Connections in the Windows app, I could no longer pair it again. Scanning a newly generated QR code causes the iPhone to load briefly and then display:

Pairing failed. There was a problem pairing. Please scan the code again.

The Windows paired-device list remains empty.

Steps to reproduce

  1. Open the ChatGPT desktop app on Windows.
  2. Go to Settings > Connections > Control this PC.
  3. Enable “Allow connections” and “Keep this computer awake.”
  4. Select “Add” to generate a new QR code.
  5. Scan the QR code using the iPhone camera.
  6. Open the link in the ChatGPT iPhone app.
  7. Wait while pairing is attempted.
  8. The iPhone displays “Pairing failed,” and no device is added on Windows.

Expected behavior

The iPhone should pair successfully with the Windows host. The computer should appear under Remote on the iPhone, and the iPhone should appear in the Windows paired-device list.

Troubleshooting completed

  • Same personal ChatGPT Plus account and workspace on both devices
  • Signed out and signed back in on both devices
  • Deleted and reinstalled the iPhone app
  • Reinstalled the Windows desktop app
  • Used Windows Advanced Options > Reset to clear the desktop app data
  • Confirmed that the Windows paired-device list is empty
  • Generated and scanned multiple new QR codes
  • No Windows proxy or VPN is enabled
  • Tested another Wi-Fi/network with the same result

System information

  • Windows 11, 64-bit
  • Codex App version: 26.908.70816
  • Subscription: ChatGPT Plus
  • Mobile device: iPhone
  • Both apps are updated to the latest available versions

Pairing worked before the iPhone was manually removed. This may be caused by a stale server-side device pairing or host registration associated with the account.

Feedback ID: no-active-thread-01a0a71d-0d6c-7e50-bd18-11b3c7ea5bbc

Image Image

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

No source file or test is named. Reproduce the QR pairing flow in the Windows and iPhone apps using the listed account, reset, and network conditions, then trace where pairing is rejected after device removal. Done means the previously removed iPhone can pair again and both device lists show the connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
desktop-dev, mobile-dev, networking
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.