Bug report: Codex VS Code extension stuck on loading, never shows login screen

Bug report: Codex VS Code extension stuck on loading, never shows login screen

  • Extension: openai.chatgpt (Codex – OpenAI’s coding agent)

  • Version: 0.5.0 (also tested with 0.4.0)

  • VS Code

  • OS: Windows 11

Description

When opening the Codex sidebar, it only shows the text “CODEX” with a blue loading bar.
The login screen (“Sign in with OpenAI”) never appears.
Screenshot:

Steps tried

  • Full uninstall/reinstall of VS Code (stable build).

  • Uninstall/reinstall of the extension (openai.chatgpt@0.4.0 and 0.5.0).

  • Cleared all caches ($APPDATA\Code\Cache, GPUCache, Service Worker, globalStorage\openai.chatgpt).

  • Ran with --disable-gpu, --user-data-dir (clean profile).

  • Verified GitHub Authentication provider is active.

  • Network connectivity is fine (curl https://chat.openai.com/api/auth/session returns 308).

Expected

Codex sidebar should load the Sign in with OpenAI login screen.

Actual

Sidebar keeps spinning indefinitely, no login UI appears.

2 Likes

I’m getting the same issues, I tried restarting, updating Cursor, nothing works.

If Codex or other VS Code extensions show only a blank/black screen and keep loading:
This is not an extension issue. The problem comes from an outdated Intel Graphics driver (e.g. version 32.0.101.6651 from March 2025). Updating to Intel Graphics driver 32.0.101.7026 (August 2025) fixed the webview rendering issue for me. After the update, Codex, Markdown Preview, and Simple Browser all displayed correctly.

1 Like

Same issue on Mac (Apple silicon).

Doesn’t seem to have anything to do with an Intel driver.

1 Like

I am also having this same issue on Mac mini M4. This bug has not been solved.

Same issue on my Mac with Apple Silicon

same problem on vs code and cursor

fixed the bug, the problem was a miss path configuration in config.toml

1 Like

thats not a solution to not have backwards compatibility thats just lazy

Yes this was caused by a misconfiguration in config.toml. Deleted my additions and Codex loaded as normal.

Hmmm… can’t reach this page after signing in anyone has this issue?

This is the answer, same thing for me

I was not able to find the config.toml file in my Windows 11 clean install + vscode + codex.
It is stuck in the loading (blue clock besides the codex text and blue bar loading below it).

When checking VS Code output > Codex I found:

2025-09-03 11:55:58.689 [error] codex mcp process exited with code 3221225781 and signal null

I’m just saying what worked for me

This my solution

Force Reinstall the Extension

  • Remove the extension completely:

    code --uninstall-extension openai.chatgpt
    
    
  • Delete its folder manually at:

    %USERPROFILE%\.vscode\extensions\openai.chatgpt-*
    
    
  • Reinstall from the Marketplace.

Then it works.

1 Like

Hola, buenas.

Tuve el mismo problema y descubrí que estaba relacionado con los paquetes Visual C++ Redistributable.
La solución fue instalar todos los redistributables desde el siguiente enlace:

Redistributable Runtimes All-in-One – Julio 2025

Después de instalarlos, el error quedó corregido.
El mensaje que me aparecía era:

codex mcp process exited with code 3221225781 and signal null

en la extensión Codex de OpenAI en Visual Studio Code.

I followed those steps, issue persists :frowning:

Tested on Macbook Pro M4 Pro, macOS 15.6.1 (24G90)

That’s the solution.

Thanks :slight_smile:

On my M2 Air I removed the settings folder at ~/.codex/ and restarted VS code, I was prompted to login to the extension again & the auth.json was recreated (and extension loads)

Me also the same I can not use codex on vs code loading never stop