Skip to content

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

Closed as duplicate

Description

@ffy2

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

重新加载

Image

What steps can reproduce the bug?

install Codex

What is the expected behavior?

Open normally

Additional information

No response

Activity

  1. added
    appIssues related to the Codex desktop app
    on Mar 30, 2026
  2. added
    bugSomething isn't working
    extensionIssues related to the VS Code extension
    windows-osIssues related to Codex on Windows systems
    on Mar 30, 2026
  3. Unshanken commented on May 11, 2026

    @Unshanken

    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. :(

  4. ffy03924-cmyk commented on May 11, 2026

    @ffy03924-cmyk

    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

  5. Unshanken commented on May 11, 2026

    @Unshanken

    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.

  6. git97shunxin commented on May 11, 2026

    @git97shunxin

    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?

  7. Unshanken commented on May 11, 2026

    @Unshanken

    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.

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

    appIssues related to the Codex desktop appbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions