Codex (VSCode extension) fails to auth/use over corporate VPN while ChatGPT web works fine (recent regression)
What version of Codex is running?
0.5.32
What subscription do you have?
Plus
Which model were you using?
gpt-5-codex
What platform is your computer?
Ubuntu 24.04.2 Linux 6.8.0-86-generic x86_64 x86_64
What issue are you seeing?
From my corporate VPN (DigitalOcean AMS3), Codex can’t authenticate nor run requests in VS Code/CLI. The ChatGPT web app works normally from the same network. This used to work until recently; no local changes on my side.
What steps can reproduce the bug?
Connect to corporate VPN.
In VS Code, sign in to Codex (or run a Codex task).
Observe auth failures or request errors.
OAuth/token exchange fails.
When signed in, requests fail with messages like:
Connection failed: error sending request for url (https://chatgpt.com/backend-api/codex/responses)
What is the expected behavior?
Successful OAuth sign-in and Codex responses through the VPN (same as ChatGPT web).
Additional information
Try to auth via other regions (ok).
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗