You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex process errored: Codex process is not available #6435
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 '
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.
@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:
not working when turned on:
or am i doing something wrong?? or integration with WSL is having issue
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.
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.
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.
This seems to be working after installing the latest pre-release as you suggested!
@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.
@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.
@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
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
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.
Activity
github-actions commentedon Nov 10, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
sademban commentedon Nov 10, 2025
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 = falseit did not work.
is this erro due to current update
dylan-hurd-oai commentedon Nov 10, 2025
@sademban @MoonS11 can you try disabling the setting in VS Code settings?
sademban commentedon Nov 10, 2025
@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:
not working when turned on:
or am i doing something wrong?? or integration with WSL is having issue
anda88 commentedon Nov 10, 2025
我也遇到了同样的问题。
anda88 commentedon Nov 10, 2025
周六还可以在vscode中正常使用codex 插件(选择run in wsl ),今天就不行了。
bekingjx commentedon Nov 10, 2025
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.
mcorcos commentedon Nov 10, 2025
not workingggg
L9my commentedon Nov 10, 2025
Same issue for me
VorlonCD commentedon Nov 10, 2025
I have the same issue: #6192 (comment)
xingqiux commentedon Nov 11, 2025
I have the same
2 remaining items
dylan-hurd-oai commentedon Nov 11, 2025
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.runCodexInWindowsSubsystemForLinuxsetting.tismatic commentedon Nov 11, 2025
This seems to be working after installing the latest pre-release as you suggested!
ShaungBhone commentedon Nov 11, 2025
tismatic commentedon Nov 11, 2025
I should also note that the latest pre-release also allowed me to run in WSL mode as well without having to disable it.
Gabriel31173 commentedon Nov 11, 2025
@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.
dylan-hurd-oai commentedon Nov 11, 2025
@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.
jisam-isa commentedon Nov 12, 2025
is this for all? or is specific people
Gabriel31173 commentedon Nov 12, 2025
@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
topsailhemp-gif commentedon Nov 12, 2025
I am having the same issue on my new Surface Pro. None of the solutions above worked.
NewbyZ commentedon Nov 16, 2025
I fix doing that:
in CMD:
notepad %APPDATA%\Code\User\settings.json
change:
"chatgpt.runCodexInWindowsSubsystemForLinux": truefor:
"chatgpt.runCodexInWindowsSubsystemForLinux": falseGabriel31173 commentedon Nov 16, 2025
@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
jisam-isa commentedon Nov 17, 2025
Fixed my issue following this.. Many thx..
Z996Zh commentedon Nov 19, 2025
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.
phrxst commentedon Nov 25, 2025
Solution on the duplicate ticket fixed it for me. #6479 (comment)