■ stream disconnected before completion: Transport error: network error: error decoding response body

Resolved 💬 7 comments Opened Dec 17, 2025 by luoolu Closed Dec 17, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.73

What subscription do you have?

plus user

Which model were you using?

chatgpt-5.2-extra high

What platform is your computer?

ubuntu22.04

What issue are you seeing?

■ stream disconnected before completion: Transport error: network error: error decoding response body

What steps can reproduce the bug?

给我的数据集做一个专家级别的可视化分析

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

7 Comments

github-actions[bot] contributor · 7 months ago

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

  • #7197
  • #7198
  • #6659
  • #6227

Powered by Codex Action

Gihan-1994 · 7 months ago

Same error experiencing

etraut-openai contributor · 7 months ago

If you see this happen again, please use the /feedback command to upload your logs and session details, then post your thread ID here. This additional information will help us diagnose the problem you're seeing.

Have you configured a custom model provider in your config.toml — for example, to route your requests through a corporate LLM proxy server? Or are you accessing the model directly through OpenAI's endpoints?

Gihan-1994 · 7 months ago

Yes Cir. I totally forgot that. I recently route my requests through a LLM proxy sever. The issue was OpenAI-compatible clients used that proxy. Now the error is gone

etraut-openai contributor · 7 months ago

Great, glad to hear it's working now.

1070824493 · 6 months ago

019ba2b3-a630-7ed1-adeb-0aebcaa2bea4 Too few retries then: stream disconnected before completion: Transport error: network error: error decoding response body

1070824493 · 6 months ago
019ba2b3-a630-7ed1-adeb-0aebcaa2bea4 Too few retries then: stream disconnected before completion: Transport error: network error: error decoding response body

error only in gpt-5.2-codex, gpt-5.2 it works normal