Skip to content

[Android] Codex Remote pairing fails after successful browser authorization on two phones; iOS succeeds #60552

Open

Description

@SairaFish

Summary

Codex Remote pairing fails on two separate Android devices after completing the browser authorization flow. Both QR and manual pairing fail. The same Mac desktop host and ChatGPT account pair successfully from iPhone, suggesting an Android-specific enrollment/authorization handoff issue.

Environment

  • Desktop host: Mac (exact Codex desktop build not collected)
  • Android ChatGPT: 1.2026.307, installed from Google Play
  • Two different Android devices tested (second device version not collected)
  • iPhone ChatGPT: successful control test with the same Mac

Steps to reproduce

  1. On the Mac, initiate Codex Remote phone pairing and generate a fresh QR code.
  2. On Android, scan the QR code.
  3. Complete authorization in the browser.
  4. Browser redirects back to the ChatGPT Android app.
  5. Android reports pairing failure / QR code expired and asks to generate a new QR code.
  6. Retry with manual pairing: also fails.
  7. Repeat on another Android phone: same failure.
  8. Pair from iPhone against the same Mac: succeeds.

Expected

Android phone is enrolled after authorization and can control the desktop Codex session.

Actual

Authorization web flow completes and returns to Android, but pairing fails. Both QR and manual methods fail on two Android phones. iOS succeeds.

Notes

This is a user-reported reproduction; no Android logs, exact Mac Codex build, or backend response codes have been collected. Browser redirect succeeding does not independently prove the backend accepted OAuth or enrollment. Please inspect Android callback-to-enrollment processing and server rejection details.

Related: #46099 and #49271.

No QR contents, auth tokens, account identifiers, or private logs are included.

Activity

  1. added
    bug
    app
    auth
    on Nov 10, 2026
  2. github-actions commented on Nov 10, 2026

    @github-actions
    Contributor
  3. aj-dudu commented on Nov 10, 2026

    @aj-dudu

    Adding a Windows + vivo Android reproduction to this issue.

    Environment

    • Windows Codex desktop: 26.1103.7773.0
    • ChatGPT Android: 1.2026.307
    • Phone: vivo (exact model/Android OS version not collected)
    • Same ChatGPT login email on desktop and Android; Plus account
    • CokeCloud proxy used on both devices

    Observed behavior

    1. Generate a fresh pairing QR code on Windows Codex.
    2. Scan it on Android and complete browser authorization.
    3. Browser automatically redirects back into the ChatGPT Android app.
    4. After a few seconds, Android displays a pairing error ("配对时出错了").
    5. Windows Codex stays on the QR-code pairing screen.
    6. Manual pairing code also fails.

    Troubleshooting attempted without success

    • Tried different Android browsers (vivo browser and Edge).
    • Verified Android supported-app-links setting.
    • Signed out of Android ChatGPT and signed back into the same account.
    • Retried with fresh pairing codes.
    • Verified HTTPS connectivity to chatgpt.com via local HTTP proxy (HTTP 200).
    • Set Codex experimental respect_system_proxy = true.
    • Launched desktop Codex with HTTP_PROXY and HTTPS_PROXY set to the local proxy.
    • Tested Android CokeCloud in both rule-based and global modes.
    • Checked Windows Application event log; no relevant application errors surfaced.

    This reproduces the Android failure on a Windows host as well as the Mac-host report above. Browser redirect succeeds, but we cannot determine from the UI whether enrollment or backend authorization is rejected. Please advise how to capture a safe diagnostic/request ID or check the Android callback-to-enrollment path. No tokens, QR codes, or account identifiers included.

  4. xie374059-sys commented on Nov 11, 2026

    @xie374059-sys

    你这个对照做得很干净:同一台 Mac、同一个账号,iPhone 一次成功、两台安卓都失败,问题就不在账号和 Mac 端。卡住的位置也不在授权——浏览器授权已经走完了,断的是授权完成后跳回 App、向服务端登记设备的那一步。“二维码过期”只是表象,手动配对也失败就说明不是码的问题。

    建议先确认一格:授权完成后,浏览器到底有没有跳回 ChatGPT App 里——如果跳回后停在浏览器里没进 App,就是回调接手的问题;如果进了 App 才报失败,就是登记那一步被拒了。另外可以在一台安卓上清一次 ChatGPT App 的缓存(或重装一次)再配,排除本机残留状态;再把 Mac 端 Codex 桌面版的版本号、安卓 App 的版本号和失败时的准确提示补到帖子里,没日志官方也难定位。帖子里提到的 #46099、#49271 是同类配对问题,可以对照一下是不是同一处断的。

    更细的可以私信我,把报错截图发我看一眼,先诊断再说治。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appauthbugremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions