Skip to content

ChatGPT Desktop (Windows) fails in WSL mode with "Codex app-server initialize handshake timed out" #39169

Closed

Description

@davorg

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

26.814.5167.0

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

ChatGPT Desktop 26.814.5167.0
Windows 11
WSL2 FedoraNew
codex-cli 0.148.0-alpha.15

runCodexInWindowsSubsystemForLinux = true

Error:
"Codex app-server initialize handshake timed out"

Works:

  • WSL starts normally
  • codex --version
  • codex app-server
  • exact app-server command extracted from logs
  • all SQLite databases pass PRAGMA quick_check
  • no SQLite locks

Log excerpts:
[resolveCodexHome] Falling back to host home directory because WSL CODEX_HOME could not be resolved

bundled_executable_relocation_failed
failedExecutableName=bwrap
errorCode=ENOENT

[AppServerConnection] Initialize handshake still pending
durationMs=30002

Codex app-server initialize handshake timed out

This worked until a Windows reboot overnight on 18/19 August.

Switching to:

runCodexInWindowsSubsystemForLinux = false

Allows it to start - but I lose access to my (many!) WSL-backed conversations.

What steps can reproduce the bug?

  1. Install ChatGPT Desktop 26.814.5167.0 on Windows 11.
  2. Configure ChatGPT to run Codex in WSL:
  3. Use a WSL2 distribution (Fedora in my case) as the integrated terminal.
  4. Close and restart ChatGPT Desktop.
  5. Observe startup failure

codex-desktop-2604ace1-768c-484d-a112-8b1d7cc81155-4956-t0-i1-071622-0.log

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    appIssues related to the Codex desktop app
    on Aug 18, 2026
  2. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    app-serverIssues involving app server protocol or interfaces
    on Aug 18, 2026
  3. github-actions commented on Aug 18, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. davorg commented on Aug 19, 2026

    @davorg
    Author

    Seems to be covered by #38345

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

    appIssues related to the Codex desktop appapp-serverIssues involving app server protocol or interfacesbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions