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

Resolved 💬 18 comments Opened Jan 15, 2026 by saiaprameya Closed Jan 17, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

1.108.1

What subscription do you have?

cisco enterprise

Which IDE are you using?

VS code

What platform is your computer?

WINDOWS WSL UBUNTU 24.0 LTS

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 is the expected behavior?

should be able to connect

Additional information

not able to use codex cli same problem
version used: 0.85.0

View original on GitHub ↗

18 Comments

github-actions[bot] contributor · 6 months ago

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

  • #8814
  • #7623
  • #8188

Powered by Codex Action

saiaprameya · 6 months ago

This does not work on my actual windows too? So the problem is different and i need some resolution here

saiaprameya · 6 months ago

<img width="1119" height="404" alt="Image" src="https://github.com/user-attachments/assets/beb78624-fb5d-483f-b826-53011c733cf1" />

etraut-openai contributor · 6 months ago

This error message indicates that Codex isn't able to contact the endpoint. It's likely a network configuration issue. Check to see if you have a VPN, firewall, or proxy that might be blocking access to that endpoint.

If you can't figure it out, we might be able to glean more information from your logs. You can use the /feedback command to upload your logs and post the thread ID here.

saiaprameya · 6 months ago

Here it is @etraut-openai

<img width="462" height="141" alt="Image" src="https://github.com/user-attachments/assets/d2845d23-398d-43a1-b678-69881feba1fc" />

saiaprameya · 6 months ago

Tried VPN, Direct Cisco Network -- directly on Windows, WSL ----- None works :(

etraut-openai contributor · 6 months ago

Here's the thread ID in text: 019bc429-7024-7ca3-8c13-8df131a2d57c so others who are following this bug don't need to type it in from a screen shot.

etraut-openai contributor · 6 months ago

I don't see anything out of the ordinary in your logs. This looks like a basic connectivity issue. It can't reach that endpoint.

Are you able to log in to ChatGPT and use it?

saiaprameya · 6 months ago

@etraut-openai yes i am able to login to the Enterprise chat gpt. No problem with that

<img width="280" height="77" alt="Image" src="https://github.com/user-attachments/assets/cefcba83-33dd-4c49-bf0e-ad64e90ba831" />

SaidyAveera · 6 months ago

<img width="804" height="77" alt="Image" src="https://github.com/user-attachments/assets/d062c3c7-f621-4b1b-bdd8-8018f5d4419e" /> @etraut-openai ide not working but cli working fine

etraut-openai contributor · 6 months ago

@SaidyAveera are you experiencing the same symptoms as @saiaprameya? If so, please use /feedback to upload your logs and post the thread ID here.

Edit: Actually, I can tell from your screen shot that the error you're seeing is not the same. You appear to be using an Azure endpoint, and you're receiving a different error code (404). If you think you're experiencing a bug, please file a separate bug report.

etraut-openai contributor · 6 months ago

@saiaprameya, sorry but I don't think there's anything else we can do here, so I'm going to close the issue.

saiaprameya · 6 months ago

I am having problems frome the windows machine too not just wsl. Using enterprise edition and is this the support that we get? Are there no debugging that needs to be done further?
If there is any live debugging that can done i am open to that too.

etraut-openai contributor · 6 months ago

@saiaprameya, if you're using an enterprise plan, are you on a corporate network? If you have an IT team, they might be able to help you diagnose the problem you're seeing on your system.

sai91 · 6 months ago

same problem, this is an issues with codex. can openai replicate the issue

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

sai91 · 6 months ago

no vpns, proxies, its on a personal laptop

saiaprameya · 6 months ago

How do i reopen this issue. OpenAI has to debug further does not seem a simple network issue here. Can you please reopen and repro this issue locally and debug.

dandanthedan · 2 months ago

cloudflare warp worked for me