codex icon indicating copy to clipboard operation
codex copied to clipboard

[BUG] Codex VS Code Extension Fails to Initialize UI Even in an Isolated Profile

Open dyazincahya opened this issue 1 month ago β€’ 16 comments

What version of the IDE extension are you using?

26.1021.22027

What subscription do you have?

ChatGPT Plus

Which IDE are you using?

VS Code

What platform is your computer?

Windows

What issue are you seeing?

The Codex extension consistently fails to initialize its user interface in Visual Studio Code on Windows.

Whenever I open the Codex panel, the following error appears:

Codex could not start
The extension could not start its user interface.

The extension becomes unusable because its interface never loads.

This issue persists even after reinstalling the extension, downgrading to an earlier version, restarting VS Code, disabling hardware acceleration, and testing Codex in an isolated VS Code profile with no other extensions installed.

Other extensions, including Claude Code, work normally in the same VS Code installation.

Relevant Developer Tools console logs:

Extension host (LocalProcess pid: 25800) is unresponsive.

Extension host (LocalProcess pid: 25800) is responsive.

UNRESPONSIVE extension host received responsive event and cancelling profiling session

UNRESPONSIVE extension host: starting to profile NOW

Codex could not start its user interface.

Additional console warnings and errors:

Unrecognized feature: 'local-network-access'.

[DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized.

Failed to load resource: the server responded with a status of 404
(api.mcp.github.com/v_1/versions/latest)

These additional warnings may be unrelated to the Codex initialization failure.

The exact root cause remains unknown, but the issue appears to involve the extension's UI initialization process or its interaction with the VS Code runtime.

What steps can reproduce the bug?

  1. Launch Visual Studio Code on Windows.

  2. Install the official OpenAI Codex extension (v1.143.1).

  3. Open the Codex panel from the VS Code interface.

  4. Wait for the extension to initialize.

  5. Instead of loading the Codex interface, the following error appears:

    Codex could not start
    The extension could not start its user interface.
    

Troubleshooting already performed:

  • [x] Reloaded the VS Code window.
  • [x] Completely restarted VS Code.
  • [x] Restarted the Extension Host.
  • [x] Updated VS Code and the Codex extension.
  • [x] Uninstalled and reinstalled the Codex extension.
  • [x] Reinstalled Codex using the VS Code CLI.
  • [x] Downgraded Codex to a previous version.
  • [x] Disabled hardware acceleration.
  • [x] Disabled other extensions, including Claude Code.
  • [x] Created an isolated VS Code profile with only Codex installed.
  • [x] Inspected the Developer Tools console for errors.

Result: The issue persists after all the troubleshooting attempts above.

Importantly, the same error occurs in an isolated VS Code profile where Codex is the only installed extension. This makes conflicts with other installed extensions less likely.

The problem is consistently reproducible in my environment.

What is the expected behavior?

The Codex extension should initialize successfully when opening its panel in Visual Studio Code.

The user interface should load normally, allowing users to sign in, interact with Codex, start conversations, and use its coding assistance features.

The extension should also function correctly in an isolated VS Code profile without requiring additional configuration or troubleshooting.

Additional information

Environment:

  • Operating System: Windows
  • IDE: Visual Studio Code
  • Codex Extension Version: 26.1021.22027
  • Subscription: ChatGPT Plus
  • Test Environment: Local Windows installation
  • Isolated Profile: Tested with only the Codex extension installed
  • Reproducibility: Consistently reproducible

Additional observations:

  1. Claude Code works normally in the same VS Code installation, while Codex fails to load its user interface.
  2. The issue persists even after disabling other extensions and testing with an isolated VS Code profile.
  3. VS Code Developer Tools reports that the Extension Host becomes temporarily unresponsive.
  4. The Extension Host subsequently becomes responsive again, but Codex still fails to initialize.
  5. Reinstalling and downgrading the Codex extension did not resolve the issue.

At this point, I have exhausted the common troubleshooting steps without any improvement.

Since the issue also occurs in an isolated profile, I suspect it may be related to Codex's UI initialization, WebView handling, or compatibility with the VS Code runtime. However, I cannot confirm the exact cause from the available logs.

I would appreciate further investigation from the maintainers, especially regarding the extension's initialization process on Windows.

Please let me know if additional diagnostic logs or environment information would be helpful.

Attachments:

Image Image

dyazincahya avatar Oct 24 '26 08:10 dyazincahya

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #56655
  • #56617
  • #56660

Powered by Codex Action

github-actions[bot] avatar Oct 24 '26 08:10 github-actions[bot]

Temporary Solutions

Rolling back to extension version 26.1007.21434

See the details here: https://github.com/openai/codex/issues/56655

Install via Spesific Version

Step 1

Image

Step 2

Image

dyazincahya avatar Oct 24 '26 09:10 dyazincahya

I ran into a similar Codex UI startup problem on Windows, including the renderer_ready_timeout message, and got Codex working again in my own environment. If anyone following this issue is still unable to open Codex and would like troubleshooting help, feel free to email me at [email protected] with your OS, VS Code version and extension version. Please do not send passwords, API keys or authentication tokens. I am offering independent assistance and am not affiliated with OpenAI support.

bydartanyans-max avatar Oct 24 '26 10:10 bydartanyans-max

πŸ‘ Reverting to extension version 26.51007.21434 fixed for me. Thanks!

pztrick avatar Oct 24 '26 11:10 pztrick

7. πŸ‘ Reverting to extension version 26.51007.21434 fixed for me. Thanks!

I couldn't find the version 26.51007.21434 (was the 5 inserted by mistake?).

Reverting to 26.1007.21434 (which was also shown in the image shared by @dyazincahya) worked for me

bayodesegun avatar Oct 26 '26 00:10 bayodesegun

9. > 7. πŸ‘ Reverting to extension version 26.51007.21434 fixed for me. Thanks!

I couldn't find the version `26.51007.21434` (was the `5` inserted by mistake?).
Reverting to `26.1007.21434` (which was also shown in the image shared by [@dyazincahya](https://github.com/dyazincahya))  worked for me

The 5 inserted by mistake (typo) πŸ˜†

dyazincahya avatar Oct 26 '26 01:10 dyazincahya

switch to version 26.1007.21434, only work for one windows. When open the next window, it also raise the error "Codex could not start The extension could not start its user interface."

littlerookie avatar Oct 26 '26 03:10 littlerookie

Happens to me as we speak on WSL Ubuntu, when running in a container (ubuntu container)

MikaelUmaN avatar Oct 26 '26 06:10 MikaelUmaN

It's a race somewhere during UI startup. I started having this issue today after update to vscode 1.143.1, codex version 26.51021.22027

Workaround:

  • Right click on codex tab
  • select Move to > - Primary Side Bar or Panel
Image

Codex UI will re-initialize itself and operate Okay after that. You can move it back then and it remains operational.

top-5 avatar Oct 26 '26 06:10 top-5

I reproduced this on Linux with VS Code 1.143.1 and Codex 26.1021.22027. The app server initializes, then the extension hits renderer_ready_timeout after 30 seconds without receiving a webview message. That points to UI bootstrap, before normal Codex interaction.

The measurements in #57026 look relevant: the initial graph contains about 3,045 JavaScript modules (~71 MB), and the preload helper’s repeated link scan took over 33 seconds in one trace. A Set-based scan improved that step but did not stop all timeouts. A durable fix likely needs both a smaller, lazy-loaded startup graph and linear-time preload deduplication; a longer timeout alone would mask the delay. Please link this report to the canonical webview-bootstrap owner and add coverage for concurrent webview startup.

antonioromito avatar Oct 27 '26 16:10 antonioromito

14. Happens to me as we speak on WSL Ubuntu, when running in a container (ubuntu container)

was also able to reproduce with same environment WSL2 Ubuntu, fix for me was to go to first uninstall the current version and then go back to and install the previous version

Image

eapostol avatar Oct 29 '26 19:10 eapostol

I ran to this same issue on Linux today. I have been using VS Code and its extensions through VS Code SSH extension for the past week or so and it has worked fine. I open up a connection from Windows VS Code to Linux VS Code. But today I opened it directly on my Linux and I hit the same issue of Codex not loading. Reverting back to the previous version fixed the problem.

Vesanius avatar Nov 05 '26 08:11 Vesanius

how is this not fixed? i have this issue on all my systems. linux, windows, arm, x64. And the extension is so slow. How is this the company with the most intelligent Agents but they cant make a VSCode extension that works?

savejeff avatar Nov 06 '26 22:11 savejeff

That's the downside of vibe coding 🀣

Modellfan avatar Nov 09 '26 23:11 Modellfan

it has not yet been resolved

Gabeez11 avatar Nov 10 '26 23:11 Gabeez11

problem no longer happens for me by using latest vscode 1.147.0 and codex plugin version 26.1117.41037.

takwing avatar Nov 23 '26 17:11 takwing