Agent Hangs when spawning new sub-agents after a long session
Open 💬 2 comments Opened Jul 7, 2026 by Sukhjeet-droid
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
OpenAI Codex (v0.142.5)
What subscription do you have?
Max
Which model were you using?
gpt-5.5 xhigh
What platform is your computer?
MacOS
What terminal emulator and version are you using (if applicable)?
_No response_
Codex doctor report
What issue are you seeing?
Every time the agents spawns new agents after a longish session, it hangs. I have to stop it from spawning new agents. I have seen before that if I press CTRL-C and resume it, the agent is able to spawn new agents,
What steps can reproduce the bug?
Uploaded thread: 019f3abc-f234-7e80-8af6-44933a0668ee
What is the expected behavior?
It should be able to spawn new agents without hanging!
Additional information
_No response_
2 Comments
Key result:
{
"overallStatus": "fail",
"codexVersion": "0.142.5",
"failingCheck": {
"id": "network.provider_reachability",
"status": "fail",
"summary": "one or more required provider endpoints are unreachable over HTTP",
"details": {
"ChatGPT base URL": "https://chatgpt.com/backend-api/ connect failed (required)",
"reachability mode": "ChatGPT auth"
},
"remediation": "Check proxy, VPN, firewall, DNS, and custom CA configuration."
}
}
Warnings:
Most local checks passed: auth, config, git, install consistency, MCP config, sandbox, state DB integrity, runtime/search.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action