codex icon indicating copy to clipboard operation
codex copied to clipboard

timeout waiting for child process to exit

Open wu-diu-diu opened this issue 10 months ago • 29 comments

What version of Codex is running?

codex-cli 0.92.0

What subscription do you have?

plus

Which model were you using?

gpt5.2

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

wsl

What issue are you seeing?

thread ID:019c0392-ebfe-7fb1-8aff-f175b8859eb5

What steps can reproduce the bug?

Uploaded thread: 019c0392-ebfe-7fb1-8aff-f175b8859eb5

What is the expected behavior?

No response

Additional information

No response

wu-diu-diu avatar Jan 28 '26 08:01 wu-diu-diu

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

  • #9666
  • #9211

Powered by Codex Action

github-actions[bot] avatar Jan 28 '26 08:01 github-actions[bot]

I set the HTTP environment variable in wsl to the proxy opened by the window system, that is, let wsl communicate with the outside world through localhost:8080

wu-diu-diu avatar Jan 28 '26 08:01 wu-diu-diu

me too

wangziqi0409 avatar Jan 29 '26 01:01 wangziqi0409

me too

WayneCYChang avatar Jan 30 '26 14:01 WayneCYChang

@wu-diu-diu, @wangziqi0409, @WayneCYChang, thanks for reporting. Are you on a corporate network/VPN/proxy that you know of? We don't set an explicit timeout ourselves, so trying to see what's terminating the connection.

sayan-oai avatar Feb 03 '26 23:02 sayan-oai

Me too. I have a good network, but has this error. I restarted, still same. What server domain should I try to ping?

Xihongwang avatar Feb 19 '26 20:02 Xihongwang

+1

Version 26.313.41514

VSCode extension

Codex

rnetonet avatar Mar 19 '26 18:03 rnetonet

me too It's so painful not being able to use CodeX.

ggboooy avatar Mar 22 '26 11:03 ggboooy

me too It's so painful not being able to use CodeX.

tricoffee avatar Mar 23 '26 06:03 tricoffee

me too It's so painful not being able to use CodeX.

duliangang avatar Mar 23 '26 11:03 duliangang

Having this issue on Windows 11:

codex --version codex-cli 0.116.0

kaiospitz avatar Mar 24 '26 11:03 kaiospitz

Having this issue on MacOS

codex --version codex-cli 0.116.0

jiyi27 avatar Mar 25 '26 03:03 jiyi27

This is how I solved it: on macOS, you can enable proxy settings in the Terminal first by exporting your HTTP/HTTPS proxy, and then launch Codex using:

open -a Codex

This way, Codex will use the proxy settings you configured before launching.

Note: unfortunately, you need to do this every time you start Codex, which can be a bit tedious.

hugepower avatar Mar 27 '26 05:03 hugepower

将代理 换成TUN模式就可以了

Beisheng8888 avatar Mar 28 '26 12:03 Beisheng8888

Same issue for me on codex-cli 0.117.0, Windows 11, even on brand new Codex launches and brand new sessions. It's pretty much completely unusable right now.

martydill avatar Mar 30 '26 15:03 martydill

me too It's so painful not being able to use CodeX.

AndrewXiGua avatar Apr 03 '26 09:04 AndrewXiGua

have to wait until reconnecting 5/5😶

gugugaaa avatar Apr 06 '26 10:04 gugugaaa

将代理 换成TUN模式就可以了 顶,这个方法有用

Mr-PPPeach avatar Apr 07 '26 04:04 Mr-PPPeach

turn off Tailscale or GoodbyeDPI.

fxpoet avatar Apr 08 '26 15:04 fxpoet

Have tailscale on my machine and have been running into the same issue. This fix worked for me.

# Define a custom provider with ws disabled 
[model_providers.openai-http]
name = "OpenAI"
base_url = "https://chatgpt.com/backend-api/codex"
wire_api = "responses"
requires_openai_auth = true
supports_websockets = false

Then in your profile use this provider

[profiles.<your-profile-name>]
model_provider = "openai-http"

unarmedcivilian avatar Apr 11 '26 20:04 unarmedcivilian