codex - 💡(How to fix) Fix codex unusable due to continuous reconnection loop and stream disconnections

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

After several attempts, the following error appears: "stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)" I have attached a screenshot showing the error. stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)

RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

Codex 26.519.81530

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows 10 Pro Windows Version: 2009 OS Build: 10.0.26100.1 64-bit

What issue are you seeing?

Asunto: Codex unusable due to continuous reconnection loop and stream disconnections

Hello OpenAI Support,

I am experiencing a persistent issue with Codex that started on May 28, 2026 and is still occurring on May 29, 2026.

Environment:

  • ChatGPT Pro
  • Codex accessed through chatgpt.com
  • Windows 11
  • Google Chrome (also reproduced in other browser sessions)

Problem: Every Codex task enters a reconnection loop and never completes. The interface repeatedly shows:

Reconnecting... 1/5 Reconnecting... 2/5 Reconnecting... 3/5 Reconnecting... 4/5 Reconnecting... 5/5

After several attempts, the following error appears:

"stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)"

Impact:

  • Codex is effectively unusable.
  • Tasks fail before completion.
  • The problem has persisted for more than 24 hours.
  • Multiple retries produce the same result.

Troubleshooting already attempted:

  • Refreshing the page
  • Logging out and back in
  • Using different browser sessions
  • Verifying internet connectivity
  • Retrying multiple times over two consecutive days

Please confirm whether this is a known service issue affecting Codex and whether there is an estimated time for resolution.

I have attached a screenshot showing the error.

Thank you.

What steps can reproduce the bug?

  1. Launch Codex Desktop App version 26.519.81530.

  2. Sign in with a ChatGPT Pro account.

  3. Create a new conversation.

  4. Enter any prompt, including very simple prompts such as:

    • hello
    • create a file named test.txt
    • explain recursion
  5. Submit the prompt and wait for the response.

  6. Codex begins generating a response but repeatedly enters:

    Reconnecting... 1/5 Reconnecting... 2/5 Reconnecting... 3/5 Reconnecting... 4/5 Reconnecting... 5/5

  7. After several reconnection attempts, the request fails with:

    stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)

Expected result: Codex completes the response normally.

Actual result: The response stream disconnects repeatedly and the task never completes.

Frequency: 100% reproducible since May 28, 2026.

Additional notes:

  • Occurs with both existing and newly created conversations.
  • Occurs with simple and complex prompts.
  • Internet connection is stable.
  • The issue has persisted for more than 24 hours.
  • Screenshots attached.

What is the expected behavior?

No response

Additional information

The issue appears specifically related to the Codex backend endpoint: /backend-api/codex/responses

The behavior suggests that the response stream is being interrupted before completion, causing repeated reconnection attempts followed by failure.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix codex unusable due to continuous reconnection loop and stream disconnections