Codex (VSCode extension) fails to auth/use over corporate VPN while ChatGPT web works fine (recent regression)
Resolved 💬 5 comments Opened Oct 30, 2025 by tupkalov Closed Mar 29, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
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).
5 Comments
Thanks for reporting the issue. I think this is related to https://github.com/openai/codex/issues/2414.
Same situation here, I suspect it's an issue with the Codex Extension
Are you still experiencing this problem with the latest version of the extension?
I have this issue as well using CLI
This bug report hasn't received any upvotes or additional posts in four months. Closing.