Skip to content

VS Code Extension pre-release broken on windows, infinite loading #6192

Closed

Description

@mommysgoodpuppy

What version of the VS Code extension are you using?

v0.5.36 (pre-release)

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What issue are you seeing?

After installing pre-release and enabling agent mode (restart with wsl)

[error] Codex app-server process exited with code 4294967295 and signal null

vscode output channel for codex
Image

What steps can reproduce the bug?

  • install pre-release

  • turn on full agent mode(restart with wsl)

  • view codex window and codex output channel

  • switching to release version and reloading vscode remedies the issue for now

What is the expected behavior?

works like release ver

Additional information

vscode ver 1.105.1

wsl:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy

Activity

  1. added
    extension
    on Nov 4, 2025
  2. added
    bug
    windows-os
    on Nov 4, 2025
  3. github-actions commented on Nov 4, 2025

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. dylan-hurd-oai commented on Nov 4, 2025

    @dylan-hurd-oai
    Contributor

    What is the output of: wsl -l -v?

  5. mommysgoodpuppy commented on Nov 6, 2025

    @mommysgoodpuppy
    Author

    What is the output of: wsl -l -v?

    wsl -l -v
      NAME              STATE           VERSION
    * Ubuntu-22.04      Stopped         2
      docker-desktop    Stopped         2
    
  6. VorlonCD commented on Nov 10, 2025

    @VorlonCD

    Same issue....

    • Windows 11 24H2 build 26100.7019.
    • VS Code Codex extension: 0.4.38 (stable, not pre-release)
    • WSL: Ubuntu 24.04.1 (WSL updated, Ubuntu app updated and restarted)
    • codex inside WSL: v0.57.0, codex CLI works fine when run manually
    • VS Code Codex log shows the same exact error as above.
    • The error looks like its not expecting utf-16 in the json it returns.
    • Only happens when I force the codex setting in VSCode to use WSL and enable Agent mode.
    • When I launch the local version of codex from here it gives me "v0.56.0-alpha.5", which is where I suspect the issue is, not in the WSL version.
    • C:\Users\Username.vscode\extensions\openai.chatgpt-0.4.38-win32-x64\bin\windows-x86_64\codex.exe
  7. dylan-hurd-oai commented on Nov 11, 2025

    @dylan-hurd-oai
    Contributor

    This should be fixed in 0.5.39 - let us know if you're still seeing issues

  8. lrq3000 commented on Nov 11, 2025

    @lrq3000

    Seems like I am unlucky but I just installed the Codex extension and once I updated my wsl to be able to install the latest ubuntu, Codex started crashing on launch. I keep the infinite loading bug on both the release and pre-release channels, including with v0.5.39.

    /EDIT: If I disable "Run Codex In Windows Subsystem for Linux" in the extention's settings, then the extension loads fine again.

  9. lrq3000 commented on Nov 11, 2025

    @lrq3000

    Sorry my mistake, it seems to work now, I was just too expeditive, what happened is that wsl was asking me to create a root account and I did not finish the process before trying Codex, so Codex was stuck trying to call a wsl env but failed because the env was stuck.

    So for those who run into this issue in the future, it may be worth checking whether the wsl env is fully available.

  10. dylan-hurd-oai commented on Nov 11, 2025

    @dylan-hurd-oai
    Contributor

    @lrq3000 super helpful feedback! Can you open up a new issue for the root account problem, so we can track fixing it? I'd like to close this current issue.

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

Metadata

Metadata

Labels

bugextensionwindows-os

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions