stream disconnected before completion: response.failed event received

Resolved 💬 3 comments Opened Mar 6, 2026 by willparsons Closed Mar 6, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.111.0

What subscription do you have?

API

Which model were you using?

gpt-5.3-codex

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

wezterm 20251201-075747-d3b0fdad

What issue are you seeing?

I am seeing this error constantly stream disconnected before completion: response.failed event received.

What steps can reproduce the bug?

Uploaded thread: 019cbdc7-a6ae-7f83-a3b4-eff60605f2fa

Generally this happens for every session. There's no particular reason as far as I can tell.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #13245
  • #13328
  • #13725

Powered by Codex Action

willparsons · 5 months ago

https://github.com/openai/codex/issues/9936

Duplicate of the above. I'll put my thread id there.

Lshan13 · 1 month ago

请问下您是怎么解决的?我目前问codex的时候提示:stream disconnected before completion: Upstream Chat Completions stream ended before sending finish_reason