when running Codex 5.2, sometimes it errors out with: Error: Stream completed without a response.completed event
Describe the bug
Codex 5.2 errors out with Error: Stream completed without a response.completed event sometimes. This error is not retried and stops execution, which is frustrating for long tasks. In my experience, an easy fix is to add retries for this error instead of surfacing the error immediately. Retries usually fix the issue.
Affected version
0.0.384
Steps to reproduce the behavior
There is no specific way to reproduce it. It usually happens when copilot is running Codex 5.2 xhigh for long running tasks.
Expected behavior
The expected behavior is to not surface this error immediately to the user and stop the execution. I'd expect retries attempts, since they usually fix the issue.
Additional context
No response
Thanks for reporting this. We're seeing elevated error rates with gpt-5.2-codex and we're actively investigating.
We just deployed a fix and error rates are back to normal levels. Apologies for the inconvenience and thanks again for reporting this!
I'm closing this issue out for now but please feel free to create a new issue if you run into any more problems.
Just got this error so your fix is clearly not working.
I am also seeing this error happening sporadically. The internal errors that were plaguing the model yesterday are indeed gone, which is awesome, but I believe this is a different root cause.
I'll re-open this issue given this does seem to be a slightly different failure mode than what was fixed yesterday.
@dereklegenzoff Any update on this issue? Copilot cli is in a good state and I am really impressed, but this error happens in long running tasks, which is really disrupting. Fixing it would take the cli go from "good" to awesome
I'm also experiencing this issue:
Same here
Execution failed: Error: Stream completed without a response.completed event
This has been fixed in v0.0.407. Streaming responses now automatically retry when interrupted by server errors, so the "Stream completed without a response.completed event" error should no longer immediately surface. Retry progress messages were also added in v1.0.3. If you're still seeing this consistently on the latest version, please feel free to reopen this issue.