codex icon indicating copy to clipboard operation
codex copied to clipboard

[Windows][26.1120.6357.0] ChatGPT desktop app hangs on every launch after update

Open MoHaddad59 opened this issue 1 week ago • 6 comments

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

26.1120.6357.0

What subscription do you have?

Pro plan

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

The regular/full ChatGPT Windows desktop app hangs every time it is opened. The problem began after the recent automatic app update.

The window initially opens, but the application becomes unresponsive and must be closed. Windows Event Viewer records the failure as MoAppHang.

Windows Error Reporting details:

Event name: MoAppHang Package: OpenAI.Codex_26.1120.6357.0_x64__2p2nqsd0c76g0 Executable version: 158.0.8127.89 Report ID: e893441c-82cd-44f8-baf8-f7f7c2ed7f19 Latest observed occurrence: November 25, 2026, approximately 13:09 CET

The ChatGPT Beta package works on the same computer and account, but it does not provide access to all the features available in the regular/full app.

The regular app worked before the recent updates. Event Viewer also shows the same hang with version 26.1120.5083.0.

What steps can reproduce the bug?

  1. Install or update the regular ChatGPT desktop app from the Microsoft Store to version 26.1120.6357.0.
  2. Launch ChatGPT from the Windows Start menu.
  3. Wait for the app window to open.
  4. The app stops responding.
  5. Windows must close the unresponsive application.

The problem occurs on every launch.

Troubleshooting already attempted:

  • Terminated the application through Windows Settings
  • Used Repair
  • Used Reset
  • Restarted Windows
  • Uninstalled and reinstalled the regular app
  • Confirmed that ChatGPT Beta opens on the same computer and account

None of these steps fixed the regular app.

What is the expected behavior?

No response

Additional information

No response

MoHaddad59 avatar Nov 25 '26 13:11 MoHaddad59

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

  • #63679
  • #62731
  • #63112
  • #63123

Powered by Codex Action

github-actions[bot] avatar Nov 25 '26 13:11 github-actions[bot]

Additional reproduction on Windows x64, OS build 10.0.26300 (reported by app log), same app package 26.1120.6357.0 and primary runtime framework 26.1123.915.0. Window becomes unresponsive shortly after launch, with Windows ghosting the window. GPU switching, graphics driver reset, app repair/reset, and terminating codex backend processes did not resolve it. WSL Ubuntu-24.04 shell initialization works. Main ChatGPT.exe (no command-line switches) reports Responding=False; a 15-second sample showed unchanged cumulative CPU time (11.859375s), 1713 handles, 375.8 MB working set, and 62 threads after stabilization. Logs show startup phases completing, successful account lookup and primary runtime activation. Repeated warning across launches: [wallpaper-tint] Unable to update wallpaper tint preview / TypeError: e.hookWindowMessage is not a function. Other warnings include App-server request source retired, ignoring invalid experimental feature enablement keys: apps_mcp_path_override, and repeated HTTP 404 for /pins/content. These may be incidental; no hang dump or wait chain is available to confirm the blocking call. Reporting corroborating evidence rather than claiming a root cause. Personal paths and identifiers omitted.

rbrtctln avatar Nov 26 '26 02:11 rbrtctln

Adding another affected installation on the same Windows build and app package. My case includes both a startup-logo hang and account/workspace-settings errors; I cannot confirm that it has the same underlying cause as the original report.

Environment

  • Windows 11 Professional, 64-bit; OS version 10.0.26200.
  • MSIX package: OpenAI.Codex 26.1120.6357.0, x64.
  • Bundled runtime: codex-cli 0.171.0-alpha.13.2, verified using the executable inside this MSIX package, rather than the separate CLI on PATH.

Observed behavior and troubleshooting

  1. After a fresh installation, the Codex interface opens but shows “Couldn't load workspace settings — Retry to continue chatting”, preventing chat.
  2. Signing out led to the app remaining indefinitely at the OpenAI logo.
  3. Terminating only the desktop's child codex.exe app-server while leaving the window open got past the logo, but the original workspace-settings error returned.
  4. The failure reproduced on both tested internet connections.
  5. Revoking the desktop session through ChatGPT's web security settings and reopening the app again resulted in the logo hang.
  6. A separate community workaround—terminating one verified ChatGPT.exe --type=renderer child—did not recover the app. It instead displayed a plain “Something went wrong…” page. This last error occurred after the intentional renderer termination and should be distinguished from the original failure.

Desktop log evidence

The collected excerpt contains 25 sa_server_request_failed records from 2026-11-26 02:43:39.460–02:49:20.836 UTC (November 25, approximately 9:43–9:49 p.m. US Eastern):

Request Entries in excerpt
/accounts/optimized/check 13
/accounts/check/v4-2023-04-27 9
/settings/user 3

All 25 include attachAuth=true, errorCode=ERR_ABORTED, errorMessage=net::ERR_ABORTED, errorName=Error, and handler status=500. Selected fields from representative entries:

2026-11-26T02:43:39.460Z warning [electron-message-handler] sa_server_request_failed attachAuth=true errorCode=ERR_ABORTED errorMessage=net::ERR_ABORTED errorName=Error method=get status=500 url=/accounts/optimized/check
2026-11-26T02:43:40.467Z warning [electron-message-handler] sa_server_request_failed attachAuth=true errorCode=ERR_ABORTED errorMessage=net::ERR_ABORTED errorName=Error method=get status=500 url=/accounts/check/v4-2023-04-27
2026-11-26T02:49:16.233Z warning [electron-message-handler] sa_server_request_failed attachAuth=true errorCode=ERR_ABORTED errorMessage=net::ERR_ABORTED errorName=Error method=get status=500 url=/settings/user

The excerpt establishes aborted desktop requests. The handler's status=500 does not establish an upstream HTTP 500 response, and attachAuth=true does not establish successful authentication. No 401/403 or Cloudflare-challenge error appears in this excerpt.

Bundled codex doctor --json findings

  • Overall: 19 OK, 6 warnings, no failed checks.
  • Configuration parsing and all seven reported SQLite integrity checks succeeded.
  • Provider HTTP reachability returned 405; the assets CDN returned 200. The Responses WebSocket handshake succeeded with HTTP 101.
  • The background-server check warned that its control socket was stale or unreachable; its relationship to this desktop failure is unconfirmed.
  • Doctor reported the desktop as running=false and did not perform the desktop app-server handshake, despite the visibly open GUI. Its reported log directory was the unvirtualized location; the actual logs were under the MSIX package's LocalCache\Local\Codex\Logs directory.

Doctor was a separate CLI invocation, so its connectivity results do not validate the failing desktop account/settings requests.

Please advise whether this account/settings failure followed by the startup hang belongs in this issue, and which targeted startup diagnostic would best distinguish the failure paths. Personal paths, account details, and project/thread information have been omitted.

Lash12 avatar Nov 26 '26 03:11 Lash12

Confirming the exact same issue on another Windows 11 machine as of November 26, 2026.

Environment:

  • Windows 11 25H2, build 26200.9974 (x64)
  • OpenAI.Codex: 26.1120.6357.0
  • ChatGPT.exe: 158.0.8127.89
  • PrimaryRuntime: 26.1123.915.0
  • Subscription: ChatGPT Business (formerly Team)

Symptoms:

The application launches and partially renders the interface, but fails to load conversation history fully, projects and profile information. It becomes unresponsive and eventually has to be closed by Windows.

Reproducible on every launch. Browser and Android versions work normally.

Windows Event Viewer:

  • Event IDs: 1001 and 1002
  • Event name: MoAppHang
  • Fault bucket: 1330935973739114021
  • P5: 7a87
  • P6: 134217728

Additional findings:

Get-AppxPackage *OpenAI* consistently reports:

  • OpenAI.Codex: 26.1120.6357.0 — Ok
  • OpenAI.CodexPrimaryRuntime.v26-1123-915-0: 26.1123.915.0 — NotAvailable

The AppXDeploymentServer Operational log repeatedly records events 401 and 664, with error 0x80073D02, indicating that removal of the PrimaryRuntime package fails because it is in use.

This appears potentially related to #62868, although I cannot establish whether the deployment failure is the cause or a consequence of the application hang.

Troubleshooting attempted:

  • Windows restart
  • Terminating all ChatGPT-related processes
  • Checking Microsoft Store for updates (none available)
  • Windows application Repair (completed successfully, no improvement)
  • Checking for orphaned Codex/ChatGPT processes using Get-CimInstance Win32_Process (none found after closing the application)

The PrimaryRuntime status remains NotAvailable after Repair.

I have deliberately not reset or reinstalled the application yet, given reports that these steps have not resolved the issue for other affected users.

Happy to provide additional diagnostic information if useful.

kvitso avatar Nov 26 '26 15:11 kvitso

I had the same problem. And rebuild the app didnot solve it. Are there any tips?

SoledadPianist avatar Nov 27 '26 04:11 SoledadPianist

Possible fix: ChatGPT Desktop freezes on Windows due to WSL and SSH keychain initialization

I managed to identify and fix this issue on my machine without reinstalling ChatGPT or disabling WSL.

Affected environment:

  • ChatGPT Desktop: 26.1120.6357.0
  • Codex Primary Runtime: 26.1123.915.0
  • Windows 11
  • WSL2 / Ubuntu 24.04

Root cause:

During startup, ChatGPT executes bash -ilc through WSL to retrieve the Linux PATH.

My .bashrc contained the following line:

eval "$(keychain --eval --quiet id_ed25519)"

Keychain was waiting for my SSH passphrase, causing the entire ChatGPT interface to freeze.

Running wsl --shutdown while ChatGPT was frozen immediately restored responsiveness.

Diagnostic steps:

time timeout -k 2s 10s bash --noprofile --norc -ilc 'echo OK'
time timeout -k 2s 10s bash -ilc 'echo OK'

The first command completed in 6 ms. The second requested my SSH passphrase and timed out with exit code 124.

Solution:

Back up your .bashrc:

cp ~/.bashrc ~/.bashrc.bak

Replace the keychain initialization line with:

if [[ -t 0 && -t 1 ]]; then
    eval "$(keychain --eval --quiet id_ed25519)"
fi

Validate the configuration:

bash -n ~/.bashrc

This prevents keychain from requesting a passphrase when Bash is launched without terminal input and output.

There is no need to remove your SSH passphrase, disable WSL, or reinstall ChatGPT.

Recommendation for OpenAI: WSL environment discovery should not block the main application thread. Please consider asynchronous execution and an appropriate timeout.

Hopefully this helps others experiencing the same issue!

Lisandro46 avatar Nov 27 '26 22:11 Lisandro46