Repository navigation
Description
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?
-
Launch Codex Desktop App version 26.519.81530.
-
Sign in with a ChatGPT Pro account.
-
Create a new conversation.
-
Enter any prompt, including very simple prompts such as:
- hello
- create a file named test.txt
- explain recursion
-
Submit the prompt and wait for the response.
-
Codex begins generating a response but repeatedly enters:
Reconnecting... 1/5
Reconnecting... 2/5
Reconnecting... 3/5
Reconnecting... 4/5
Reconnecting... 5/5 -
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.
Activity
etraut-openai commentedon May 29, 2026
These types of connectivity problems are often caused by network instability or local VPN/proxy issues.
You could try installing the Codex CLI and running
codex doctor. This will run some diagnostics and give you a report.GiovannyPonte commentedon May 29, 2026
GiovannyPonte commentedon May 29, 2026
GiovannyPonte commentedon May 29, 2026
GiovannyPonte commentedon May 29, 2026
zhangtingyu11 commentedon Jul 21, 2026
Same issue, the thread ID is 019f826c-46ee-7d82-af77-7b3178dcefed.
445021381ad999-max commentedon Jul 21, 2026
I resolved a very similar Windows reconnection/stream-disconnection problem by fixing stale proxy environment variables.
In my case, the Windows system proxy was working, so browser ChatGPT worked normally. However, the Codex/ChatGPT desktop process inherited old user environment variables:
Port
6850was no longer listening. My actual proxy client was listening on127.0.0.1:7892. The desktop app therefore kept failing with:It later also failed OAuth login with:
Checks and fix
Find the real proxy listening port:
Check inherited proxy variables:
Then either update them to the proxy client's real port (replace
7892with your own port):or remove stale variables and rely on the Windows system proxy:
Finally, fully terminate all
ChatGPT.exeandcodex.exeprocesses and restart the app. Existing processes keep the old environment values.After correcting the stale port and restarting every process, streaming and login both worked immediately. Reinstalling the app alone did not help because user environment variables persisted.