Constantly reconnecting

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

What version of Codex is running?

0.65

What subscription do you have?

pro

Which model were you using?

gpt-5.1-codex-max (reasoning medium, summaries auto)

What platform is your computer?

Ubuntu

What issue are you seeing?

Codex is constantly reconnecting (Reconnecting 1/5 ...)

What steps can reproduce the bug?

Uploaded thread: 019b0912-6b65-7802-b483-d6707d129cbd

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

8 Comments

github-actions[bot] contributor · 7 months ago

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

  • #8351

Powered by Codex Action

cmyk · 7 months ago
Potential duplicates detected. Please review them and close your issue if it is a duplicate. * stream disconnected before completion: Transport error: network error: error decoding response body #8351 _Powered by Codex Action_

My issue is NOT a duplicate!

alihanpehlivan · 7 months ago

I'm having the same issue, Reconnecting 1/5

kav-welg-4 · 7 months ago

I am experiencing the same issue.

<img width="273" height="780" alt="Image" src="https://github.com/user-attachments/assets/09cd3bc4-41e8-4937-980c-4c86b50f1ea5" />

greatnamek · 7 months ago

Started happening to me today as well. Constant reconnecting even if I just say 'hi'. Have logged in and out, restarted vs code, changed models, tried the CLI, still doing it. I'm on windows. It's unusable today.

[warning] [CodexMcpConnection] CLI: codex_core::codex: stream disconnected - retrying turn (1/5 in 211ms)...
[warning] [CodexMcpConnection] CLI: codex_core::codex: stream disconnected - retrying turn (2/5 in 375ms)...
[warning] [CodexMcpConnection] CLI: codex_core::codex: stream disconnected - retrying turn (3/5 in 816ms)...

YuxiChen-GL · 6 months ago

Experiencing the same problem,
hint: "git config advice.addIgnoredFile false" sub_id="1"
2025-12-23 21:49:31.616 [warning] [CodexMcpConnection] CLI: codex_core::codex: stream disconnected - retrying turn (1/5 in 203ms)...
2025-12-23 21:50:43.885 [warning] [CodexMcpConnection] CLI: codex_core::codex: stream disconnected - retrying turn (2/5 in 380ms)...

sd1114820 · 6 months ago

Same, but only appears in 5.2, works perfectly in 5.1.

etraut-openai contributor · 6 months ago

We're tracking this issue in #8302, so I'm going to close this as a duplicate.