not able to connect to codex --- keeps saying reconnecting
What version of Codex is running?
0.85.0
What subscription do you have?
CISCO ENTERPRISE
Which model were you using?
gpt-5.2-codex
What platform is your computer?
WINDOWS 11 WSL 1 and WSL2
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
After successfully signing in to the codex i keep getting message from the chat as RECONNECTING.
It retries 5 times and errors out.
Reconnecting... 1/5
Reconnecting... 2/5
Reconnecting... 3/5
Reconnecting... 4/5
Reconnecting... 5/5
stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)
stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)
What steps can reproduce the bug?
After successfully signing in to the codex i keep getting message from the chat as RECONNECTING.
It retries 5 times and errors out.
Reconnecting... 1/5
Reconnecting... 2/5
Reconnecting... 3/5
Reconnecting... 4/5
Reconnecting... 5/5
stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)
stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)
What steps can reproduce the bug?
Have a windows 11 with WSL 1 or WSL2 enabled with Ubuntu 24.04 LTS.
run codex cli or run as a codex plugin in VS CODE
What is the expected behavior?
it should connect. I am able to run claude so wy not codex.
Additional information
_No response_
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Please use the
/feedbackslash command to upload your logs and session details, then post the thread ID here.019bde35-ec01-7732-8456-f6fdefa4b659
Same error on windows using cli or VSCode (NOT in WSL mode), my ubuntu server with same credentials is working fine.
Here it is:
• Feedback uploaded. Please open an issue using the following URL:
https://github.com/openai/codex/issues/new?template=2-bug-report.yml&steps=Uploaded%20thread:%20019bdef0-11e6-7050-b09b-95e974da69cf
Or mention your thread ID 019bdef0-11e6-7050-b09b-95e974da69cf in an existing issue.
@saiaprameya, I looked at your logs. It's the same problem that you reported previously. Codex isn't able to connect to the OpenAI endpoint
https://chatgpt.com/backend-api/codex/responses. This appears to be a networking issue on your machine or network. You'll need to do some diagnosis of your own to figure out why this endpoint isn't reachable.@Howchie, unfortunately, your logs didn't get uploaded. We had a temporary service issue where uploads of logs were being rejected. This has now been addressed. If you're still able to repro this problem, please use the
/feedbackcommand again and open a new bug report. Sorry for the inconvenicence.019beb17-e7b2-7191-848b-9d25b4a00ab
019beaab-7754-7d91-a54f-54ed606a7bc