Skip to content

Codex process errored: Codex process is not available #6435

Closed

Description

@MoonS11

What version of the VS Code extension are you using?

0.56.0

What subscription do you have?

nothing

Which IDE are you using?

vscode

What platform is your computer?

Windows 10 Professional

What issue are you seeing?

I was using the Codex extension in VSCode. When I switched from chat mode to agent mode, it prompted me to re-enter from WSL. After that, Codex showed the message: Codex crashed with the following error:Codex process errored: Codex process is not availableI checked the VSCode output:2025-11-10 08:44:53.862 [error] unable to parse stdout from codex app-server: SyntaxError: Unexpected end of JSON input2025-11-10 08:44:53.862 [error] unable to parse stdout from codex app-server: SyntaxError: Unexpected token 'N', "NX[(WwQ g@b�c�O" is not valid JSON2025-11-10 08:44:53.863 [error] unable to parse stdout from codex app-server: SyntaxError: Unexpected token 'T', "T�y�v�R�S�0" is not valid JSON2025-11-10 08:44:53.863 [error] unable to parse stdout from codex app-server: SyntaxError: Unexpected token '

Image

Image

Image

Image

What steps can reproduce the bug?

Switch from chat mode to agent mode

What is the expected behavior?

No response

Additional information

No response

Activity

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

    @github-actions
    Contributor
  4. sademban commented on Nov 10, 2025

    @sademban

    i have been facing this since this morning, is there any fix on this? i opened in wsl it works but when i open with windows it gives me this issue and i tried setting
    [general] run_in_wsl = false
    it did not work.

    is this erro due to current update

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

    @dylan-hurd-oai
    Contributor

    @sademban @MoonS11 can you try disabling the setting in VS Code settings?

    Image
  6. sademban commented on Nov 10, 2025

    @sademban

    @dyli-oai yes i tried by setting "chatgpt.runCodexInWindowsSubsystemForLinux": false, it started working but when i want to switch to agent mode not agent(full access) which works in wsl. it does not start. why does it have to be this way. is it mandatroy for us to give full-access??

    working when turned off:

    Image

    not working when turned on:

    Image

    or am i doing something wrong?? or integration with WSL is having issue

  7. anda88 commented on Nov 10, 2025

    @anda88

    我也遇到了同样的问题。

  8. anda88 commented on Nov 10, 2025

    @anda88

    周六还可以在vscode中正常使用codex 插件(选择run in wsl ),今天就不行了。

  9. bekingjx commented on Nov 10, 2025

    @bekingjx

    I've got the same problem, I switched to Agent mode then when enabling the WSL connection it brokes up like the screenshot. Now I've switched back and using it with Full Access.
    I'm following for the fix.

  10. mcorcos commented on Nov 10, 2025

    @mcorcos

    not workingggg

  11. L9my commented on Nov 10, 2025

    @L9my

    Same issue for me

  12. VorlonCD commented on Nov 10, 2025

    @VorlonCD

    I have the same issue: #6192 (comment)

  13. xingqiux commented on Nov 11, 2025

    @xingqiux

    I have the same

  14. 2 remaining items

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

    @dylan-hurd-oai
    Contributor

    We've addressed a few bugs with the WSL setting - please try downloading the latest pre-release (0.5.39), or you can turn off the chatgpt.runCodexInWindowsSubsystemForLinux setting.

    Image
  16. tismatic commented on Nov 11, 2025

    @tismatic

    We've addressed a few bugs with the WSL setting - please try downloading the latest pre-release (0.5.39) or you can turn off the chatgpt.runCodexInWindowsSubsystemForLinux setting.

    Image

    This seems to be working after installing the latest pre-release as you suggested!

  17. ShaungBhone commented on Nov 11, 2025

    @ShaungBhone
    Image "chatgpt.runCodexInWindowsSubsystemForLinux": false
  18. tismatic commented on Nov 11, 2025

    @tismatic

    I should also note that the latest pre-release also allowed me to run in WSL mode as well without having to disable it.

  19. Gabriel31173 commented on Nov 11, 2025

    @Gabriel31173

    @dylan-hurd-oai the pre-release did not fix the problem for me. Now wsl agent mode works when I start VS code but after 30min-1hr I suddenly get the same error shown in the original post. Not sure what’s happening and if some timed event still has the bug, but it happened while it was processing an agent request I made.

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

    @dylan-hurd-oai
    Contributor

    @BaconGabe thanks for reporting! I'd like to dig into this, but it sounds like a new problem. Can you open a new issue with details about the specific error you're seeing? I'm going to close this issue for cleanliness.

    If you're still seeing issues related to WSL, please open a new Github Issue and we'll dig into it.

  21. jisam-isa commented on Nov 12, 2025

    @jisam-isa

    is this for all? or is specific people

  22. Gabriel31173 commented on Nov 12, 2025

    @Gabriel31173

    @dylan-hurd-oai I'll create the issue if I see it again for some reason it hasn't happened since yesterday and I didn't change anything

  23. topsailhemp-gif commented on Nov 12, 2025

    @topsailhemp-gif

    I am having the same issue on my new Surface Pro. None of the solutions above worked.

  24. NewbyZ commented on Nov 16, 2025

    @NewbyZ

    I fix doing that:

    in CMD:
    notepad %APPDATA%\Code\User\settings.json

    change:
    "chatgpt.runCodexInWindowsSubsystemForLinux": true

    for:
    "chatgpt.runCodexInWindowsSubsystemForLinux": false

  25. Gabriel31173 commented on Nov 16, 2025

    @Gabriel31173

    I fix doing that:

    in CMD: notepad %APPDATA%\Code\User\settings.json

    change: "chatgpt.runCodexInWindowsSubsystemForLinux": true

    for: "chatgpt.runCodexInWindowsSubsystemForLinux": false

    @topsailhemp-gif @NewbyZ this will fix the error, but you still wont be able to use agent mode (WSL needed). still good to know just so you can get something working

  26. jisam-isa commented on Nov 17, 2025

    @jisam-isa

    I fix doing that:
    in CMD: notepad %APPDATA%\Code\User\settings.json
    change: "chatgpt.runCodexInWindowsSubsystemForLinux": true
    for: "chatgpt.runCodexInWindowsSubsystemForLinux": false

    @topsailhemp-gif @NewbyZ this will fix the error, but you still wont be able to use agent mode (WSL needed). still good to know just so you can get something working

    Fixed my issue following this.. Many thx..

  27. Z996Zh commented on Nov 19, 2025

    @Z996Zh

    I encountered the same error. I installed the codex plugin in cursor and configured it in the Linux docker. My computer unexpectedly restarted. After that, when I entered the codex plugin, an error was reported
    An error has occurred
    Codex crashed with the following error:

    Codex process errored: Codex process is not available
    Some things to try:

    Check your config.toml for invalid settings
    Try updating your IDE settings
    Try downloading a different version of the extension
    Click reload to restart the Codex extension, or visit our documentation for additional help.

    I don't know how to recover it.

  28. phrxst commented on Nov 25, 2025

    @phrxst

    Solution on the duplicate ticket fixed it for me. #6479 (comment)

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

    bugextensionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions