Skip to content

error sending request #9670

Closed
Closed

Description

@kuburoman

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

Activity

  1. added
    bugSomething isn't working
    extensionIssues related to the VS Code extension
    on Jan 22, 2026
  2. etraut-openai commented on Jan 22, 2026

    @etraut-openai
    Contributor

    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 /feedback slash command to upload your logs and post the thread ID here.

  3. kuburoman commented on Jan 22, 2026

    @kuburoman
    Author

    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 :/

  4. etraut-openai commented on Jan 22, 2026

    @etraut-openai
    Contributor

    @kuburoman, thanks. We think we understand the cause of the regression, and we're working on a fix.

  5. etraut-openai commented on Jan 22, 2026

    @etraut-openai
    Contributor

    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.

  6. dogrdon commented on Jan 22, 2026

    @dogrdon

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

  7. etraut-openai commented on Jan 22, 2026

    @etraut-openai
    Contributor

    Thanks for the confirmation!

  8. kuburoman commented on Jan 23, 2026

    @kuburoman
    Author

    Yea in that version it is working again. Thanks.

  9. huangtao334334-commits commented on May 21, 2026

    @huangtao334334-commits

    ImageWhen 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: <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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions