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 #6479
What version of the VS Code extension are you using?
0.4.38
Last Updated 1 day ago
What subscription do you have?
standard
Which IDE are you using?
VS code
What platform is your computer?
Microsoft Windows NT 10.0.27982.0 x64
What issue are you seeing?
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
Check your settings to disable running in WSL if you are seeing compatibility issues
Try downloading a different version of the extension
Click reload to restart the Codex extension, or visit our documentation for additional help.
Open Config.toml
Reload
What steps can reproduce the bug?
I clicked "run in WSL", then this happened, and that's the situation for the last couple of days.
Try this:
Open an old ( or a fresh/new ) conversation.
Does that work?
If yes: Your previous conversation crashed ( happend with me, it even crashed my windows 11 trying to run some powershell scripts ).
This conversation can't be opened anymore for some reason and you have to start a new one.
I hope they fix these untested situations in the future. I've just lost so much progress in that conversation.
Your previous conversation crashed ( happend with me, it even crashed my windows 11 trying to run some powershell scripts ). This conversation can't be opened anymore for some reason and you have to start a new one. I hope they fix these untested situations in the future. I've just lost so much progress in that conversation.
Go into your .codex folder
Go into the sessions folder
Look for that chats rollout .jsonl file (rollout-<year>-<month>-<day>T<hour>-<minute>-<second>-<codex_session_hash>.jsonl)
Remove some lines at the end of the file but it should still be valid json.
like delete such a whole block or some more blocks (depending on if it's working after only one block delete or not):
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
etraut-openai commentedon Nov 11, 2025
Thanks for the bug report. It looks like this is already being tracked in #6435. Closing to reduce duplication.
guarasoft commentedon Nov 16, 2025
Same issue here on Windows 11 Pro.
Clean install, no extensions, no WSL, fully updated VSCode.
Codex fails to start its local binary and instantly returns:
“Codex process errored: Codex process is not available”.
Worked fine until last update.
OakerO commentedon Nov 20, 2025
It works for me when I enable WSL option but I get this error if I DISABLE wsl.
Okay, found the issue. This stuff seems really poorly tested. I tried to execute the codex.exe manually and got DLL error. I installed the runtimes and it works now. See here https://learn.microsoft.com/en-us/answers/questions/4269238/vcruntime140-dll-and-msvcp140-dll-missing-in-windo
armilancode commentedon Dec 14, 2025
Try this:
Open an old ( or a fresh/new ) conversation.
Does that work?
If yes: Your previous conversation crashed ( happend with me, it even crashed my windows 11 trying to run some powershell scripts ).
This conversation can't be opened anymore for some reason and you have to start a new one.
I hope they fix these untested situations in the future. I've just lost so much progress in that conversation.
Cr4nkSt4r commentedon Dec 16, 2025
.codexfoldersessionsfolderrollout-<year>-<month>-<day>T<hour>-<minute>-<second>-<codex_session_hash>.jsonl){"timestamp":"<redacted>","type":"turn_context","payload":{"cwd":"<redacted>","approval_policy":"on-request","sandbox_policy":{"type":"workspace-write","writable_roots":"<redacted>"},"model":"gpt-5.1","effort":"high","summary":"auto"}}Nguyenhieploi commentedon Jun 22, 2026
I was able to fix this issue by downgrading the Codex VS Code extension to version 26.609.30741.
After installing that version and restarting VS Code, Codex worked again without the Codex process is not available / state db discrepancy error.