timeout waiting for child process to exit

Open 💬 28 comments Opened Jan 28, 2026 by wu-diu-diu
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

28 Comments

github-actions[bot] contributor · 5 months ago

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

  • #9666
  • #9211

Powered by Codex Action

wu-diu-diu · 5 months ago

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

wangziqi0409 · 5 months ago

me too

WayneCYChang · 5 months ago

me too

sayan-oai contributor · 5 months ago

@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.

Xihongwang · 5 months ago

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

rnetonet · 4 months ago

+1

Version 26.313.41514

VSCode extension

Codex

ggboooy · 4 months ago

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

tricoffee · 3 months ago

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

duliangang · 3 months ago

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

kaiospitz · 3 months ago

Having this issue on Windows 11:

codex --version
codex-cli 0.116.0

jiyi27 · 3 months ago

Having this issue on MacOS

codex --version
codex-cli 0.116.0

hugepower · 3 months ago

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.

Beisheng8888 · 3 months ago

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

martydill · 3 months ago

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.

AndrewXiGua · 3 months ago

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

gugugaaa · 3 months ago

have to wait until reconnecting 5/5😶

Mr-PPPeach · 3 months ago
将代理 换成TUN模式就可以了

顶,这个方法有用

fxpoet · 3 months ago

turn off Tailscale or GoodbyeDPI.

unarmedcivilian · 3 months ago

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"
ErrDivine · 3 months ago
have to wait until reconnecting 5/5😶

Same issue. After 5 retries it becomes normal. But sometimes even after 10 retires it still won't work. Can't see what's inside this.

steven42121 · 3 months ago

I have searched for solution and I guess if 5 retries make it becomes normal,it's about IPv6;If it still won't work,it may be the sandbox issue.
Please let me use codex qwq

hhhizzz · 2 months ago

try use this method to set the proxy before open the app, works on my mac:

launchctl setenv HTTP_PROXY http://your_proxy
launchctl setenv HTTPS_PROXY  http://your_proxy
launchctl setenv ALL_PROXY  http://your_proxy
ErrDivine · 2 months ago
try use this method to set the proxy before open the app, works on my mac: `` launchctl setenv HTTP_PROXY http://your_proxy launchctl setenv HTTPS_PROXY http://your_proxy launchctl setenv ALL_PROXY http://your_proxy ``

Many thanks. But what is that "your_proxy" supposed to be? I'm not deliberately setting any proxy 🤯

hhhizzz · 2 months ago
> try use this method to set the proxy before open the app, works on my mac: > `` > launchctl setenv HTTP_PROXY http://your_proxy > launchctl setenv HTTPS_PROXY http://your_proxy > launchctl setenv ALL_PROXY http://your_proxy > `` Many thanks. But what is that "your_proxy" supposed to be? I'm not deliberately setting any proxy 🤯

If you are using a proxy, just use the echo command to see what value is configured on your computer.

If you are not using a proxy, this method isn't for you, and the issue is likely caused by something else.

ErrDivine · 2 months ago
> > try use this method to set the proxy before open the app, works on my mac: > > `` > > launchctl setenv HTTP_PROXY http://your_proxy > > launchctl setenv HTTPS_PROXY http://your_proxy > > launchctl setenv ALL_PROXY http://your_proxy > > `` > > > Many thanks. But what is that "your_proxy" supposed to be? I'm not deliberately setting any proxy 🤯 If you are using a proxy, just use the echo command to see what value is configured on your computer. If you are not using a proxy, this method isn't for you, and the issue is likely caused by something else.

I got it. I'll try. Many thanks.

salehrayan · 2 months ago

This issue is still not fixed on Windows. It has been basically unusable for me. CLI works though. I need the connection to go through proxy.

Irenuycul · 1 month ago
必须等到重新连接后才能 5/5😶

me too now you find some way?