error sending request
What version of the VS Code extension are you using?
0.4.62
What subscription do you have?
enterprise
Which IDE are you using?
VS Code
What platform is your computer?
Darwin 25.2.0 arm64 arm
What issue are you seeing?
Codex Extension consistently fail when running on a corporate (work) network. But works correctly outside of the corporate network (e.g. home network).
Importantly, this does not affect older versions: Codex version 0.4.60 works correctly on the same corporate network, while newer versions fail.
The error occurs when calling the Codex responses endpoint and results in a network error followed by stream disconnection retries.
ERROR codex_api::endpoint::responses: error=network error: error sending request for url (https://chatgpt.com/backend-api/codex/responses).
2026-01-22T08:46:57.618765Z WARN codex_core::codex: stream disconnected - retrying sampling request (2/5 in 435ms)...
What steps can reproduce the bug?
No idea
What is the expected behavior?
new version is working
Additional information
_No response_
9 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This is likely a network configuration issue. You'll probably need to do some debugging on your end to find the problem. I might be able to help with suggestions, but I'll need more details. Use the
/feedbackslash command to upload your logs and post the thread ID here.Feedback ID: 019be50f-da96-7333-9918-103660661fbd
The network team has investigated this and does not see any issues on the network side that would explain the problem. There is no blocking of requests or similar behavior.
codex-cli version 0.87.0 works correctly on the corporate network, and the same applies to the VS Code extension version 0.5.61.
Version 0.5.61 works, but 0.5.62 does not. So something between those versions broke that :/
@kuburoman, thanks. We think we understand the cause of the regression, and we're working on a fix.
We think we've addressed the problem. We'd appreciate it if you could try the latest prerelease version of the CLI (0.89.0-alpha.4 or newer) and see if that fixes it for you. Apologies for the regression.
@etraut-openai fwiw, I was having this exact problem after upgrading to 0.4.62 in the vscode extension on a corporate network and running CLI 0.89.0-alpha.4 does work again on the same network.
Thanks for the confirmation!
Yea in that version it is working again. Thanks.
<img width="2048" height="1419" alt="Image" src="https://github.com/user-attachments/assets/bf465898-96b1-4d8e-ae86-8ae4110a1ade" />When connecting to a Linux server via SSH, the Codex CLI (Version 26.5513.21555)in VS Code, Positron, and similar IDEs keeps showing errors. Reconnecting... 2/5 Reconnecting... 3/5 Reconnecting... 4/5 Reconnecting... 5/5 Reconnecting... 1/5 Reconnecting... 2/5 Reconnecting... 3/5 Reconnecting... 4/5 Reconnecting... 5/5 unexpected status 403 Forbidden: <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1" /> <style global>body{font-family:Arial,Helvetica,sans-serif}.container{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}@keyframes enlarge-appear{0%{opacity:0;transform:scale(75%) rotate(-90deg)}to{opacity:1;transform:scale(100%) rotate(0deg)}}.logo{color:#8e8ea0;padding-bottom:1.5rem}.scale-appear{animation:enlarge-appear .4s ease-out}@media (min-width:768px){.scale-appear{height:48px;width:48px}}.data:empty{display:none}.data{border-radius:5px;color:#8e8ea0;max-width:420px;text-align:center;width:100%}.data ul{list-style:none;padding:0}.blocked-icon{color:#ef4444}.message{align-items:center;display:flex;font-size:1.5rem;gap:1rem;justify-content:center}.explanation{font-size:.9rem;line-height:1.5;max-width:420px;opacity:50%;text-align:center;width:100%}.explanation a{color:#000}@media (prefers-color-scheme:dark){body{background-color:#343541;c..., url: https://chatgpt.com/backend-api/codex/responses, cf-ray: 9ff5d69b08c128ee-HKG