#Why VSCode cant open Codex
1 messages · Page 1 of 1 (latest)
Hi @wispy niche. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
The knowledge sources don’t include a description or screenshot of the exact “stuck screen” you’re seeing, so I can’t diagnose it precisely. But they do cover several common Codex/VS Code issues and fixes.
Here are the most relevant things to check:
-
Extension installed but unresponsive (nothing opens / no reaction)
On Windows, Codex can appear “dead” if required C++ tools are missing. The fix is to install:- Visual Studio Build Tools (C++ workload)
- Microsoft Visual C++ Redistributable (x64)
You can install Build Tools with:
winget install --id Microsoft.VisualStudio.2022.BuildTools -eThen fully restart VS Code. [Windows FAQ]
-
Codex threads or terminal appear stuck
If Codex shows “working” but nothing progresses:- Check if Codex is waiting for an approval in the UI.
- Open the integrated terminal and run a simple command like
git statusorpwd. - Start a new, smaller thread or restart the Codex app/VS Code. [Stuck states; Terminal issues]
-
Temporary OpenAI-side issues
There have been short-lived incidents where Codex could not be used at all; these were resolved on OpenAI’s side. If this is the case, it usually shows up on the status page and then recovers without local changes. [Codex cannot be used]
-
VS Code Dev Container / remote setup issues
If you’re using Dev Containers or remote setups, Codex can get “stuck” on the host side and not see your repo. One known cause is aremote.extensionKindsetting in.vscode/settings.jsonthat pins the AI agent to the host. Removing or adjusting that setting fixed the issue for another user. [Dev container issue] -
Extension version bugs
Some versions of theopenai.chatgptextension had bugs (e.g., file links not opening) that were fixed by updating to a newer version. Make sure you’re on the latest extension version and reload VS Code. [VSCode file links bug]
Because I can’t see your screen, I’m not sure which of these applies. If none of this helps, the next best step is:
- Confirm your OS (Windows/macOS/Linux),
- Confirm whether you’re using WSL or Dev Containers,
- Confirm the
openai.chatgptextension version,
and then either:
- Check the relevant platform troubleshooting pages: [IDE extension; Windows guide; App troubleshooting], or
- Share those details (and a screenshot) in the OpenAI community forum so support can match it to a known issue.