stream disconnected before completion: response.failed event received
Resolved 💬 3 comments Opened Jan 21, 2026 by Meikkun Closed Jan 21, 2026
What version of Codex is running?
codex-cli 0.87.0
What subscription do you have?
Microsoft Foundry API
Which model were you using?
gpt-5.2
What platform is your computer?
Linux 6.18.6-arch1-1 x86_64 unknown
What terminal emulator and version are you using (if applicable)?
Ptyxis 49.2
What issue are you seeing?
After a long session I started having this error: "stream disconnected before completion: response.failed event received". The tool doesn't auto-retry. If I ask to continue in the prompt, the model doesn't seem to be aware the flow stopped.
What steps can reproduce the bug?
Uploaded thread: 019be272-e248-7631-b3f1-449661b6118e
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗