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_
8 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
My issue is NOT a duplicate!
I'm having the same issue, Reconnecting 1/5
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" />
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)...
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)...
Same, but only appears in 5.2, works perfectly in 5.1.
We're tracking this issue in #8302, so I'm going to close this as a duplicate.