codex icon indicating copy to clipboard operation
codex copied to clipboard

not able to connect to codex --- keeps saying reconnecting

Open saiaprameya opened this issue 10 months ago • 6 comments

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

saiaprameya avatar Jan 20 '26 22:01 saiaprameya

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

  • #9323
  • #8814
  • #7623
  • #8854

Powered by Codex Action

github-actions[bot] avatar Jan 20 '26 22:01 github-actions[bot]

Please use the /feedback slash command to upload your logs and session details, then post the thread ID here.

etraut-openai avatar Jan 20 '26 22:01 etraut-openai

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.

Howchie avatar Jan 21 '26 01:01 Howchie

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 avatar Jan 21 '26 21:01 saiaprameya

@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 /feedback command again and open a new bug report. Sorry for the inconvenicence.

etraut-openai avatar Jan 21 '26 22:01 etraut-openai

019beb17-e7b2-7191-848b-9d25b4a00ab

019beaab-7754-7d91-a54f-54ed606a7bc

lbrendle avatar Jan 23 '26 13:01 lbrendle