Codex 运行时发生错误:​ (code=3221225477, signal=null). Most recent error: None

Resolved 💬 6 comments Opened Mar 30, 2026 by ffy2 Closed Jul 2, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

codex-cli 0.117.0

What subscription do you have?

pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

出错了
Codex 运行时发生错误:​

(code=3221225477, signal=null).
Most recent error: write EPIPE
可尝试以下解决方案:

检查 config.toml 是否包含无效设置
若出现兼容性问题,请在设置中禁用“在 WSL 中运行”功能​
尝试下载扩展程序的其他版本
点击重新加载以重启 Codex 扩展程序,或查阅文档获取其他帮助​。

打开 Config.toml

重新加载

<img width="700" height="700" alt="Image" src="https://github.com/user-attachments/assets/3827d0fe-b7fa-41d5-9b7f-e2b462f6fba1" />

What steps can reproduce the bug?

install Codex

What is the expected behavior?

Open normally

Additional information

_No response_

View original on GitHub ↗

6 Comments

github-actions[bot] contributor · 3 months ago

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

  • #16169
  • #14461
  • #14700
  • #15049

Powered by Codex Action

Unshanken · 2 months ago

Did you fix it? I have encountered the exact same problem today. And I have tried to reinstall my Visual C++ Redistrubutables and add some settings in the "Config.toml" file. Neither did they work. :(

ffy03924-cmyk · 2 months ago
Did you fix it? I have encountered the exact same problem today. And I have tried to reinstall my Visual C++ Redistrubutables and add some settings in the "Config.toml" file. Neither did they work. :(

codex_fix_translation_en.txt

Unshanken · 2 months ago
> Did you fix it? I have encountered the exact same problem today. And I have tried to reinstall my Visual C++ Redistrubutables and add some settings in the "Config.toml" file. Neither did they work. :( codex_fix_translation_en.txt

Thank you. Problem solved, have a nice day.

git97shunxin · 2 months ago
> > Did you fix it? I have encountered the exact same problem today. And I have tried to reinstall my Visual C++ Redistrubutables and add some settings in the "Config.toml" file. Neither did they work. :( > > > codex_fix_translation_en.txt Thank you. Problem solved, have a nice day.

is it just add ""runCodexInWindowsSubsystemForLinux": true" in the codex-global-state.json? I tried it but a new problem came out like "Unable to locate the Codex CLI binary. Set CODEX_CLI_PATH or ensure the Electron resources include bin/codex", have you ever encountered similar issue?

Unshanken · 2 months ago
> > > Did you fix it? I have encountered the exact same problem today. And I have tried to reinstall my Visual C++ Redistrubutables and add some settings in the "Config.toml" file. Neither did they work. :( > > > > > > codex_fix_translation_en.txt > > > Thank you. Problem solved, have a nice day. is it just add ""runCodexInWindowsSubsystemForLinux": true" in the codex-global-state.json? I tried it but a new problem came out like "Unable to locate the Codex CLI binary. Set CODEX_CLI_PATH or ensure the Electron resources include bin/codex", have you ever encountered similar issue?

In the first place, I tried "fix 3" immediately and it didn't work. So I started to implement "fix 1" and "fix 2". After this, fix 3 just somehow worked. I am also very confused about it.