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 • 18 comments

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

saiaprameya avatar Jan 15 '26 22:01 saiaprameya

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

  • #8814
  • #7623
  • #8188

Powered by Codex Action

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

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

saiaprameya avatar Jan 15 '26 22:01 saiaprameya

Image

saiaprameya avatar Jan 15 '26 23:01 saiaprameya

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.

etraut-openai avatar Jan 16 '26 00:01 etraut-openai

Here it is @etraut-openai

Image

saiaprameya avatar Jan 16 '26 00:01 saiaprameya

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

saiaprameya avatar Jan 16 '26 00:01 saiaprameya

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 avatar Jan 16 '26 00:01 etraut-openai

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?

etraut-openai avatar Jan 16 '26 00:01 etraut-openai

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

Image

saiaprameya avatar Jan 16 '26 02:01 saiaprameya

Image @etraut-openai ide not working but cli working fine

SaidyAveera avatar Jan 16 '26 05:01 SaidyAveera

@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 avatar Jan 16 '26 06:01 etraut-openai

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

etraut-openai avatar Jan 17 '26 05:01 etraut-openai

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.

saiaprameya avatar Jan 17 '26 15:01 saiaprameya

@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.

etraut-openai avatar Jan 17 '26 17:01 etraut-openai

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 avatar Jan 18 '26 16:01 sai91

no vpns, proxies, its on a personal laptop

sai91 avatar Jan 18 '26 16:01 sai91

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.

saiaprameya avatar Jan 20 '26 19:01 saiaprameya

cloudflare warp worked for me

dandanthedan avatar May 06 '26 13:05 dandanthedan