Skip to content

Codex IDE extension fails with 403 Forbidden over Remote SSH on Linux etc. #23916

@huangtao334334-commits

Description

@huangtao334334-commits

What version of the IDE extension are you using?

Version 26.5513.21555

What subscription do you have?

ChatGPT Pro

Which IDE are you using?

VS Code / Positron with Remote SSH

What platform is your computer?

Local: Windows 111 x64, Remote: Linux server via SSH

What issue are you seeing?

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: <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 ##Network:
Using a proxy with a Japan exit node.

Additional notes:

  • The Codex desktop app works normally under the same network environment.
  • Running Codex directly in a normal Linux terminal also works normally.
  • The issue only occurs when using the Codex IDE extension inside VS Code / Positron over Remote SSH.

What steps can reproduce the bug?

Image

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)extensionIssues related to the VS Code extensionremote

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions