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

Open 💬 2 comments Opened May 21, 2026 by 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: <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 ##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?

<img width="2048" height="1419" alt="Image" src="https://github.com/user-attachments/assets/3c90229c-5677-4f52-90d8-ca6cd5eaf759" />

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗