copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

when running Codex 5.2, sometimes it errors out with: Error: Stream completed without a response.completed event

Open Arthur742Ramos opened this issue 10 months ago • 9 comments

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

Arthur742Ramos avatar Jan 17 '26 12:01 Arthur742Ramos

Thanks for reporting this. We're seeing elevated error rates with gpt-5.2-codex and we're actively investigating.

dereklegenzoff avatar Jan 17 '26 23:01 dereklegenzoff

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.

dereklegenzoff avatar Jan 18 '26 02:01 dereklegenzoff

Image

Just got this error so your fix is clearly not working.

Lesiuk avatar Jan 18 '26 04:01 Lesiuk

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.

Arthur742Ramos avatar Jan 18 '26 14:01 Arthur742Ramos

I'll re-open this issue given this does seem to be a slightly different failure mode than what was fixed yesterday.

dereklegenzoff avatar Jan 18 '26 19:01 dereklegenzoff

@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

Arthur742Ramos avatar Jan 20 '26 21:01 Arthur742Ramos

I'm also experiencing this issue:

Image

alexbrokethis avatar Jan 26 '26 14:01 alexbrokethis

Same here Execution failed: Error: Stream completed without a response.completed event

McRip avatar Feb 05 '26 09:02 McRip

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.

examon avatar Apr 07 '26 03:04 examon