codex - 💡(How to fix) Fix Codex IDE extension fails with 403 Forbidden over Remote SSH on Linux etc.

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex IDE extension fails with 403 Forbidden over Remote SSH on Linux etc.