VS Code Codex sidebar stuck on spinner (Ubuntu 24.04, VS Code 1.106.2, Codex extension 0.4.46)
What version of Codex is running?
codex-cli 0.63.0
What subscription do you have?
GPT-Pro
Which model were you using?
gpt-5, gpt-5.1, Gpt-5.1 codex max
What platform is your computer?
Ubuntu 24.04.3 LTS (noble)
What issue are you seeing?
- Sidebar never finishes loading; spinner runs indefinitely.
- No new codex_vscode session is created—only CLI sessions appear.
- Latest VS Code log directories (e.g., ~/.config/Code/logs/20251122T114816/) remain empty (no renderer/exthost logs).
- The last logs that did get written (from an earlier attempt) show:
~/.config/Code/logs/20251122T112546/window1/renderer.log
repeated Failed to fetch MCP registry providers Server returned 404.
~/.config/Code/logs/20251122T112546/window1/exthost/openai.chatgpt/Codex.log Codex process fatal error: Codex app-server process exited unexpectedly (signal=SIGTERM).
- CLI remains functional; only the VS Code extension path is broken.
- Conclusion
- Blocked on Codex VS Code extension spinner. CLI functioning rules out auth/model issues in isolation, but the IDE integration fails even after disabling MCP features and forcing gpt-
5.1. Needs core Codex team investigation.
What steps can reproduce the bug?
- Launch VS Code with the Codex extension on Ubuntu 24.04.
- Ensure settings above are in place and OPENAI_CHATGPT_USE_EXPERIMENTAL_MCP_LSP_SERVER=0 exported.
- Open the Codex sidebar (or run “Codex: Open Sidebar”).
What is the expected behavior?
Sidebar loads, contacts the Codex CLI, and records a new session in ~/.codex/sessions/* with "originator":"codex_vscode".
Additional information
- OS: Ubuntu 24.04.3 LTS (noble)
- VS Code: 1.106.2 (1e3c50d64110be466c0b4a45222e81d2c9352888, x64)
- Codex extension: 0.4.46 (~/.vscode/extensions/openai.chatgpt-0.4.46-linux-x64)
- Codex CLI: v0.63.0
- ~/.config/Code/User/settings.json includes:
{
"chatgpt.defaultModel": "gpt-5.1",
"chatgpt.useExperimentalMcpLspServer": false,
"openai.chatgpt.useExperimentalMcpLspServer": false,
"chatgpt.cliExecutable": "/home/graham/.bun/bin/codex"
}
- Shell exports in ~/.zshrc: OPENAI_CHATGPT_USE_EXPERIMENTAL_MCP_LSP_SERVER=0, CHATGPT_USE_EXPERIMENTAL_MCP_LSP_SERVER=0
- Codex CLI works (codex exec --cd /home/graham/workspace/experiments/oracle --model gpt-5.1 "ping")
10 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Update (2025-11-22 12:25 UTC)
Forced the VS Code settings to the "safe" combination (
chatgpt.defaultModel="gpt-5.1", bothchatgpt.useExperimentalMcpLspServerkeys = false, and the same env vars exported) and relaunched the sidebar. The CLI continues to work (codex exec --cd /home/graham/workspace/experiments/oracle --model gpt-5.1 "ping"succeeds), but the extension still dies almost immediately.Fresh exthost logs under
~/.config/Code/logs/20251122T112546/window1/exthost/openai.chatgpt/Codex.logshow the crash is because the extension receives MCP notifications it doesn’t understand even though the experimental flag is off:Every notification from the new MCP bridge is logged as "Unknown" and the panel never produces UI output, so this appears to be an MCP regression inside the extension rather than anything in my config.toml.
Update (Nov 23, 2025):
Codex VS Code sidebar eventually unfroze today after the OpenAI incident 01KAPG4EE5JWEV04TPZ2SNNK8X was marked resolved.
While broken (Nov 22–23), the extension spammed
Unknown MCP notification: account/rateLimits/updatedandturn/completed; the sidebar spinner never completed. CLI remained fine.Environment: extension 0.4.46, VS Code 1.106.2, Ubuntu 24.04.3 LTS.
Request: please confirm whether a patched extension build is coming to handle these MCP notifications gracefully and whether affected users can expect a credit for the outage.
Happy to attach fresh Codex.log if helpful.
How can I delete the cache of the mcp server? I once used the same key for two different MCPs, and the new MCP seems to be reporting errors due to the old MCP, causing the physical machine to freeze
old: ace-tool-rs
new: ace-tool
Closing as resolved.
This is still a problem.
2026-07-15 13:41:28.612 [info] Activating Codex extension
2026-07-15 13:41:28.612 [info] [CodexMcpConnection] Spawning codex app-server
2026-07-15 13:41:28.612 [info] [IpcRouter] I am the router
2026-07-15 13:41:28.612 [warning] [IpcClient] Received broadcast but no handler is configured method=client-status-changed
2026-07-15 13:41:28.830 [info] [CodexMcpConnection] Initialize received id=1
2026-07-15 13:41:28.967 [warning] [CodexMcpConnection] cli: message="codex_core_plugins::manager: failed to warm featured plugin ids cache error=remote featured plugin request to https://chatgpt.com/backend-api/plugins/featured failed with status 401 Unauthorized: {\"detail\":\"Unauthorized\"}"
2026-07-15 13:41:32.435 [warning] [CodexMcpConnection] cli: message="codex_core_plugins::manifest: ignoring interface.defaultPrompt[0]: prompt must be at most 128 characters path=file:///home/aeshete/.codex/.tmp/plugins/plugins/ngs-analysis/.codex-plugin/plugin.json"
2026-07-15 13:41:32.437 [warning] [CodexMcpConnection] cli: message="codex_core_plugins::manifest: ignoring interface.defaultPrompt[0]: prompt must be at most 128 characters path=file:///home/aeshete/.codex/.tmp/plugins/plugins/ngs-analysis/.codex-plugin/plugin.json"
2026-07-15 13:42:08.050 [info] [IpcRouter] I am the router
2026-07-15 13:42:08.051 [info] [IpcRouter] I am the router
2026-07-15 13:42:08.052 [warning] [IpcClient] Received broadcast but no handler is configured method=client-status-changed
@ax-openai - Open this issue , not resolved.
@ax-openai open the issue. We cannot use Codex extension with VSCode.
Codex version: 26.707.91948
VSCode version: 1.129.0
Operating System: Ubuntu 26.04 LTS
Yes, I can confirm this issue as well.
The latest plugin works with the previous VS Code version (v1.106.2); however, it does not work with latest version on Ubuntu 26.04 LTS.
Not working in vscode 1.129.1
Operating System: Ubuntu 24.04.4 LTS
Codex 26.715.31925 (release) nor Codex 26.5715.31925 (pre-release)