🖐 stream disconnected before completion: idle timeout waiting for SSE Endless loop

Resolved 💬 3 comments Opened Sep 6, 2025 by brookcs3 Closed Oct 16, 2025
💡 Likely answer: A maintainer (dylan-hurd-oai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.0.0

Which model were you using?

gpt-5

What platform is your computer?

Mac OS 26 beta

What steps can reproduce the bug?

Will think for over an hour -- having to constantly say continue , never comes out of thought, just get🖐 stream disconnected before completion: idle timeout waiting for SSE Endless loop

What is the expected behavior?

Think until finsihed and then give answer without stream disconnecect

What do you see instead?

🖐 stream disconnected before completion: idle timeout waiting for SSE Endless loop

Additional information

_No response_

View original on GitHub ↗

3 Comments

dylan-hurd-oai contributor · 11 months ago

@brookcs3 can you provide more detail on your current version? Are you building from source? Which commit?

krish240574 · 11 months ago

I get the same error :
codex-cli 0.28.0
A simple /init command triggers this error :
⚠️ stream error: stream disconnected before completion: stream closed before response.completed; retrying 1/5 in 195ms…
Im running on Ubuntu 24.04.

siwan1 · 2 months ago

同出现问题,请求解决方案