You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex constantly stucking and reconnecting: stream disconnected before completion: idle timeout waiting for SSE #9727
What terminal emulator and version are you using (if applicable)?
mintty.exe (Cygwin64)
What issue are you seeing?
occasionally some Ran Get-Content -Path .., some Ran rg -n .. and than nothing. sometimes after many minutes another Ran Get-Content -Path .. or some Ran rg -n .. and then nothing. Sometimes "reconnect...." flickers, but then it disappears and as the counter rises, I will face:
stream disconnected before completion: idle timeout waiting for SSE
One guess is to big code files. They got bigger and bigger, hitting 1000 lines. My guess is, that there is a problem with bigger code files. When I started from scratch, that problem did not appear.
What is the expected behavior?
After reading content, it should not stuck and reconnect.
Additional information
chatting works ALWAYS. There is another unrelated bug when enabling the create-plan skill, that it ALWAYS create a plan, but when you disable it and paste the pre-created plan from the create-plan skill, then it will actually begin to render a nicely shaped list (summarized bullet points). but during the first bullet point: "Review current validation/planning logic and tests to understand existing constraints" it already has begun to reconnect and magically it finished, without any credit change in the dashboard. then in the second bullet it has thrown the error: stream disconnected before completion: idle timeout waiting for SSE.
changed the title [-][constantly] stream disconnected before completion: idle timeout waiting for SSE[/-][+]Codex constantly stucking and reconnecting: stream disconnected before completion: idle timeout waiting for SSE[/+]on Jan 23, 2026
I think this issue relates with big changes at once. I noticed when the changes are big then it takes a lot of time where during that nothing is happening, even with maybe one or two reconnections, but once it regained its composure it proceeds in usual speed. I think this can be closed.
Activity
github-actions commentedon Jan 23, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
teneko commentedon Jan 23, 2026
Another immediate try where I deleted ~/.codex, re-enabled permissions/approvals to "Full Access":
Thread-ID: 019be880-d622-7b12-b5de-2276b1e3e0f2
Everythings runs sadly into:
[-][constantly] stream disconnected before completion: idle timeout waiting for SSE[/-][+]Codex constantly stucking and reconnecting: stream disconnected before completion: idle timeout waiting for SSE[/+]whereismydot commentedon Jan 23, 2026
bump, same issue here
teneko commentedon Feb 5, 2026
I think this issue relates with big changes at once. I noticed when the changes are big then it takes a lot of time where during that nothing is happening, even with maybe one or two reconnections, but once it regained its composure it proceeds in usual speed. I think this can be closed.
ax-openai commentedon Jun 12, 2026
Closing as resolved.
alexanderradahl commentedon Sep 9, 2026
This has just started popping up on my end after the release of gpt 6.
PhiDung-hub commentedon Sep 30, 2026
same here, running into this every 1 hour