Skip to main content

Codex Could Not Start Its User Interface in VS Code: Fixes

“Codex could not start — The extension could not start its user interface” on build 26.1021.22027: fixed in 26.1106.51428 (Nov 11, 2026). Update and reload.

LaoZhang AI TeamPublishedUpdated 24 min read
On this page
Codex could not start in VS Code, with a fix per window type: VS Code 1.141.2 for Remote-WSL on 1.141.1, proxy off for proxy or VPN setups, and the Codex CLI for Dev Containers and SSH

"Codex could not start — The extension could not start its user interface." means the Codex panel's UI didn't report ready within 30 seconds. Since October 23, 2026, the most likely cause has been Codex extension build 26.1021.22027, which OpenAI fixed on November 11, 2026 in 26.1106.51428; 26.1111.21308 is the newest stable build as of November 13.

First, update the Codex extension to 26.1106.51428 or newer in the Extensions view, then run Developer: Reload Window. If it still fails, check the other causes covered below: Remote-WSL on VS Code 1.141.1, a proxy or VPN, Dev Containers or Remote-SSH. "The extension couldn't load its resources" is older wording from an August build that an update also fixes.

What "The extension could not start its user interface" means

The Codex extension has two parts that start separately. The extension host launches a background process, codex app-server, which talks to OpenAI. A webview, the small embedded web page that draws the chat panel, renders the UI. When you open the panel, the extension waits 30 seconds for that page to send a "ready" message. If the message never arrives, the extension swaps the panel for the error page.

Codex.log records exactly that sequence. This excerpt is from a WSL report filed on October 13, 2026 (openai/codex issue #53738, Codex fails to start after VS Code update on WSL):

[CodexMcpConnection] Spawning codex app-server
[CodexMcpConnection] Initialize received id=1
[CodexWebviewProvider] Webview renderer did not become ready elapsedMs=30003 extensionVersion=26.1007.21434 reason=renderer_ready_timeout receivedWebviewMessage=false role=sidebar stage=renderer timeoutMs=30000

The first two lines show the backend starting and answering. reason=renderer_ready_timeout with receivedWebviewMessage=false means the panel page never sent a single message back in 30 seconds. role=sidebar is the Codex sidebar; role=panel is a conversation opened in an editor tab. The 30-second limit is hard-coded in the extension, which users found as setTimeout(..., 3e4) in its bundled code (openai/codex issue #38088 on proxy startup timeouts). OpenAI's Codex troubleshooting page has no entry for this message as of November 14, 2026.

The older wording. In early August 2026, extension 26.803.x showed the same page with "The extension couldn't load its resources." That build had a watchdog bug that killed panels that were only slow to start. On August 13, a Codex team member at OpenAI announced the fix in 26.810.41047 (pre-release 26.5810.41047) and added a warning: "if an underlying networking or authentication problem was preventing initialization from completing, that will likely still be the case." Later builds, including 26.818.61809, 26.901.22334 and 26.1007.21434, show "could not start its user interface" instead. If you still run a 26.803 build, updating the extension is the fix. On later builds, the timeout has other causes, one of which was build 26.1021.22027 itself.

What was run and what wasn't. None of these failures, and not OpenAI's November 11 fix either, was reproduced on a local VS Code install, a Windows/WSL machine, in a Dev Container, or over Remote-SSH. The causes and fixes come from bug reports in the openai/codex GitHub repository, comments from members of OpenAI's Codex team, Cursor's community forum, the VS Code Marketplace version list, and Microsoft's VS Code fix and issue tracker. Each source is linked where it is used, and user workarounds and measurements are labeled as reported, not tested.

Read Codex.log and Webview DevTools before changing anything

Three checks tell the causes apart, and none of them changes your setup:

  1. Window type. Look at the remote indicator in the bottom-left corner of VS Code. A WSL, SSH or Dev Container label, or no label for a local window, decides which branch you are in.
  2. Codex.log. Open the Command Palette, run Developer: Open Extension Logs Folder, and open openai.chatgpt/Codex.log. The same lines appear in the Output panel under the Codex channel. Find the renderer_ready_timeout line, note its role= value, and read the lines just before it.
  3. Webview DevTools. With the broken panel open, run Developer: Open Webview Developer Tools and look at the Console and Network tabs. Errors that happen before the panel's own logging starts, such as asset files failing with HTTP 401, appear only here and never reach Codex.log.

Write down two versions as well. VS Code shows its version under Help > About (Code > About Visual Studio Code on macOS), or run code --version. For the extension, run code --list-extensions --show-versions and find openai.chatgpt. In a WSL, SSH or container window, the Codex extension runs on the remote side, so the installed build is the Linux one, such as openai.chatgpt-26.1007.21434-linux-x64 under ~/.vscode-server/extensions/.

Codex 26.1021.22027 since October 23: fixed in 26.1106.51428, update

If your renderer_ready_timeout line says extensionVersion=26.1021.22027, the extension build is the cause, and it has been fixed. Version 26.1021.22027 (pre-release 26.51021.22027) reached the VS Code Marketplace on October 23, 2026. On November 11, OpenAI published 26.1106.51428 (pre-release 26.51106.51428) with a fix and closed openai/codex issue #56655, UI doesn't start in VS Code extension 26.51021.22027 as completed, and 26.1111.21308 followed on November 13. Updating the Codex extension and reloading the window is the fix. Updating VS Code is not, and you no longer need to roll back.

[CodexWebviewProvider] Webview renderer did not become ready elapsedMs=30001 extensionVersion=26.1021.22027 reason=renderer_ready_timeout receivedWebviewMessage=false role=sidebar stage=renderer timeoutMs=30000

That line is from a WSL2 report filed on October 29 (openai/codex issue #58049, renderer_ready_timeout on VS Code WSL2 that works after Stop Extension Bisect). As in the older cases, the backend lines before it look normal and receivedWebviewMessage=false means the panel page never sent its first message; only the version is new. From October 24 to 31, users opened 37 issues in the openai/codex repository that mention renderer_ready_timeout, from local Windows and Linux (Fedora, Ubuntu) installs as well as WSL2, Remote-SSH and Dev Containers, several on VS Code 1.143.1 or 1.144.0, which already include Microsoft's WSL fix. That is why the window type mattered less than the build number. On Windows it could be worse: in issue #58156 on Windows 11 the whole VS Code window stopped responding while the panel sat on the OpenAI logo.

A member of OpenAI's Codex team wrote on #56655 on November 10 that they had "reproduced the startup failure." On November 11 at 06:50 UTC, the same person posted: "Please update the Codex extension to 26.1106.51428 (stable) or 26.51106.51428 (pre-release), then reload the editor window where you saw 'Codex could not start.'" Reports of this build from Dev Containers (issue #57810), from macOS over Remote-SSH (#57306) and from multiple chat windows (#59921) were closed into #56655, so the same update covers them. To apply it:

  1. Open Extensions, select Codex, and click Update. If no update is offered, open the dropdown next to Uninstall, choose Install Specific Version, and pick 26.1106.51428 or a later build. In a WSL, SSH or container window, do this in that window, because the copy that runs there is the remote one.
  2. If you turned off auto-update for Codex when you rolled back, turn it back on. The newest builds are now the fixed ones.
  3. Run Developer: Reload Window in the window that showed "Codex could not start," then open Codex. If the panel still times out, quit every VS Code window and start again, since a reload alone may keep the old extension host running, and check that code --list-extensions --show-versions lists openai.chatgpt@26.1106.51428 or later.

If VS Code freezes before you can reach the Extensions view, run the command-line install from the rollback section in a terminal outside VS Code, with the fixed version number.

OpenAI's comment doesn't say what the fix changed. Before it, two reporters had pointed at the size of the panel bundle: in issue #58398 on Linux, the reporter counted 22,385 files in the build's webview/assets/ folder and 3,203 separate code chunks the panel tries to preload at startup, and in #57810 a network capture showed about 3,000 asset requests before the timeout. After the fix, one user compared the two packages without running them: the startup preload list fell from 3,203 resources (about 73 MB) on 26.1021.22027 to 12 (about 23 MB) on 26.1106.51428. That is a user's measurement, not OpenAI's explanation, but it fits the reports that followed. Users on Arch and Ubuntu, locally and over an SSH tunnel, said Codex started in under 7 seconds and about 10 seconds, and one on Ubuntu 24.04.5 with VS Code 1.146.0 saw the renderer ready in about 1.4 seconds.

If it still fails on 26.1106.51428 or newer. A few users are still stuck. On #56655, a Windows 11 user in a WSL2 Dev Container saw the error on and off with 26.1106.51428 on November 11 until a later Reload Window worked, and on November 13 another comment quoted the same failure on a 2019 Intel MacBook Pro with macOS Sequoia, VS Code 1.146.0 and 26.1106.51428. In issue #61223, also on November 13, a Windows 10 user on older hardware wrote that the panel now opens on 26.1106.51428 but starts slowly. No cause has been published for these, so work through the steps users reported, in this order:

  1. Run Developer: Reload Window once more, or quit every VS Code window and start again. That is what eventually worked in the WSL2 Dev Container report.
  2. Quit VS Code and move the panel's stored webview state aside. On 26.1021.22027, a commenter on #58398 (Fedora 44, VS Code 1.144.0) deleted ~/.config/Code/Service Worker, WebStorage and the code and GPU caches, and every start after that worked; moving the folders instead of deleting them keeps a backup. The #58049 reporter saw no reliable change from clearing the Service Worker cache, so this one is hit or miss.
  3. Start VS Code once with code --disable-gpu. If the panel loads, keep hardware acceleration off with the argv.json setting described below the cause table.
  4. Report it on openai/codex with your OS, your editor and its version, and the Codex extension version you tested, which is what OpenAI asked for on #56655, plus the log lines listed in the CLI section.

Only if you can't update right now. Before November 11, the workaround that held up across restarts was going back to 26.1007.21434 with auto-update off for Codex: in Extensions, select Codex, open the dropdown next to Uninstall, choose Install Specific Version, pick 26.1007.21434, then quit every VS Code window. The #58049 reporter confirmed the panel still worked after a reload and after a full restart, and in issue #58150 on Windows the extension then activated in about 9.3 seconds. Starting Help: Start Extension Bisect and stopping it right away also brought the panel back for the #58049 reporter, but only until the next reload. A rollback fixes only the startup timeout: you lose what later builds added, and the #58150 reporter, back on 26.1007.21434, still saw 403 cloudflare_challenge on account requests over their usual connection, which is a network problem no extension build changes. Move to 26.1106.51428 or newer and turn auto-update back on as soon as you can.

Match your window and log line to the cause

Your window and what you seeCauseStatus (Oct 15, 2026 unless noted)What to doWhat won't help
Any window on extension 26.1021.22027; log line shows extensionVersion=26.1021.22027Build released October 23; reporters point to its panel bundleFixed in 26.1106.51428, Nov 11, 2026Update to 26.1106.51428 or newer, then reload the windowUpdating VS Code
Remote-WSL on VS Code 1.141.1; DevTools shows HTTP 401 for files under webview/assets/; Markdown preview is also blankVS Code 1.141.1 bug with capital letters in the WSL distro nameFixed in VS Code 1.141.2 and 1.142.0Update VS CodeDowngrading or reinstalling Codex, clearing caches, a fresh profile
Any window with a VPN or system proxy on; Codex.log never reaches app routes mountedAccount lookup request hangs inside the proxyOpen: issue #37521Turn the proxy off or make it pass OpenAI traffic, then reloadUpdating the extension alone
Dev Container on extension 26.818 or later; backend starts, then renderer_ready_timeoutA startup step that never finishes; unconfirmedOpen: issue #40532, no OpenAI replyCheck for PendingMigrationError; use the CLI meanwhileReinstalling the extension or VS Code Server
Several Codex conversation tabs; some fail with role=panel while one worksUnknownOpen: issue #43080Close extra Codex tabs and reload the windowNot established
Remote-SSH; spinner or timeout while codex in the terminal worksSeveral, unconfirmedOpen since June 8, 2026: issue #26951Try the reported workarounds one at a timeNot established
Extension 26.803.x; "couldn't load its resources"August watchdog bugFixed in 26.810.41047Update the extensionNot established

Five window types mapped to their log evidence, fix, and issue status, with only the Remote-WSL case fixed by VS Code 1.141.2

If none of the rows fits, the timeout came from something not covered here. Two user reports point at GPU acceleration for that situation. In a September 16 comment on #37458, a user ran Preferences: Configure Runtime Arguments, added "disable-hardware-acceleration": true to argv.json, and restarted VS Code, and a second user confirmed it worked. On November 1, a Windows user in the OpenAI Community thread "Error in VS while connecting codex" wrote that rolling back to 26.1007.21434 and a temporary profile didn't help, but starting VS Code with code --disable-gpu did, and made it permanent with the same argv.json setting. Neither report described the window type or log signature, so treat this as a last thing to try. The evidence list in the last section is what to attach to a new bug report.

Remote-WSL after the October 13 update: install VS Code 1.141.2

VS Code 1.141.1, released October 13, 2026, included a commit titled "Fix remote webview resource path containment." Webview resource URLs carry the remote window's address, such as wsl+Ubuntu-24.04, inside a web hostname, and the embedded browser lowercases hostnames. VS Code then compared wsl+ubuntu-24.04 with wsl+Ubuntu-24.04 exactly, treated them as different, and answered every request for the panel's JavaScript and CSS with 401 Unauthorized. Without its code, the Codex panel cannot start, and the watchdog fires 30 seconds later. Microsoft describes the cause in VS Code pull request #341508, "webview: fix mixed-case remote resource authorities".

Any remote window whose address contains a capital letter is affected: wsl+Ubuntu, wsl+Ubuntu-24.04, wsl+FedoraLinux-44. The address comes from the distro name, and names such as Ubuntu, Ubuntu-24.04 and FedoraLinux-44 contain capitals. The bug is not specific to Codex. In VS Code issue #341475 on blank webviews in WSL after 1.141.1, the Markdown preview and the Claude Code panel were blank too. That gives you a quick test: open any .md file in the same window and run Markdown: Open Preview. If the preview is blank as well, VS Code is the problem, not Codex.

The Codex-side evidence matches. In openai/codex issue #53840 on webview assets returning 401 in Remote WSL, DevTools showed 401 errors for JavaScript and CSS under ~/.vscode-server/extensions/openai.chatgpt-26.1007.21434-linux-x64/webview/assets/, while codex login status returned "Logged in using ChatGPT" and Codex worked when VS Code ran directly on Windows. Your sign-in is fine in this case, so signing out and back in is not the fix.

The fix. Microsoft merged the fix into the 1.141 release branch on October 14, 2026. VS Code issue #341396, remote webview resources denied when the WSL distro name has uppercase letters, is assigned to the 1.141.2 milestone and labeled verified. Version 1.141.2 was released the same day, and the only other change between 1.141.1 and 1.141.2 is the version bump. Version 1.142.0, also released October 14, includes the same fix. To apply it:

  1. In VS Code on Windows, choose Help > Check for Updates and install 1.141.2 or later.
  2. Confirm the new number under Help > About.
  3. Close the WSL window, reopen your folder in WSL, and open Codex.

As of October 15, 2026, the Codex issues had no post-update confirmation from Codex users yet. Microsoft's verification covers webviews in remote windows in general, and the Codex failure shows the same 401 pattern. If the panel still fails after the update and DevTools no longer shows 401 errors, you are in a different branch of the table above.

If you can't update yet, users reported three ways around it:

  • Open the folder with a lowercase address. From Windows PowerShell, run code --new-window --remote wsl+ubuntu-24.04 /home/YOUR_USER/YOUR_PROJECT. One reporter in #53840 confirmed that DevTools then showed remoteAuthority=wsl+ubuntu-24.04 and the 401 errors were gone. Use your own distro name in lowercase; wsl -l -v lists the exact names. From inside the WSL terminal, the reported form is powershell.exe -NoProfile -Command "code --new-window --remote wsl+ubuntu-24.04 '$PWD'". Running plain code . from Ubuntu recreates the capitalized address and fails again.
  • Roll VS Code back to 1.141.0. In one reporter's tests, this was the only change that restored the panel.
  • Use a Windows window and let Codex run in WSL. OpenAI's Codex IDE settings page lists chatgpt.runCodexInWindowsSubsystemForLinux (default false): "Windows only: Run Codex in WSL when WSL is available." Changing it reloads VS Code. The #53840 reporter used this setting in a Windows-native window and Codex ran commands inside WSL2. Your editor then works from the Windows side, which is a different setup from a Remote-WSL window.

What did not help. One reporter in #53738 tested this matrix on Windows with WSL2 Ubuntu 24.04 on October 14:

VS CodeCodex extension (linux-x64, in WSL)Result
1.141.126.1007.21434Panel fails; repeated 30-second timeout
1.141.126.1002.51308Same failure after the downgrade and a reload
1.141.026.1002.51308Codex chat works again

WSL test matrix showing the Codex panel failing on VS Code 1.141.1 with either Codex build and working on 1.141.0, plus why the lowercased wsl+ubuntu address triggers 401 errors

The #53840 reporter also tried reinstalling the extension in WSL, an older extension version, reinstalling VS Code Server, clearing VS Code and webview caches, a fresh VS Code profile, and restarting VS Code and WSL, without success. The #341475 reporter added wsl --shutdown, deleting the Service Worker, Cache and CachedData folders, and a Windows reboot to that list.

Proxy or VPN: Codex waits for account requests that never return

A proxy that hangs does more damage than no network at all. openai/codex issue #37521 on startup deadlocks when account requests stay pending shows that the outcome depends on how requests to OpenAI fail:

How the network behavesWhat the Codex panel does
Proxy worksStarts normally
Requests fail quickly, for example no route to OpenAIAccount lookup reports an error, then the panel opens in a degraded offline mode
Proxy accepts the connection but never completes the requestAccount lookup never finishes, the UI never mounts, and the error page appears after 30 seconds

In the hanging case, Codex.log shows React root render requested, but [chatgpt-account-lookup] completed and [startup][renderer] app routes mounted never appear. The hosts in that report were chatgpt.com, api.openai.com and ab.chatgpt.com on port 443. A slow proxy can also push startup past the limit. In issue #38088, on Windows with the VeePN VPN registering a local privoxy proxy at 127.0.0.1:8080, the panel's routes mounted after about 26.7 and 30.1 seconds, and once after about 3.5 minutes, compared with about 9 seconds without the proxy.

To test this branch, turn off the VPN or system proxy, fully restart VS Code, and open Codex. If the panel loads, the proxy is the cause. Either make the proxy actually complete requests to those hosts or work without it in VS Code. Users in #37521 found that the extension host's requests did not use Codex's own network_proxy setting and that Node's built-in fetch ignores HTTP_PROXY and HTTPS_PROXY by default. OpenAI's IDE settings page lists no proxy setting for the extension.

The August fix does not cover this case. OpenAI's team member wrote on #37521 that the change "does not add deadlines to account requests or make a permanently pending account request fall back to offline mode," and kept the issue open. OpenAI's advice for anyone still stuck after updating is to check proxy and VPN settings first, then file a bug report.

Dev Containers: issue #40532 is open with no OpenAI fix

openai/codex issue #40532, renderer_ready_timeout in VS Code Dev Containers, describes extension 26.818.61809 in a Dev Container (Windows client, Ubuntu 22.04 container, VS Code 1.134.0). The backend started, and then the sidebar timed out with renderer_ready_timeout. Reinstalling the extension and removing older extension and VS Code Server versions did not fix it. The reporter traced it to a startup step in the panel's code that never finished. They patched the shipped bundle by hand, which every extension update overwrites, and that is not something to rely on. As of November 14, 2026, the issue is still open with no reply from OpenAI. It is a different case from the Dev Container failures on 26.1021.22027, which were closed into #56655 and are fixed by updating to 26.1106.51428.

A second container report, in a comment on #37458 dated August 26, shows a different signature. On extension 26.820.60940, Dev Containers over Remote-SSH failed before the extension fully activated, and the remote extension host logged PendingMigrationError: navigator is now a global in nodejs. For that reporter, setting "extensions.supportNodeGlobalNavigator": true both in local settings and in each container's remote settings appeared to be the workaround. So look for PendingMigrationError in the remote extension host logs first. If it is there, try that setting. If it isn't, and the log looks like #40532, run codex in the container's terminal while you wait, and add your versions and log lines to #40532.

Several Codex tabs open: some fail with role=panel

openai/codex issue #43080 on multiple Codex editor tabs timing out covers a local Windows install (VS Code 1.136.1, extension 26.901.22334). With three Codex conversations open in editor tabs, one mounted and two failed at almost the same moment, both logged as role=panel. The reporter could not establish a tab limit and also had a helper extension installed that opens Codex conversation editors, so its role is not ruled out. The issue is open with no OpenAI reply.

If your failures are role=panel and only some tabs break, close the extra Codex conversation tabs, run Developer: Reload Window, and reopen conversations one at a time. That follows from the report's pattern; it is not a confirmed fix.

Remote-SSH: the panel stays loading while the Codex CLI works

openai/codex issue #26951, IDE extension stuck loading over Remote-SSH while the CLI works, has been open since June 8, 2026. Its reports show the app-server running on the remote host while the panel spins or times out. Users have posted several workarounds. Each one worked for one or a few people and failed for others, so try them one at a time and keep notes:

  • Previous extension version with auto-update off. One user installed the version before the current one and turned off auto-update for Codex. They later upgraded again and it kept working. Rollback steps are in the next section.
  • "extensions.supportNodeGlobalNavigator": true in both local and remote settings. This removed the PendingMigrationError line from new logs for several users. For some, the timeout remained.
  • Test with a throwaway profile. One user on a local Linux install ran code --user-data-dir /tmp/vscode-codex-profile --extensions-dir /tmp/vscode-codex-extensions and Codex worked there. That pointed to stored webview state in their normal profile. With VS Code closed, they moved the Partitions, IndexedDB, Local Storage, WebStorage and Service Worker folders under ~/.config/Code aside as backups, and Codex loaded consistently after about three restarts. Move these folders rather than deleting them.
  • codex features disable remote_plugin. One user reported that this fixed loading at once. Another ran it with the extension's bundled binary, and the hang came back after a window reload.
  • Leftover processes. On a local Linux install, killing a leftover codex app-server process from an earlier session, then reloading the window, helped one user some of the time. On Windows, Codex Windows Background Processes: What to End and What to Leave Running covers which processes are safe to end.

Running Remote-SSH: Kill VS Code Server on Host... and reconnecting restarts the remote server and its extension host from scratch, which rules out a stuck server process. If the panel loads but you cannot sign in because the server has no browser, that is a separate problem, covered in Codex Headless Login: Device Code, SSH Tunnel, or auth.json.

Roll back the Codex extension only when a build is the cause

A rollback fixes the panel only when a specific extension build introduced the failure, as 26.803.x did in August and 26.1021.22027 did in late October. In both cases OpenAI later shipped a fixed build, so updating is now the better way out, and a rollback is only a stopgap until you can update. It did not fix the VS Code 1.141.1 WSL bug, because the broken part was VS Code.

As of November 14, 2026, the VS Code Marketplace lists these stable Codex builds, newest first: 26.1111.21308 (November 13), 26.1106.51428 (November 11, the startup fix), 26.1021.22027 (October 23, the failing build), 26.1007.21434 (October 9) and 26.1002.51308 (October 6). Pre-release builds carry a 5 at the start of the second number, such as 26.51106.51428. These numbers change several times a week. If you can't install the fixed build yet, the version users went back to before November 11 is 26.1007.21434.

bash
# See which build is installed
code --list-extensions --show-versions

# Install the fixed build (or a later one)
code --install-extension openai.chatgpt@26.1106.51428 --force

# Only if you can't update: go back from 26.1021.22027 to the build before it
code --install-extension openai.chatgpt@26.1007.21434 --force

In a WSL, SSH or container window, the extension is installed on the remote side, so run these from that window's terminal. You can do the same from the UI: open Extensions, select Codex, and use the dropdown next to Uninstall to install another version. If you roll back, turn off auto-update for Codex, or VS Code will reinstall the newest build on the next restart; since November 11 that is a fixed build, so turn auto-update back on once you are ready to update. One reporter noted that Developer: Reload Window alone may keep the old extension host running, so quit all VS Code windows and start again after switching versions.

Keep working in the Codex CLI while you wait for a fix

In #53738, #53840 and #26951, the codex command in the terminal kept working while the panel failed. It uses the same account and network, so it is not guaranteed to work, but it is the quickest way to keep going. Setup is covered in Install and Configure Codex CLI on Windows, macOS, or Linux.

If you file a report or add to an existing issue, include:

  • VS Code version and commit from Help > About
  • Codex extension version and platform build, such as 26.1106.51428-linux-x64
  • Window type and the remote label shown in the bottom-left corner
  • The renderer_ready_timeout line with its role= value, plus the 10 or so lines before it
  • Any errors in Webview DevTools, especially 401 or module-loading errors
  • Whether the codex CLI works on the same machine, and whether a VPN or proxy is on

Errors that appear after Codex has started, such as 401, 429 or "stream disconnected" in a running conversation, have different causes. Codex 401, 429, and Stream Disconnected: Find the Failing Layer covers those.

FAQ: Codex not launching, restarting, and the older wording

Why is Codex not launching in VS Code?

When the panel shows "Codex could not start," the Codex backend has usually launched, but the panel's UI did not report ready within 30 seconds. Check your window type, the renderer_ready_timeout line in Codex.log, and Webview DevTools. On Remote-WSL with VS Code 1.141.1, the cause is a VS Code bug fixed in 1.141.2. If the log line shows extensionVersion=26.1021.22027, the October 23 extension build is the cause; OpenAI fixed it on November 11, 2026 in 26.1106.51428, so update the extension and reload the window. If Codex is missing from the sidebar entirely, start with installation in Codex in VS Code: API Keys, Custom Models, and Your First Edit.

How do I restart the Codex extension in VS Code?

Run Developer: Reload Window from the Command Palette, or Developer: Restart Extension Host to restart only the extensions. If you just changed the extension version, quit all VS Code windows and start again. A restart does not fix the WSL 401 bug or a hanging proxy, because the same failure happens on the next start.

Is "Codex couldn't load its resources" the same error?

It is the same error page with older wording, from extension 26.803.x in August 2026. OpenAI fixed that build's watchdog bug in 26.810.41047. If you still see "couldn't load its resources," update the extension. If you see "could not start its user interface," the panel is being held up by something else, such as build 26.1021.22027 (fixed in 26.1106.51428), the WSL bug, a proxy, or one of the open issues above.

Does updating the Codex extension fix "could not start its user interface"?

Yes, when an extension build is the cause. The late-October failures started with the 26.1021.22027 update, and since November 11, 2026, updating to 26.1106.51428 or newer and reloading the window is OpenAI's fix for them. For the October Remote-WSL failure, a newer or older Codex build made no difference; updating VS Code to 1.141.2 or later is the fix. The separate issues for proxies (#37521), Dev Containers on 26.818 (#40532), multiple tabs (#43080) and Remote-SSH (#26951) were still open as of November 14, 2026.

Will VS Code reinstall Codex 26.1021.22027 after I roll back?

No. With auto-update on, VS Code installs the newest build on the next restart, and as of November 14, 2026 that is 26.1111.21308 (November 13), which came after OpenAI's November 11 fix in 26.1106.51428. Letting it update is now the fix, so if you rolled back to 26.1007.21434 and turned auto-update off, turn it back on. In a WSL, SSH or container window, the Codex copy lives on the remote side, separate from any local copy, so update and check it in that window: after restarting, run code --list-extensions --show-versions in the same window's terminal and confirm openai.chatgpt@26.1106.51428 or later.

Is it a ChatGPT sign-in problem?

Usually not. In the WSL reports, codex login status said "Logged in using ChatGPT" while the panel failed, so signing in again is not the fix when that command already reports a valid login. The account check does matter when its requests hang behind a proxy, as described in the proxy section.

Does this happen in Cursor or Windsurf?

Yes. The same Codex extension and 30-second limit apply, and the 26.1021.22027 failure hit Cursor too, in reports from Cursor 3.27.22. On November 11, 2026, a Cursor Community Support Engineer wrote in the Cursor forum thread on Cursor 3.27.22 and the Codex UI not starting that the error "comes from Codex extension version 26.1021.22027 itself" and advised updating Codex to 26.1106.51428. If Cursor doesn't offer that version yet, download its VSIX from the Open VSX Registry, run Extensions: Install from VSIX…, then Developer: Reload Window and Codex: New Codex Agent; he had not tested the fixed build in Cursor himself. The message "View containers cannot be contributed to the Secondary Side Bar in Cursor. It is reserved for Cursor's agent UI." is separate and expected, because that sidebar belongs to Cursor's own agent. For other causes, the log and DevTools checks work there too. The 1.141.1 and 1.141.2 version numbers belong to Microsoft's VS Code; forks ship their own versions on their own schedule. Run the Markdown preview test in the same window. If other panels are blank too, the editor is at fault and you need its update. Cursor setup is covered in Set Up Codex in Cursor and Complete a Reviewable First Edit.

Sources22

External pages this guide links to, in the order they appear. Last updated Nov 14, 2026.

  1. 1.openai/codex issue #53738, Codex fails to start after VS Code update on WSLgithub.com/openai/codex/issues/53738
  2. 2.openai/codex issue #38088 on proxy startup timeoutsgithub.com/openai/codex/issues/38088
  3. 3.Codex troubleshooting pagedevelopers.openai.com/codex/reference/troubleshooting
  4. 4.announced the fix in 26.810.41047github.com/openai/codex/issues/37458
  5. 5.openai/codex issue #56655, UI doesn't start in VS Code extension 26.51021.22027github.com/openai/codex/issues/56655
  6. 6.openai/codex issue #58049, renderer_ready_timeout on VS Code WSL2 that works after Stop Extension Bisectgithub.com/openai/codex/issues/58049
  7. 7.issue #58156 on Windows 11github.com/openai/codex/issues/58156
  8. 8.issue #57810github.com/openai/codex/issues/57810
  9. 9.issue #58398 on Linuxgithub.com/openai/codex/issues/58398
  10. 10.issue #61223github.com/openai/codex/issues/61223
  11. 11.issue #58150 on Windowsgithub.com/openai/codex/issues/58150
  12. 12.issue #37521github.com/openai/codex/issues/37521
  13. 13.issue #40532github.com/openai/codex/issues/40532
  14. 14.issue #43080github.com/openai/codex/issues/43080
  15. 15.issue #26951github.com/openai/codex/issues/26951
  16. 16.OpenAI Community thread "Error in VS while connecting codex"community.openai.com/t/1410267
  17. 17.VS Code pull request #341508, "webview: fix mixed-case remote resource authorities"github.com/microsoft/vscode/pull/341508
  18. 18.VS Code issue #341475 on blank webviews in WSL after 1.141.1github.com/microsoft/vscode/issues/341475
  19. 19.openai/codex issue #53840 on webview assets returning 401 in Remote WSLgithub.com/openai/codex/issues/53840
  20. 20.VS Code issue #341396, remote webview resources denied when the WSL distro name has uppercase lettersgithub.com/microsoft/vscode/issues/341396
  21. 21.Codex IDE settings pagedevelopers.openai.com/codex/ide/settings
  22. 22.Cursor forum thread on Cursor 3.27.22 and the Codex UI not startingforum.cursor.com/t/176467