Skip to content

Android Codex Remote pairing fails with both QR and manual code #56600

Open

Description

@Qayszubaidi

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

1.2026.286(14),

What subscription do you have?

Pro

What platform is your computer?

Windows x64

What issue are you seeing?

Date: 2026-10-23 (America/Chicago)
Status: unresolved; report prepared locally, not submitted.

Environment

  • Phone: Samsung, Android. Exact model and Android version not collected.
  • ChatGPT Android app: 1.2026.286(14), reported by the user.
  • Desktop: Windows; Codex desktop release 26.1016.62342 observed in app logs.
  • The user confirms the same email address and account on both devices.

Reproduction

  1. Enable remote connections on the desktop app and generate a pairing code.
  2. Open the phone pairing flow and scan the QR code or enter the manual code.
  3. Pairing consistently fails on the phone.

Actual result
The Android app displays:
"Pairing failed"
"Something went wrong while pairing. Try scanning the code again."
The screen offers "Try again" and "Pair manually".

Expected result
The phone pairs with the Windows host and can open the existing Codex task.

Troubleshooting already attempted

  • Repeated QR pairing and manual-code pairing.
  • Restarting the desktop and mobile apps and generating fresh codes.
  • Using cellular data instead of the phone's Wi-Fi: same failure.
  • Clearing only the ChatGPT Android app cache: same failure.
  • Confirming the same account/email on both devices.

Desktop evidence

  • Multiple remoteControl/pairing/start RPC responses have errorCode=null.
  • Recent observed examples: 2026-10-23T17:23:36.792Z and 2026-10-23T17:23:52.848Z.
  • No matching remote-control warning or error was found in the desktop log entries inspected.
  • These results establish that pairing-code creation returned successfully, not that pairing completed. They do not identify the root cause or prove that every desktop/backend component is healthy.
  • Historical remote-control network timeouts from 2026-10-21 are not treated as evidence for today's failure.

Request
Please investigate the Android pairing-completion flow and any associated server-side error for this app/desktop combination. The visible error gives no diagnostic code. Please advise which additional Android diagnostics are needed.

Official local diagnostic check

  • Ran codex doctor --json locally; command completed with exit code 0.
  • Bundled CLI diagnostic version: 0.163.0-alpha.11.2. This is distinct from the desktop application release above.
  • Installation/configuration and desktop app-server initialization checks passed.
  • Authentication credentials are configured.
  • Active provider HTTP reachability and the Responses WebSocket handshake checks passed. These checks do not verify the Codex Remote pairing endpoint or Android-side connectivity.
  • The diagnostic report includes general warnings; none establishes a cause for this pairing failure. No antivirus, firewall, credentials, or application configuration was modified.
  • A minimal selected-check summary is provided in doctor-summary.json. The full local report is optional and should be reviewed before sharing.

Submission
In the desktop composer, type /feedback and use the feedback dialog to submit this report. Add the phone error screenshot. Including the complete conversation is optional; this text and the selected diagnostic summary can be used without the project conversation. Save the feedback/session identifier returned after submission.

Attachments

  • Screenshot of the Android pairing error supplied by the user.
  • Optional redacted Codex doctor report, saved separately. It describes the local desktop/CLI environment and does not capture Android-side diagnostics.

Privacy and scope
This text contains no pairing codes, authentication tokens, email address, full session transcript, or project source files. Raw app logs and the existing conversation have not been submitted.

What steps can reproduce the bug?

Feedback ID: 01a12351-1c7e-7bf1-9ece-2faeb47b9aac

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Oct 23, 2026
  2. added
    bug
    windows-os
    on Oct 23, 2026
  3. github-actions commented on Oct 23, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  4. Realife-Brahmin commented on Oct 25, 2026

    @Realife-Brahmin

    Update — November 11, 2026: Pairing succeeded on both Windows PCs

    I was able to pair my Android phone with Codex on both of my Windows PCs on November 11. Before trying again, I updated the ChatGPT Android app to 1.2026.314 (0) and updated Codex on both PCs. I stayed signed in to both desktop apps throughout.

    Thanks, @evandrocoan, for sharing your update. It encouraged me to give pairing another try.

    Additional reproduction on two Windows hosts, using one personal ChatGPT Plus account, verified identical across the phone and both desktops.

    Environment

    • Android 16, device model CPH2691; ChatGPT 1.2026.293 (version copied from Play Store).
    • Surface host: Windows 11 Home 22H2, build 22621.3155; desktop application 26.1021.31345 (bundled owl-app.ini), Windows package 26.1021.3705.0.
    • Second host: Windows 11 Pro build 26200, Windows package 26.1021.3705.0. Detailed timestamped evidence below is from Surface only.

    Symptoms and reproduction

    1. On the Windows desktop, open Settings → Connections → Control this PC, enable Allow connections, and select Add.
    2. Scan a fresh QR code with the Android phone, or attempt manual-code pairing.
    3. Android shows “Pairing failed. Something went wrong while pairing. Try scanning the code again.”
    4. Existing Android host connections also show “Failed to connect to ChatGPT desktop.”

    Both pairing methods fail against both hosts. The desktop has also displayed the phone as recently connected despite no usable phone session opening. Desktop-to-desktop Remote Control works.

    Updating/reopening Android, restarting Surface, fresh-pairing/revocation troubleshooting, and testing the phone over Wi-Fi and cellular did not resolve it. A separate change to the Windows host's network has not been established as tested.

    Timestamped desktop evidence

    Latest Surface QR failure: October 24, 2026, approximately 20:09 PDT / October 25, 03:09 UTC.

    All eight desktop .log files in the corresponding UTC-date folder were inspected over 03:04–03:14 UTC. Selected redacted lines are included below.

    • remoteControl/pairing/start returned at 03:07:41.009Z, errorCode=null, durationMs=823.
    • Desktop RPC requestId=c3482e91-3a8b-4f0f-88a8-b41f9af20ac1. This is from an AppServerConnection response_routed entry; whether it maps to a backend HTTP request is unconfirmed.
    • Existing desktop controller enrollment/refresh and signing events occur at 03:09:24–03:09:25Z with scope remote_control_controller_websocket. They are not identified as the Android scan or evidence of Android pairing completion.
    • No explicit Android pairing/enrollment rejection, corresponding HTTP error, or Android-specific failed request was identified in the inspected desktop logs.
    • Info-level DeviceCheck attestation unavailable messages appear, but no causal link to this failure has been established.

    Please investigate the Android pairing-completion flow and advise which Android diagnostics are needed. These observations match the visible symptoms here; they do not establish a shared root cause.

    Redacted Surface desktop log excerpt (UTC; source line numbers retained)

    Local paths, original log filename identifiers, account/user IDs, client/challenge/key IDs, and websocket session IDs are omitted or redacted. Request IDs and timestamps are preserved. No pairing codes, credentials, session transcripts, or project content are included.

    line 2456: 2026-10-25T03:05:50.361Z info [devicecheck-attestation] DeviceCheck attestation unavailable deviceCheckLatencyMs=null durationMs=0 errorCode=1 failureKind=undefined nativeError=undefined
    line 2513: 2026-10-25T03:06:19.303Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=242 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=9cbea8f8-614a-4a41-8618-2430c9448ebc targetDestroyed=false
    line 2519: 2026-10-25T03:06:19.960Z info [devicecheck-attestation] DeviceCheck attestation unavailable deviceCheckLatencyMs=null durationMs=0 errorCode=1 failureKind=undefined nativeError=undefined
    line 2558: 2026-10-25T03:06:29.972Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=212 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=98c98cf0-1310-4218-b6f1-a6415a07da91 targetDestroyed=false
    line 2590: 2026-10-25T03:07:11.925Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=253 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=784e6591-7e5f-425d-8779-e131c6d73a3f targetDestroyed=false
    line 2596: 2026-10-25T03:07:14.642Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=197 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=fe4983b5-1993-4848-9978-0570385dec4b targetDestroyed=false
    line 2630: 2026-10-25T03:07:27.969Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=275 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=076819f4-9b0e-4cee-b786-45e1b8767014 targetDestroyed=false
    line 2632: 2026-10-25T03:07:32.824Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=255 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=141dd8a8-5c87-494b-8810-b466d9a1d1be targetDestroyed=false
    line 2647: 2026-10-25T03:07:38.039Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=606 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=5c500f5d-b250-471a-ae86-deb8442c72c2 targetDestroyed=false
    line 2648: 2026-10-25T03:07:40.136Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=357 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=843f2fae-f7d8-4895-b40f-ac22a9a33c19 targetDestroyed=false
    line 2649: 2026-10-25T03:07:40.509Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=331 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=387f3442-d5bd-4ded-8a6b-cc2889aeb2f1 targetDestroyed=false
    line 2650: 2026-10-25T03:07:41.009Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=823 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/pairing/start originWebcontentsId=1 queueWaitMs=0 requestId=c3482e91-3a8b-4f0f-88a8-b41f9af20ac1 targetDestroyed=false
    line 2651: 2026-10-25T03:07:41.908Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=384 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=e20d6686-2785-467e-84d4-34b151fd9e2c targetDestroyed=false
    line 2652: 2026-10-25T03:07:43.294Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=371 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=a9c042cb-aa63-4ff7-b128-17a722dcb357 targetDestroyed=false
    line 2653: 2026-10-25T03:07:44.700Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=376 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=675a4738-47e2-4282-95cf-5df96e5f5781 targetDestroyed=false
    line 2654: 2026-10-25T03:07:46.085Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=372 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=ebc6e598-cb05-4f51-b2b1-4aa9f8bc1eed targetDestroyed=false
    line 2655: 2026-10-25T03:07:47.436Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=341 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=6002f2df-faa6-4bad-97a4-5e114e4bec71 targetDestroyed=false
    line 2656: 2026-10-25T03:07:48.830Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=377 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=d1b04ac6-8d0f-429a-a7c6-02eeb606a518 targetDestroyed=false
    line 2657: 2026-10-25T03:07:50.249Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=413 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=45388be9-d5f9-4971-86eb-6b117c5eea3a targetDestroyed=false
    line 2658: 2026-10-25T03:07:51.541Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=334 errorCode=null hadInternalHandler=false hadPending=true method=remoteControl/client/list originWebcontentsId=1 queueWaitMs=0 requestId=4ee4f993-3a96-4f31-bd1a-a7eded5c10d4 targetDestroyed=false
    line 2659: 2026-10-25T03:07:52.374Z info [remote-connections/window-context] refresh_started previousConnectionCount=1
    line 2660: 2026-10-25T03:07:52.375Z info [remote-connections/window-context] load_completed savedRemoteConnectionCount=0 totalConnectionCount=0
    line 2661: 2026-10-25T03:07:52.375Z info [remote-connections/window-context] reconcile_completed creationFailureCount=0 nextConnectionCount=1 previousConnectionCount=1
    line 2662: 2026-10-25T03:07:52.375Z info [remote-connections/window-context] refresh_completed autoConnectConnectionCount=0 codexManagedConnectionCount=0 discoveredConnectionCount=0 nextConnectionCount=0 previousConnectionCount=1
    line 2663: 2026-10-25T03:07:52.375Z info [remote-connections/window-context] refresh_remote_control_started previousConnectionCount=1
    line 2664: 2026-10-25T03:07:52.796Z info [remote-connections/window-context] reconcile_completed creationFailureCount=0 nextConnectionCount=1 previousConnectionCount=1
    line 2665: 2026-10-25T03:07:52.797Z info [remote-connections/window-context] refresh_remote_control_completed autoConnectConnectionCount=1 nextConnectionCount=1 previousConnectionCount=1
    line 2666: 2026-10-25T03:07:52.828Z info [electron-message-handler] [remote-connections/bootstrap] shared_object_synced connectionCount=1 rendererWebContentsId=1 rendererWindowAppearance=primary rendererWindowFocused=true rendererWindowId=1 rendererWindowVisible=true
    line 2667: 2026-10-25T03:07:52.832Z info [electron-message-handler] [remote-connections/bootstrap] shared_object_synced connectionCount=1 rendererWebContentsId=5 rendererWindowAppearance=avatarOverlay rendererWindowFocused=false rendererWindowId=3 rendererWindowVisible=false
    line 2681: 2026-10-25T03:07:54.158Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=266 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=7edd9d52-db9d-4c15-b6a2-dad1386e2c83 targetDestroyed=false
    line 2723: 2026-10-25T03:08:26.233Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=219 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=ef39aca8-df24-44f6-9470-aef904c26437 targetDestroyed=false
    line 2772: 2026-10-25T03:08:56.600Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=247 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=380aa488-661a-44c1-85aa-89f54bdcdd71 targetDestroyed=false
    line 2839: 2026-10-25T03:09:24.455Z info [remote-control-websocket] remote_control_client_refresh_start_request hasExistingEnrollment=true headerChatGptAccountId=[REDACTED] localEnrollmentAccountUserId=[REDACTED] localEnrollmentClientId=[REDACTED] responseAccountUserId=[REDACTED] responseChallengeId=[REDACTED] responseClientId=[REDACTED] selectedAccountUserId=[REDACTED] tokenAccountId=[REDACTED] tokenAccountUserId=[REDACTED] tokenAuthUserId=[REDACTED] tokenSubject=[REDACTED]
    line 2840: 2026-10-25T03:09:24.745Z info [remote-control-websocket] remote_control_client_refresh_start_response hasExistingEnrollment=true headerChatGptAccountId=[REDACTED] localEnrollmentAccountUserId=[REDACTED] localEnrollmentClientId=[REDACTED] responseAccountUserId=[REDACTED] responseChallengeId=[REDACTED] responseClientId=[REDACTED] selectedAccountUserId=[REDACTED] tokenAccountId=[REDACTED] tokenAccountUserId=[REDACTED] tokenAuthUserId=[REDACTED] tokenSubject=[REDACTED]
    line 2841: 2026-10-25T03:09:24.746Z info [remote-control-websocket] remote_control_client_enrollment_challenge_signing accountUserId=[REDACTED] challengeExpiresAt=1792897886 challengeId=[REDACTED] clientId=[REDACTED] expectedTargetOrigin=https://chatgpt.com expectedTargetPath=/backend-api/codex/remote/control/client/refresh/finish keyId=[REDACTED] purpose=remote_control_client_enrollment requireDeviceIdentityHash=true targetOrigin=https://chatgpt.com targetPath=/backend-api/codex/remote/control/client/refresh/finish
    line 2842: 2026-10-25T03:09:24.924Z info [remote-control-websocket] remote_control_client_enrollment_challenge_signed accountUserId=[REDACTED] algorithm=ecdsa_p256_sha256 challengeId=[REDACTED] clientId=[REDACTED] keyId=[REDACTED]
    line 2843: 2026-10-25T03:09:25.182Z info [remote-control-websocket] remote_control_client_refresh_finish_response accountUserId=[REDACTED] clientId=[REDACTED] expiresAt=2026-10-25T03:19:26.826458Z scopes=["remote_control_controller_websocket"]
    line 2844: 2026-10-25T03:09:25.937Z info [remote-control-websocket] remote_control_websocket_device_key_challenge_signed accountUserId=[REDACTED] algorithm=ecdsa_p256_sha256 clientId=[REDACTED] keyId=[REDACTED] scopes=["remote_control_controller_websocket"] sessionId=[REDACTED] targetOrigin=https://chatgpt.com targetPath=/backend-api/codex/remote/control/client tokenExpiresAt=1792898366
    line 2904: 2026-10-25T03:09:27.878Z info [devicecheck-attestation] DeviceCheck attestation unavailable deviceCheckLatencyMs=null durationMs=0 errorCode=1 failureKind=undefined nativeError=undefined
    line 2911: 2026-10-25T03:09:27.901Z info [devicecheck-attestation] DeviceCheck attestation unavailable deviceCheckLatencyMs=null durationMs=0 errorCode=1 failureKind=undefined nativeError=undefined
    line 2973: 2026-10-25T03:09:34.521Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=190 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=9040f024-48cc-48ae-ba15-6346b3cb0faf targetDestroyed=false
    line 3046: 2026-10-25T03:10:15.591Z info [devicecheck-attestation] DeviceCheck attestation unavailable deviceCheckLatencyMs=null durationMs=0 errorCode=1 failureKind=undefined nativeError=undefined
    line 3116: 2026-10-25T03:11:21.806Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=13 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=c5c7acac-4ae9-472e-ac89-62c6eca3c7c2 targetDestroyed=false
    line 3130: 2026-10-25T03:11:29.112Z info [devicecheck-attestation] DeviceCheck attestation unavailable deviceCheckLatencyMs=null durationMs=0 errorCode=1 failureKind=undefined nativeError=undefined
    line 3181: 2026-10-25T03:11:42.931Z info [devicecheck-attestation] DeviceCheck attestation unavailable deviceCheckLatencyMs=null durationMs=0 errorCode=1 failureKind=undefined nativeError=undefined
    line 3208: 2026-10-25T03:11:43.674Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=4 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=d37d3b21-03d4-4789-b840-92b617bc7249 targetDestroyed=false
    line 3209: 2026-10-25T03:11:43.680Z info [AppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=5 errorCode=null hadInternalHandler=false hadPending=true method=getAuthStatus originWebcontentsId=1 queueWaitMs=0 requestId=9e6cf100-971d-4746-8fc0-018130d9a07b targetDestroyed=false
    line 3210: 2026-10-25T03:11:43.800Z info [devicecheck-attestation] DeviceCheck attestation unavailable deviceCheckLatencyMs=null durationMs=0 errorCode=1 failureKind=undefined nativeError=undefined
    line 3269: 2026-10-25T03:11:59.373Z info [devicecheck-attestation] DeviceCheck attestation unavailable deviceCheckLatencyMs=null durationMs=0 errorCode=1 failureKind=undefined nativeError=undefined
    
  5. evandrocoan commented on Oct 27, 2026

    @evandrocoan

    Additional reproduction on a Lenovo Android tablet, with Android-side ADB logs collected before and after changing the active WebView provider.

    The tablet still displays "Pairing failed / Something went wrong while pairing. Try scanning the code again." after tapping Authorize. The browser returns to ChatGPT, but pairing does not complete. Another Android phone is already paired to both my Windows and Linux hosts using the same account and Personal workspace; the tablet fails with both hosts. The cross-host comparison and Play Protect "certified" status are user-observed; the device versions and events below were collected through ADB.

    Environment

    Component Observed value
    Tablet Lenovo TB370FU, arm64-v8a
    Android 13, API 33
    Android security patch 2024-01-05
    Firmware TB370FU_ROW_OPEN_USER_tb-V14.218.2_T_ZUI_15.0.323_ST_240120
    Build fingerprint Lenovo/TB370FU/TB370FU:13/TP1A.220624.014/S2001043_240120_ROW:user/release-keys
    ChatGPT Android 1.2026.293, versionCode 2629319
    Chrome 156.0.8078.47
    Active WebView on the latest attempt com.google.android.webview.beta, 157.0.8103.14
    Google Play services 26.41.31 (190400-1002748488)
    Google Play Store 53.7.23-31 [0] [PR] 1001145691
    Windows host OS Windows 10 Pro, build 17763 (10.0.17763)

    The exact desktop app release and Linux host version were not collected in this Android-focused investigation.

    WebView comparison

    The initial capture used the stable WebView 108.0.5359.128. I then selected the already-installed WebView Beta 157.0.8103.14, reopened ChatGPT, and reproduced the same visible failure. dumpsys webviewupdate confirms that Beta is now both the current and preferred provider; the new log also shows ChatGPT starting a Beta WebView sandbox process. Therefore, this was an actual provider switch, not just installation of the Beta package.

    The authorization flow itself uses a Chrome Custom Tab. This comparison does not establish that WebView was involved in the failing request.

    Latest Android log timeline

    Device timestamps below are 2026-10-26, UTC-03:00. The callback at 23:09:39 corresponds to 2026-10-27 02:09:39 UTC.

    • 23:08:43.324: ChatGPT starts a com.google.android.webview.beta:sandboxed_process0 process.
    • 23:09:08.928: ChatGPT opens WebAuthenticationActivity.
    • 23:09:09.314: Chrome opens https://auth.openai.com/... in CustomTabActivity.
    • 23:09:39.288: Android routes com.openai.chatgpt://auth.openai.com/... back to ChatGPT's WebRedirectActivity.
    • 23:09:39.399: WebAuthenticationActivity receives ACTIVITY_RESULT.
    • 23:09:40.170: the system keystore logs the cleanup error quoted below.
    10-26 23:09:39.399 18164 18164 I wm_on_activity_result_called: [98659345,com.openai.feature.auth.impl.web.WebAuthenticationActivity,ACTIVITY_RESULT]
    10-26 23:09:40.170   555 21286 E keystore2: keystore2::gc: Error trying to delete blob entry. In process_one_key: Trying to invalidate key.
    10-26 23:09:40.170   555 21286 E keystore2: Caused by:
    10-26 23:09:40.170   555 21286 E keystore2:     0: In invalidate key closure: Trying to invalidate key blob.
    10-26 23:09:40.170   555 21286 E keystore2:     1: Error::Km(ErrorCode(-100))
    

    What these logs establish, and what remains unknown

    • The browser-to-app callback is delivered. This does not prove that token exchange or device registration succeeds.
    • The same keystore cleanup error appears before authorization as well, including at 23:09:05.760 and 23:09:08.433, and in the earlier capture. The log does not identify the affected key as ChatGPT's. It is a correlated observation, not a confirmed root cause or proof that ChatGPT deleted its device key.
    • The captured logs do not expose the pairing request's HTTP response/status, response body, or request ID. They do not establish an HTTP 403, an integrity rejection, or a device-count limit.
    • Changing the active WebView from 108 to 157 did not resolve the reported symptom. Root cause remains undetermined.

    Could the Android team advise how to export the app's internal Remote pairing diagnostics, or correlate this timestamp with the failing authorization/token-exchange/device-registration request? A visible error code or request ID would make this much easier to diagnose.

    Only selected diagnostic events are included here. Raw system logs, device serial number, account identifiers, pairing codes, tokens, cookies, and authentication URL parameters are omitted.

  6. phil0079 commented on Nov 2, 2026

    @phil0079

    Sharing a workaround that succeeded for me on November 2, 2026, after the same Android-to-Windows Remote/Codex pairing error.

    What worked

    1. Sign out of the ChatGPT app on the Android phone—not just force-stop or close it.
    2. Sign back in using the same ChatGPT account and workspace as the desktop.
    3. Generate a fresh pairing code on the desktop and try pairing again.

    Pairing succeeded after that sequence. Clearing app storage, reinstalling ChatGPT, or replacing the Windows installation was not part of this successful sequence.

    Environment

    • Samsung Galaxy S26 Ultra, Android 17.
    • ChatGPT Android: 1.2026.300, versionCode 2630015.
    • Windows x64, Store package OpenAI.Codex 26.1027.3384.0.

    Before that, these attempts had failed

    • Repeated fresh QR codes and manual-code entry.
    • Restarting the desktop/mobile apps.
    • Trying the phone over both home Wi-Fi and cellular.
    • Clearing only ChatGPT's cache, force-stopping, reopening, and trying another fresh code. Pairing still failed after this cache-only reset.

    The phone consistently showed: “Pairing failed. Something went wrong while pairing. Try scanning the code again.”

    Other checks

    • Phone and desktop clocks were within approximately two seconds.
    • Chrome was the phone's default browser; Android System WebView was enabled. Play offered no update for ChatGPT, Chrome, or WebView.
    • Play Store reported “Device is certified.”
    • No active phone VPN, custom Private DNS, or HTTP proxy was found.
    • A bounded Pi-hole log check showed the relevant OpenAI DNS lookups resolving, with no matching OpenAI blocks. Filtering was not disabled. This and the cellular test do not rule out every possible network cause.
    • Desktop remoteControl/pairing/start responses reported errorCode=null, including during failed attempts. That establishes successful pairing-code creation, not successful completion of the whole handshake.
    • The limited Android app-log sample did not expose an actionable enrollment error.

    A mobile sign-in/session refresh may be relevant, but we did not establish the root cause or test this on other devices. This is one confirmed successful workaround, not a claim that it fixes every report here.

    — Codex

  7. unclepodger8 commented on Nov 3, 2026

    @unclepodger8

    Same failure on Windows + Android, traced on both ends. The authorization succeeds server-side; the ChatGPT Android app discards the returned code.

    Versions

    • Windows: OpenAI.Codex 26.1027.3384.0 (desktop release 26.1027.30824; bundled codex 0.166.0-alpha.5.1)
    • Android: ChatGPT 1.2026.300 (versionCode 2630015), Pixel 11 Pro Fold, Android 17 (API 37). Same result on 1.2026.293.
    • Same ChatGPT user and personal workspace on both devices. Fully logging out and back in on Android did not help (3 of 3 attempts failed after re-login).

    Desktop side: healthy

    • The app-server remote-control websocket to wss://chatgpt.com/backend-api/wham/remote/control/server is Connected, with one server identity.
    • remoteControl/pairing/start returns errorCode=null. The UI then polls remoteControl/client/list every ~1.5 s, and no client ever appears. Nothing arrives on the websocket during the attempt.

    Android side: what happens, with timestamps from one attempt

    1. Scan QR → "Pairing…". The app generates an ephemeral P-256 key (signs once, deletes it), then an enrollment P-256 key (signs a 576-byte payload). Both are TEE keys with no attestation, and the keystore ops return rc=0.
    2. The app opens a Custom Tab: auth.openai.com/api/accounts/authorize?scope=codex.remote_control.enroll openid&response_type=code&code_challenge=…
    3. Login → Google → MFA (/api/accounts/mfa/verify 200) → Codex consent page → Authorize → /api/accounts/workspace/select 200.
    4. The browser navigates to com.openai.chatgpt://auth.openai.com/android/com.openai.chatgpt/callback?code=…&scope=codex.remote_control.enroll openid&state=…. This is a valid code, with no error parameter (captured via Chrome DevTools, values redacted).
    5. Activity sequence on return (from logcat event log):
      • WebRedirectActivity created with the callback
      • wm_new_intent → WebAuthenticationActivity
      • wm_on_activity_result_called (the Custom Tab's result)
      • wm_finish_activity … WebAuthenticationActivity, app-request, 2 ms later and before onResume
    6. The app then only calls /backend-api/me, /settings/user, /sentinel/heartbeat and /accounts/check. The code is never redeemed: there is no token call, and the enrollment key is never used again. The enrollment key is deleted ~0.6 s later and the UI shows "Pairing failed — Something went wrong while pairing."
    7. codex_remote_control_enrollments.json stays {"enrollments_by_endpoint":{}}.

    This looks like the auth activity treating the Custom Tab's onActivityResult (always RESULT_CANCELED when the tab closes) as a cancellation and finishing before it processes the redirect intent carrying the code. The result is reported to the pairing flow as a failure. It reproduces on every attempt.

    Ruled out: account/workspace mismatch, proxy/VPN/Private DNS, Play Integrity (passes), the app being frozen or network-blocked while in the browser, and desktop relay connectivity.

  8. phpnikolov commented on Nov 4, 2026

    @phpnikolov

    I'm seeing the same Codex Remote pairing failure when connecting my Android phone to my Windows PC.

    • Windows ChatGPT desktop app version — 26.1027.30824
    • ChatGPT Android app version — 1.2026.300
    • Phone — Nothing Phone (4a), running Nothing OS 4.1

    I generate a QR code under Settings → Connections → Control this PC in the Windows app and scan it with my phone. The phone prompts me to enter my email and sign in. After signing in, I get this error:

    Pairing failed. Something went wrong while pairing. Try scanning the code again.

    I also signed out of the ChatGPT app on Android, signed back in, and retried with a fresh QR code. The same error appeared.

    Is there a workaround for these versions, or a way to capture a diagnostic ID for the failed pairing attempt?

  9. william1995summer2011-afk commented on Nov 6, 2026

    @william1995summer2011-afk

    Additional confirmed reproduction — Motorola Moto G 5G (2024), Android 15, ChatGPT 1.2026.307

    I can reproduce the Codex Remote pairing failure described in this issue on a Motorola Moto G 5G (2024) running Android 15, paired with a Windows 10 x64 Codex desktop installation.

    Unlike several earlier reports, this reproduction involves ChatGPT Android 1.2026.307 and persists after completely clearing the Android application's local storage and signing back in.

    Environment

    • Phone: Motorola Moto G 5G (2024)
    • Android: 15
    • ChatGPT Android: "1.2026.307" (versionCode "2630709")
    • Google Play services: "26.43.30"
    • Windows: Windows 10 Home, build 19045, x64
    • Codex Windows Store package: "OpenAI.Codex 26.1103.3517.0"
    • Date: November 6, 2026
    • Time zone: America/Los_Angeles (PST)

    Reproduction

    1. Open Codex on Windows and enable remote connections.
    2. Generate a new pairing QR code.
    3. Scan the QR code using the ChatGPT Android application.
    4. Complete the browser authorization flow.
    5. The application returns to the pairing screen and displays:

    «Pairing failed
    Something went wrong while pairing. Try scanning the code again.»

    1. Repeat using the manually entered eight-digit pairing code.

    Initially, three QR-code attempts and three separate manual-code attempts failed.

    The same visible failure occurred again after a complete Android app-data reset.

    Recovery attempts and verification

    • Generated multiple fresh pairing codes.

    • Tested both QR scanning and manual-code entry.

    • Confirmed automatic Android date/time and timezone settings are enabled.

    • Verified the ChatGPT Android application is installed and running.

    • Verified the application's main Android App Links.

    • Confirmed Android Private DNS is off.

    • Cleared ChatGPT's full local storage via USB ADB:

      "adb shell pm clear com.openai.chatgpt"

      Android returned "Success".

    • Signed back into ChatGPT and reproduced the pairing failure.

    • Confirmed USB ADB connectivity and authorized device access.

    • Verified that relevant OpenAI domains resolve from Windows.

    None of these steps resolved remote pairing.

    Desktop evidence

    The Codex desktop log contains three successful pairing-start RPC completions:

    2026-11-06T22:56:34.887Z
    remoteControl/pairing/start
    errorCode=null

    2026-11-06T22:57:29.116Z
    remoteControl/pairing/start
    errorCode=null

    2026-11-06T22:58:10.916Z
    remoteControl/pairing/start
    errorCode=null

    During that earlier observation window, repeated "remoteControl/client/list" RPCs completed successfully, but remote-control refreshes continued to report:

    "nextConnectionCount=0"

    These entries confirm successful pairing-session creation, not completion of mobile enrollment. They precede the later Android log capture and should not be treated as a synchronized desktop/mobile trace.

    Android-side evidence — November 6, 2026

    I collected Android activity logs through authorized USB ADB following the repeated failure.

    At approximately 15:28:36 PST, the activity sequence was:

    15:28:36.561
    wm_create_activity → WebRedirectActivity

    15:28:36.658
    wm_new_intent → WebAuthenticationActivity

    15:28:36.703
    wm_on_activity_result_called → WebAuthenticationActivity

    15:28:36.708
    wm_finish_activity → WebAuthenticationActivity

    The authentication activity's finish request followed the activity-result callback by approximately 5 milliseconds.

    A similar callback-and-close sequence was observed at approximately 15:27:47 PST.

    This closely resembles the behavior documented by another investigator in this issue: the app receives the browser redirect, but pairing fails after the authentication activity closes.

    Important limitation: Android's activity log does not establish that the returned OAuth authorization code was valid, whether a token-exchange request was attempted, or what the remote enrollment service returned. Therefore, premature cancellation is a plausible hypothesis, not a confirmed root cause.

    Request for investigation

    Could the Android/Codex Remote team investigate:

    1. Whether "WebAuthenticationActivity" processes the redirect intent before handling the Custom Tab's activity-result callback.
    2. Whether a premature activity finish or cancellation prevents token exchange or device enrollment.
    3. Whether the server rejected the enrollment independently of the activity lifecycle.
    4. Whether a diagnostic request ID, enrollment response status, or redacted internal Android pairing trace can be exposed.
    5. Whether this behavior is a regression still present in Android version "1.2026.307".

    The bug is reproducible after a full application-data reset and does not appear to depend on the previously stored Android app session.

    I can provide the pairing-error screenshot and appropriately sanitized, timestamped desktop and Android logs.

    No pairing codes, OAuth parameters, access tokens, account identifiers, or device serial numbers are included in this report.

  10. de0921188 commented on Nov 7, 2026

    @de0921188

    I can reproduce a closely related Android-to-Windows Codex Remote pairing failure. Pairing had worked previously, but the connection stopped working around November 6, 2026 (Asia/Taipei), and I have not been able to re-enroll the phone. Some attempts remain on auth.openai.com with an indefinite spinner after tapping Continue; other attempts show “Pairing failed. Something went wrong while pairing. Try scanning the code again.” The Windows pairing dialog continues displaying a QR code. This does not prove whether the desktop/backend received the enrollment request.

    Environment

    • ChatGPT Android 1.2026.300 (versionCode 2630015); Chrome 158.0.8127.22.
    • Windows Codex Remote host; exact Windows OS/build and Codex desktop version not yet recorded.
    • Android device with a customized ROM, KernelSU, and OhMyKeymint v1.3.6. Google Play Protect reports certified; a local integrity checker reports BASIC, DEVICE, STRONG = PASS. These checks do not demonstrate that OpenAI's separate device-binding or enrollment checks succeeded.

    Reproduction / observed behavior

    1. Generate a fresh Codex Remote pairing QR code on Windows and scan it with ChatGPT Android.
    2. On some attempts the authentication browser opens auth.openai.com; tapping Continue never completes the visible flow.
    3. On other attempts the app displays the generic pairing-failed screen without completing enrollment.

    Read-only diagnostics and controlled comparison

    • Android registers a browsable VIEW intent filter in WebRedirectActivity for com.openai.chatgpt://auth.openai.com/android/com.openai.chatgpt/callback. Registration alone does not prove callback delivery. On a spinner attempt, Chrome Custom Tab remained foreground and no redirect Activity appeared in the filtered event capture.
    • Enabling user-level HTTPS App Links for verified ChatGPT domains did not resolve pairing. The observed OAuth redirect URI uses the custom com.openai.chatgpt:// scheme, not those HTTPS App Links.
    • ChatGPT KeyMint calls were previously routed via OhMyKeymint (route=Omk). After deselecting only ChatGPT in OhMyKeymint's app list, subsequent logs showed RejectedNotInScope / route=System; TEESimulator stated that GenerateKey was forwarded to the real HAL. Pairing failed in both configurations. I did not manually wipe the Android Keystore, remove keyboxes, or disable the entire module.
    • Logs include GenerateKey, GetKeyEntry, and DeleteKey requests. These do not identify the specific Codex enrollment key or establish whether deletion was expected cleanup; the app may perform its own key lifecycle operations.
    • A limited trace at 2026-11-07 14:17 (UTC+8) captured QR-scanning and native-system key routing but did not show Chrome OAuth Activity in that particular window. It does not establish what happened in other attempts or reveal a server-side enrollment error.

    Expected: Phone enrolls and can remotely control the Windows Codex session.

    Actual: OAuth spinner or generic pairing failure; no confirmed successful device enrollment.

    Could maintainers investigate whether Android 1.2026.300 has a regression in preauthorization, callback handoff, existing device registration state, or enrollment-key lifecycle? I previously observed an authentication device-check error and can provide its request ID privately to OpenAI Support, together with carefully redacted traces. Please advise which Android/Windows diagnostic or correlation ID would be most useful.

    I can also supply a short, allowlisted, sanitized event timeline. I have not included raw Logcat, pairing QR codes, OAuth URL query parameters, account/workspace identifiers, or key material in this public comment.

  11. lukeliasi commented on Nov 7, 2026

    @lukeliasi

    Additional reproduction on Nothing Phone 4a with a Linux desktop, still failing after the Google Play beta update.

    Codex Remote pairing failure: Nothing Phone 4a
    Observed on 7 November 2026. All times below are UTC (also UK local time on this date).

    Problem
    Both QR and manual pairing fail in ChatGPT Android with:
    "Pairing failed. Something went wrong while pairing. Try scanning the code again."
    The failure persists after installing the Google Play beta update.

    Environment

    • Phone: Nothing Phone 4a, as identified by the user; Android reports model A069.
    • Android: 16, API 36; security patch 2026-07-01.
    • Previous ChatGPT Android: 1.2026.300, versionCode 2630015.
    • Current ChatGPT Android beta: 1.2026.307, versionCode 2630717.
    • Beta installation verified through Android package metadata and the Play Store listing.
    • Desktop: Linux; bundled app-server reports 0.167.0-alpha.3.2.
    • User confirms the same account and workspace on desktop and phone.

    Attempts already completed

    • Fresh QR and manual pairing attempts.
    • Phone on home Wi-Fi and on mobile data: both fail.
    • Signing out and back into ChatGPT Android: still fails, per user.
    • Updating from the available stable release to the offered Google Play beta: still fails.
    • Wireless ADB pairing/connectivity works; this is separate from Codex Remote pairing.

    Latest desktop observation
    2026-11-07T20:35:49.853Z:
    remoteControl/pairing/start returned errorCode=null, durationMs=1248.
    This confirms successful completion of the desktop pairing-start RPC, not phone enrollment.

    Latest Android authentication timeline
    Collected read-only from Android's events log after the failed beta attempt:
    20:35:57.557 wm_create_activity WebAuthenticationActivity
    20:36:48.017 wm_create_activity WebRedirectActivity
    20:36:48.089 wm_new_intent WebAuthenticationActivity
    20:36:48.122 wm_on_activity_result_called WebAuthenticationActivity
    20:36:48.127 wm_finish_activity WebAuthenticationActivity; app-request
    20:36:48.130 wm_on_resume_called WebAuthenticationActivity
    20:36:48.440 wm_destroy_activity WebAuthenticationActivity

    Interpretation and limits
    The browser-to-app redirect activity runs and delivers an intent to the authentication activity.
    The app requests that activity's closure 5 milliseconds after the activity-result callback,
    and before its onResume callback. This resembles an upstream report of premature cancellation
    during Android browser authentication.

    These events do NOT establish whether the OAuth authorization code was valid, whether token
    exchange was attempted, or whether the enrollment service rejected a request. They do not
    prove premature cancellation is the root cause. No actionable pairing error was found in
    the limited ChatGPT app-log samples examined earlier.

    Related reports
    #56600

    • 3 November: Pixel report describes the callback/activity-result/finish sequence.
    • 4 November: Nothing Phone 4a, Nothing OS 4.1, ChatGPT 1.2026.300; sign-out/in did not help.
    • 6 November: Motorola report on 1.2026.307 describes a similar event sequence.

    Request to OpenAI
    Please correlate the failed attempt around 2026-11-07 20:36:48 UTC with Android authentication
    and Remote enrollment diagnostics. Investigate whether WebAuthenticationActivity handles the
    browser result as cancellation before consuming the redirect intent, or whether token exchange
    or device enrollment fails independently. Please provide a supported diagnostic/request ID
    or a confirmed fixed Android build.

    This report contains selected event names and timestamps only. Pairing codes, authentication
    URLs and parameters, credentials, account IDs, device serial numbers, and raw logs are omitted.

  12. evandrocoan commented on Nov 8, 2026

    @evandrocoan

    #55337 describes a pairing-response timeout in the Codex CLI on Linux. This issue concerns a different observed failure: the browser redirects back to the ChatGPT Android app after Authorize, and pairing fails on the tablet. I reproduced it on my Lenovo TB370FU with both Windows and Linux hosts. Please track the Android failure separately.

    I rechecked the two failed attempts from my earlier logcat capture. In both, WebAuthenticationActivity received the redirect intent (wm_new_intent). The app then requested that the activity finish (wm_finish_activity, reason app-request) 6–8 ms after Android logged ACTIVITY_RESULT, before onResume.

    Attempt (2026-10-26, UTC−03:00) Redirect intent delivered ACTIVITY_RESULT Finish requested onResume
    Stable WebView 23:00:12.564 23:00:12.596 23:00:12.604 (+8 ms) 23:00:12.607
    Beta WebView 23:09:39.373 23:09:39.399 23:09:39.405 (+6 ms) 23:09:39.407

    This is the same event order reported in the Pixel trace above. Whether the Lenovo app consumed the authorization code or attempted a token exchange remains unknown from these lifecycle logs.

  13. timeRATE-966 commented on Nov 10, 2026

    @timeRATE-966

    Additional reproducible case — Honor / Android 16 / Windows (2026-11-10)

    I am seeing the same Codex Remote pairing failure.

    Environment

    • Phone: Honor, Android 16
    • ChatGPT Android: 1.2026.307 (versionCode 2630718)
    • Host: Windows, Codex Remote enabled
    • Phone and PC are signed into the same ChatGPT account; clocks are set to automatic synchronization; both use the same proxy region.
    • Chrome and ChatGPT Android are updated.

    Reproduction

    1. Generate a new Codex Remote QR code on Windows.
    2. Scan in ChatGPT Android (or enter the manual pairing code).
    3. Complete OpenAI login/authorization in the embedded browser, or explicitly open the authorization page in external Chrome.
    4. Return to ChatGPT. After a short spinner (~3 seconds), it displays “Pairing failed”.

    QR and manual-code pairing both fail. Retrying after logging out and back into the ChatGPT Android app, updating Chrome/ChatGPT, changing the browser flow, and force-stopping the third-party overlay app fooView did not help.

    Sanitized ADB/logcat observations (device-local time, 2026-11-10)

    12:43:34.893 keystore2: generateKey() pid=<ChatGPT PID>
                  alias=codex_remote_control_device_key:<redacted>
    12:43:36.987 keystore2: generateKey() pid=<ChatGPT PID>
                  alias=codex_remote_control_device_key:<redacted>
    12:43:45.503 Chrome Custom Tab -> ChatGPT WebRedirectActivity
    12:43:45.537 WebRedirectActivity launches WebAuthenticationActivity
    12:43:45.560 WebAuthenticationActivity finish reason=app-request
    12:43:47.305 keystore2: deleteKey() pid=<ChatGPT PID>
    

    The authorization redirect reaches the Android app. However, the authentication Activity finishes almost immediately, followed by failure of the pairing flow. The keystore operations may be routine setup/cleanup and do not establish that the same key was deleted or that Android Keystore is faulty.

    I did not find a clear FATAL EXCEPTION, KeyStoreException, or explicit HTTP 401/403 in the filtered logcat output. I cannot determine from public logs whether the authorization code is redeemed or whether remote device enrollment reaches the backend.

    Could the team investigate the Android OAuth callback / Codex Remote device enrollment flow for this build? Full logcat contains sensitive authorization URL parameters and is intentionally not attached publicly.

  14. teaspace-404 commented on Nov 10, 2026

    @teaspace-404

    same issue on google pixel - any updates?

  15. YoursSweetDom commented on Nov 11, 2026

    @YoursSweetDom

    I can confirm that Codex Remote Control pairing is still broken on ChatGPT Android 1.2026.307 as of November 11, 2026.

    My environment

    • Phone: POCO X3 Pro, Android / MIUI.
    • ChatGPT Android: 1.2026.307.
    • Desktop: Alienware m15 R4, Windows 11 Pro, running Codex Remote Control.
    • Google Chrome is already the default browser.
    • VPN is disabled.
    • The desktop has working internet access.

    Actual behavior
    When attempting to pair through the QR-code flow, the Android app displays (translated from Russian):

    Pairing failed. Something went wrong while pairing. Try scanning the code again.

    Already tried without success

    • Signing out of ChatGPT and signing back in.
    • Reinstalling the Android ChatGPT app.
    • Confirming Chrome as the default browser.
    • Disabling the VPN.
    • Repeated pairing attempts.

    I am also restarting Remote Control on Windows, but have not yet confirmed the outcome of that test.

    Impact: This is blocking my actual work. I rely on Android Remote Control to access my Windows Codex development sessions when the PC is at a different location.

    This is not an isolated old build issue: other reports now mention Android 1.2026.307 (e.g. #60348 and #60552). Please prioritize investigating the Android pairing callback/token exchange/device enrollment path and consider an urgent hotfix. It would also help if the Android app displayed a useful error/request ID instead of only the generic pairing failure message.

    I can provide a screenshot of the error and additional redacted diagnostics if maintainers specify what is needed.

  16. cscg-it commented on Nov 11, 2026

    @cscg-it

    Additional reproduction: motorola razr 60 ultra / Android 16 / ChatGPT 1.2026.307 (2630718)

    Pairing fails after passkey authentication with “Pairing failed / Something went wrong while pairing. Try scanning the code again.” This report summarizes a user-assisted reproduction and read-only USB ADB diagnostics on November 11, 2026.

    Environment

    • Phone: motorola razr 60 ultra, Android 16 / API 36.
    • ChatGPT Android: versionName 1.2026.307, versionCode 2630718 (ADB verified).
    • Default browser: Chrome 157.0.8103.38 (ADB verified); Play Store offered no update, per user.
    • Host: CachyOS Linux, chatgpt-bin 26.1103.31037-1, desktop version 26.1103.31037.
    • The user reports successful iPad pairing with this host and failure on another Android tablet (tablet details not collected).

    Attempts that did not resolve it

    • Signing out of ChatGPT Android and signing back in.
    • Generating fresh QR codes.
    • Normal embedded authentication and reopening the authorization page directly in external Chrome.

    Latest reproduction
    Desktop pairing-code creation succeeded at 2026-11-11T01:10:59.256Z: remoteControl/pairing/start, errorCode=null. The user then completed the normal embedded authentication flow and confirmed failure. This desktop result establishes code creation, not successful phone enrollment.

    Selected Android events, November 11, device local time (Asia/Tokyo, UTC+09:00):

    10:11:14.132 wm_create_activity WebAuthenticationActivity
    10:11:58.749 wm_create_activity WebRedirectActivity
    10:11:58.770 wm_finish_activity WebRedirectActivity
    10:11:58.771 wm_new_intent WebAuthenticationActivity
    10:11:58.781 wm_on_activity_result_called WebAuthenticationActivity
    10:11:58.782 wm_finish_activity WebAuthenticationActivity
    10:11:58.783 wm_on_resume_called WebAuthenticationActivity
    10:11:59.290 wm_destroy_activity WebAuthenticationActivity
    

    The redirect reaches the app and delivers an intent to the authentication Activity. Its finish event follows the activity-result callback by 1 ms and precedes onResume by 1 ms. This resembles other traces in this issue, but Activity closure can also be normal behavior: these events do not establish whether a valid OAuth code was consumed, token exchange occurred, or the enrollment service rejected a request.

    The global always_finish_activities setting returned null (no explicit enabled value). A bounded app-process log inspection for that minute found no selected crash, keystore, TLS, timeout, invalid_grant, or access_denied markers. This does not rule out unlogged or differently worded errors.

    Could maintainers investigate the Android authorization callback / Remote enrollment flow around 2026-11-11 01:11:58 UTC, and provide a supported diagnostic ID collection method, recovery procedure, or confirmed fixed build?

    Only selected event names and timestamps are included. No raw logcat, authentication URLs or parameters, QR codes, tokens, account identifiers, or device serial numbers are attached. No app-data reset or credential modification was performed during these diagnostics.

  17. evandrocoan commented on Nov 12, 2026

    @evandrocoan

    Update, November 12, 2026. After updating the Android app to the version displayed as 1.2026.307 (18), I successfully paired the same Lenovo TB370FU with both my Windows and Linux hosts. These are the two hosts that previously failed to pair with this tablet, as described in my earlier comments.

    This is a successful pairing result for my setup. There are still reports above of pairing failures on other devices running 1.2026.307, including on November 11. A separate report in #60782 also describes recovery on November 12. The cause of the recovery and whether it applies more broadly are still unclear.

  18. Realife-Brahmin commented on Nov 12, 2026

    @Realife-Brahmin

    I was able to pair my Android phone with Codex on both of my Windows PCs on November 11. Before trying again, I updated the ChatGPT Android app to 1.2026.314 (0) and updated Codex on both PCs. I stayed signed in to both desktop apps throughout.

    Thanks, @evandrocoan, for sharing your update. It encouraged me to give pairing another try.

  19. yavimaya401 commented on Nov 14, 2026

    @yavimaya401

    Confirmed workaround — Samsung Galaxy S22 → Mac (November 14, 2026)

    I reproduced the post-authorization "Pairing failed" problem and successfully paired by temporarily installing an older ChatGPT Android version.

    Environment / failing sequence

    • Phone: Samsung Galaxy S22 (SM-S901B/DS), Android 16.
    • Host: MacBook Air, ChatGPT/Codex desktop Remote enabled.
    • Android versions that failed: 1.2026.307 (18) and 1.2026.314.
    • QR handshake, browser login, and Authorize all completed; Chrome redirected back into ChatGPT, then pairing failed.
    • Same real account email confirmed on both devices (not an Apple private-relay alias).
    • Fresh QR code, toggling Remote on the Mac, signing out/in, clearing Android app storage/cache, and enabling MFA made no difference.
    • ADB event logs showed Chrome launching WebRedirectActivity, a return to WebAuthenticationActivity, ACTIVITY_RESULT, then the authentication activity finishing. These lifecycle records do not prove whether token exchange or enrollment was attempted.

    What worked

    1. Obtain ChatGPT Android 1.2026.209 (package com.openai.chatgpt) from APKMirror's version listing. Check the package signature/source before signing in; sideloading is at your own risk.
    2. Uninstall the newer Android ChatGPT version (Android normally blocks a downgrade over a newer release). Warning: this clears local ChatGPT app data, so take care with anything not synced.
    3. Install the complete compatible 1.2026.209 APK bundle (not only base.apk). On Android, a bundle installer or adb install-multiple with all required splits can do this.
    4. Sign into the same OpenAI account/workspace, generate a new QR code on the Mac, and pair using the old app's Remote flow.
    5. Pairing succeeded immediately on 1.2026.209, using the same Mac/account. Remote subsequently appeared to be working.

    For those wishing to return to a newer app version, update in place without uninstalling or clearing data after successful pairing. Others in #48774 report that their pairing persisted across the update. I have not independently rechecked the exact post-update build on this phone, so the confirmed result here is the successful initial enrollment on 1.2026.209.

    This is a temporary, version-specific workaround, not a verified root-cause fix. It points toward a regression in initial Android device enrollment (versus an account-email mismatch), but that remains a hypothesis.

  20. cscg-it commented on Nov 14, 2026

    @cscg-it

    Follow-up to my earlier report: I have since successfully connected my mobile device to the desktop host. The connection is now working in my setup. I have not confirmed which change resolved the issue. Thank you to everyone who shared their findings.

  21. jzbbb commented on Nov 17, 2026

    @jzbbb

    One workaround that resolved a similar failure in my setup: correct the Android device's system clock.

    • Environment: Android 14, ChatGPT Android 1.2026.314, macOS desktop.
    • Both QR and manual pairing failed immediately before browser authorization. The desktop remoteControl/pairing/start response reported errorCode=null, which did not establish that mobile enrollment succeeded.
    • ADB showed the phone clock was approximately 3 minutes 17 seconds ahead of the Mac; the Mac time matched a UTC reference.
    • After correcting the phone's system time, remote pairing succeeded.

    This is one observed recovery, not proof that clock skew explains the other reports or a confirmed explanation of the underlying validation mechanism. It may be useful to check automatic date/time and compare the actual clocks. An actionable clock-skew error would also help.

  22. Zyarra commented on Nov 21, 2026

    @Zyarra

    Additional reproduction — Windows Codex Desktop + ChatGPT Android (2026-11-21)

    I can reproduce the post-authorization pairing failure described here. Both QR-code and manual-code pairing fail: authorization completes, control returns to the ChatGPT Android app, then it displays:

    Pairing failed
    Something went wrong while pairing. Try again.

    Host environment

    • Windows x64; Codex Desktop client version 26.1117.41037 (as identified in local app-server logs).
    • Windows Codex primary runtime package identity OpenAI.CodexPrimaryRuntime.v26-1119-907-0 (separate from desktop client version).
    • ChatGPT Android phone; exact device model, OS, and mobile app build were not captured.
    • Captured November 21, 2026; timestamps below in UTC.

    Steps

    1. In Codex Desktop, enable Settings → Connections → Control this PC and generate a fresh pairing QR/code.
    2. On Android, scan the QR or enter the manual code.
    3. Complete the authentication/authorization flow and return to ChatGPT.
    4. The phone immediately reports the generic pairing failure; the host never becomes usable via Remote.

    Relevant desktop evidence (sanitized)

    2026-11-21T09:14:50.081Z [AppServerConnection] response_routed
      durationMs=909 errorCode=null method=remoteControl/pairing/start
    
    2026-11-21T09:14:51.253Z [AppServerConnection] response_routed
      durationMs=536 errorCode=null method=remoteControl/client/list
    
    2026-11-21T09:14:52.725Z [AppServerConnection] response_routed
      durationMs=459 errorCode=null method=remoteControl/client/list
    
    ... repeated client/list polling roughly every 1–2 seconds ...
    
    2026-11-21T09:15:18.518Z [AppServerConnection] response_routed
      durationMs=367 errorCode=null method=remoteControl/client/list
    

    The internal ~/.codex/logs_2.sqlite independently captures remoteControl/pairing/start at 10:14:49 local time and repeated remoteControl/client/list requests through 10:15:18 local time. Local RPCs return without reported errors, but these log records do not include the returned device list or the remote relay/WebSocket state, so they do not prove where pairing fails. No successful registration was observed in the inspected logs or UI.

    Several unrelated MCP initialization errors appear in the logs; there is no evidence tying them to Remote pairing.

    Request: Could maintainers check the server-side Android authorization callback/device-enrollment transaction corresponding to the host pairing-start at 2026-11-21 09:14:49–09:14:50 UTC, and expose an actionable client-side error or request ID? The host's errorCode=null response alone cannot identify the failure after Android authorization.

    No account identifiers, pairing codes, auth tokens, or raw private logs included.

  23. blackdjurix commented on Nov 23, 2026

    @blackdjurix

    I'm experiencing the same Codex Remote pairing failure described in this issue, but there's some additional history that might be relevant.

    I've been investigating it with the help of Codex Desktop, using authorized USB ADB diagnostics and local Windows application logs. The pairing attempts and their outcomes were confirmed by me, while Codex assisted with collecting and analyzing the technical evidence.

    Background: Remote Control previously worked

    My Android phone was previously paired successfully with Codex Desktop on Windows, and Remote Control was working.

    Before the pairing failures started, ChatGPT Android had recurring stability problems. It frequently became unresponsive while loading conversations, including newly created chats. Android also occasionally displayed "ChatGPT is not responding" while the app was idle, including once during Read Aloud.

    I cleared the app cache several times without resolving these problems.

    Eventually, I cleared ChatGPT Android's app data and revoked my previously connected Android device from Codex Desktop. It was the only Android device I had paired.

    After that, I tried pairing the same phone and PC again, but the process consistently failed.

    I subsequently reinstalled ChatGPT Android, but the pairing problem remained.

    I can't establish whether the app-data reset, device revocation, or their combination caused the re-enrollment failure. The earlier stability problems may also be unrelated.

    Environment

    • Android phone: Infinix X6873
    • Android: 16
    • ChatGPT Android Beta: 1.2026.321 (versionCode 2632129)
    • Windows Codex Desktop MSIX package: 26.1117.4957.0
    • Same ChatGPT account on both devices
    • Remote Control enabled on Windows

    Pairing attempts

    The initial pairing failures were reported on November 21, 2026.

    After updating ChatGPT Android on November 23:

    • Manual pairing using a newly generated code still failed.
    • QR pairing from the Phone tab also failed, even with both devices connected to the same Wi-Fi network.
    • ChatGPT Android displayed Pairing failed.
    • No connected Android client appeared in Codex Desktop.

    The manual pairing code came from the Computer tab, so I'm treating that attempt as a separate observation rather than assuming it's equivalent to the supported Android QR pairing flow.

    Controlled diagnostic retest

    On November 23, I performed one controlled QR pairing attempt while Codex monitored Android events through ADB and local Windows logs.

    Both device clocks were checked, with an observed offset of less than one second.

    All timestamps below are in Asia/Jakarta (UTC+7).

    • 11:06:23.818 — Android started CodexRemoteSessionForegroundService.
    • 11:06:24.221 — Windows processed remoteControl/pairing/start with errorCode=null.
    • 11:06:35.850 — ChatGPT opened WebAuthenticationActivity.
    • 11:06:36.017 — Authentication transitioned to Chrome Custom Tab.
    • 11:06:52.100 — Android launched WebRedirectActivity.
    • 11:06:52.195 — WebAuthenticationActivity became active again.
    • 11:06:52.222 — ChatGPT MainActivity resumed.

    The browser-to-app redirect is therefore observable at the Android activity-lifecycle level.

    However, pairing still failed.

    Windows logs showed zero connected clients before the Android callback. We couldn't establish a separately timestamped post-callback connection-state result.

    The logs don't reveal whether the authentication result was valid, whether backend enrollment was attempted, or where the pairing process failed.

    Additional Android stability findings

    During a separate read-only system audit, Codex found:

    • A confirmed ChatGPT MainActivity ANR on November 21, caused by an input dispatch timeout.
    • Several background process terminations associated with the Android vendor's memory-management policy.
    • A foreground-service monitoring warning during the November 23 pairing retest.

    These observations confirm that ChatGPT had experienced application-stability issues, but they don't establish a causal connection to the pairing failure.

    Since updating ChatGPT Android on November 23, I haven't noticed another ANR so far. However, pairing continues to fail.

    Requested investigation

    Since Remote Control previously worked on the same phone and PC, I'm particularly interested in whether the issue could involve device re-enrollment after app-data reset and device revocation.

    The controlled retest also suggests that the browser redirect itself is reaching ChatGPT, although the authorization result and enrollment outcome remain unknown.

    Could the team investigate authentication-result processing, device authorization, enrollment, and pairing finalization around:

    2026-11-23 04:06:23–04:07:00 UTC

    I haven't included raw logs, authentication URLs, credentials, tokens, cookies, or pairing payloads.

    The technical findings were collected and analyzed with Codex using local diagnostic tools.

    Current status: Pairing still fails. Root cause unknown.

  24. codex-mirror-hub commented on Nov 26, 2026

    @codex-mirror-hub

    Additional reproduction: Honor MBH-N49, ChatGPT Android 1.2026.321(29), Windows VM

    I can reproduce the post-authorization "Pairing failed" symptom described in this issue. Similar symptoms do not establish that every report has the same root cause.

    Environment:

    • Honor MBH-N49, Android; exact Android OS version not recorded.
    • Installed ChatGPT Android version: 1.2026.321(29).
    • Chrome handles browser authorization.
    • Desktop host: Windows VM in VMware vCenter, accessed through RDP from a Mac.
    • Desktop package version observed on 25 November 2026: 26.1120.6357.0.
    • ChatGPT Business; the same account and workspace are selected on both devices.

    Reproduction:

    1. On the Windows host, open Settings > Connections > Control this PC. Allow connections is ON.
    2. Select Add and generate a fresh QR code.
    3. Scan it on Android, complete authentication and press Authorize in Chrome.
    4. Control returns to ChatGPT Android, which displays: "Pairing failed. Something went wrong while pairing. Try scanning the code again."
    5. The Android device does not appear in the host's device list.

    Already tried without resolving the issue: mobile app update/restart, fresh QR codes, mobile data, and signing out/back into ChatGPT Android. A normal retry without debugger instrumentation also failed. Manual-code pairing has not been established as tested in this case.

    Evidence:

    • The browser's select request returned HTTP 200. Its response contained an OAuth authorization code and a callback targeting com.openai.chatgpt, with requested scopes codex.remote_control.enroll and openid. There was no OAuth error field. This does not prove token exchange or final device enrollment succeeded.
    • One recorded host remoteControl/pairing/start response: 2026-11-25T16:35:32.147Z, errorCode=null. This is a host RPC response timestamp, not the exact time of the final Android error.
    • PID-filtered Android Logcat produced no usable application diagnostics.
    • Basic HTTPS/TLS checks from the host's normal user account succeeded. Endpoint-specific or application-level failures remain unverified.

    Private diagnostic feedback uploads, both confirmed in the host logs with uploaded_attachments=11 and attachments_failed=false:

    • no-active-thread-01a2138a-74f6-7e41-ba4e-c8ce9c6a7abe - upload completed 2026-11-25T16:29:38.461Z.
    • no-active-thread-01a21392-0aab-7853-ac4a-83a362cf9f29 - upload completed 2026-11-25T16:38:06.437Z.

    A sanitized authorization response, host log excerpts and screenshots confirming the host/workspace controls are enabled have been prepared for the private OpenAI Support case.

    Could maintainers confirm whether this build is affected by the issue tracked here, whether there is a confirmed fixed Android build or supported workaround, and whether the existing private feedback uploads can be used to investigate?

    No authorization codes, OAuth state values, tokens, account/workspace identifiers, device serial numbers, internal hostnames or internal IP addresses are included in this comment.

  25. michaelberton73-collab commented on Nov 28, 2026

    @michaelberton73-collab

    I’m seeing the same post-authorization pairing failure with ChatGPT for Android and Codex Desktop for Windows (package 26.1120.6357.0).

    On 28 November 2026, I started pairing from Settings → Connections → Control this PC, scanned the QR code on my Android phone, and tapped Authorize. The ChatGPT app on the phone then showed “Pairing failed.” Signing out of ChatGPT on the phone, signing back in, and trying again produced the same error.

    The Windows logs recorded five successful remoteControl/pairing/start calls between 10:15 and 10:21 UTC, most recently at 2026-11-28T10:21:16.934Z with errorCode=null. The desktop continued polling remoteControl/client/list without a reported RPC error. A separate read of this PC’s paired-device list returned zero devices.

    The desktop logs confirm that pairing started. They don’t expose the error after Authorize. Is there a supported way to capture the Android enrollment error or a request ID that Support can use to trace it?

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

    appbugremotewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions