stream disconnected before completion

Resolved 💬 7 comments Opened Mar 10, 2026 by squarefive Closed Mar 10, 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?

v0.112.0)

What subscription do you have?

plus

Which model were you using?

gpt-5.3-codex

What platform is your computer?

_No response_

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

PowerShell

What issue are you seeing?

频繁出现以下报错,今儿出现两次了:stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)

What steps can reproduce the bug?

Uploaded thread: 019cd67e-ebc1-7b12-8568-ace62a5e4b9c

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

7 Comments

github-actions[bot] contributor · 4 months ago

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

  • #12766
  • #13811
  • #12734
  • #12548
  • #12458

Powered by Codex Action

dolzenko · 4 months ago

I'm behind SOCKS proxy. Getting "stream disconnected before completion: An error occurred while processing your request. You can retry your request, or contact us through our help center at help.openai.com if the error persists. Please include the request ID ed534b15-d298-44ae-a5b0-905a98f0be1e in your message." as well

EMediaArts · 4 months ago

What region are you in, if you don't mind sharing? I'm also experiencing a lot of stream disconnections at the moment for both the MacOS App and the CLI.

EDIT: Using /fast mode seems to have fixed the issues on my end.

<img width="758" height="404" alt="Image" src="https://github.com/user-attachments/assets/af0d9ec8-d5ec-4ddb-83f0-69147c8bc099" />

<img width="756" height="536" alt="Image" src="https://github.com/user-attachments/assets/f72bbfd3-97ae-4f63-9af6-fb303be049f5" />

alc1986 · 4 months ago

+1

VannaGamma · 4 months ago

Just to reinforce that this is a issue.

We've been having this issue since at least 2-3 days. Today is really worse: pro subcription constantly disconnecting.

EDIT: linux cli, 113.

etraut-openai contributor · 4 months ago

I'm going to consolidate recent "stream disconnected" issues onto #14209. Closing this as duplicate.

Nephelium · 3 months ago

检查一下.codex文件夹是否有一个.env文件,里面写了VPN的地址和端口。我换VPN之后也出现了这个情况,发现环境里面写的是之前的VPN的地址和端口,把.env文件删了就可以了。(删之前注意一下里面是否有其他内容,如果有的话,就只删掉地址和端口那两行,没有的话,就整个文件夹都删掉就行)