Skip to content

Codex Could Not Start (2026): 5 Sourced Checks and the Fix Order

Short answer: For “Codex could not start” in VS Code, capture the Codex output and webview console before reinstalling. Check the extension version, module loading, remote connection, IPC and Linux launcher in that order. Public reports checked November 17, 2026 show the same banner can appear even after the app-server initializes.

Scope: the Codex IDE extension in VS Code, including Remote-SSH. These are public user reports in OpenAI's official repository, retrieved November 17, 2026, not confirmed vendor diagnoses or fixes tested by this site. Desktop-app launch and CLI installation failures require their own logs.

Start with the symptom, then choose one verification

Open VS Code's Output panel and select Codex, then capture one failed startup. Read the verification column before changing settings; the candidate causes below are limited to the linked reports.

SymptomMost likely cause to investigateOne command or verification stepPublic source
UI stopped loading after an extension updateA version-specific UI regression or compatibility problemRecord installed versions with code --list-extensions --show-versionsOpenAI Codex issue #57032
Webview console reports a missing JavaScript module exportWebview module delivery or cache inconsistency; root cause unconfirmedOpen Developer: Open Webview Developer Tools and inspect the first module errorOpenAI Codex issue #56715
Local window works, Remote-SSH panel times outA remote-specific webview initialization or resource-loading failureOpen Codex in a local window for a matched comparisonOpenAI Codex issue #59840
Socket ownership error appears with multiple VS Code windowsA reported IPC coordination failure; a race is the reporter's hypothesisSave work, close other VS Code windows and retry with one windowOpenAI Codex issue #34109
Linux panel fails from the direct binary but works via the CLI wrapperLaunch-path-dependent startup behavior; underlying cause unconfirmedOn a matching Linux installation, compare /usr/bin/code with /usr/share/code/codeOpenAI Codex issue #57296

A timeout identifies a failed stage, not a universal cause. In issue 59840, the log contains Initialize received id=1 before renderer_ready_timeout, with a 30,000 ms renderer timeout. Do not interpret that sequence as evidence that the executable never started.

1. Check for a version regression

Issue 57032 reports failure with extension version 26.1021.22027 on Fedora and success with 26.1007.21434 in the same clean test profile. Restarting, cache changes and disabling suspected conflicting extensions did not resolve that report.

Record code --version and code --list-extensions --show-versions in a terminal, and compare them with the affected environment. First check for an available fixed release. If testing a previous version, use VS Code's extension version picker in a separate test profile and record both outcomes. The historical version in this report is a comparison point, not a recommendation to stay on an older release.

2. Inspect module loading before changing caches

Issue 56715 includes a JavaScript error saying a requested module does not provide an expected export. Its Network view showed the response coming from a service worker. The reporter says renaming caches did not help; restoring the original cache directories subsequently did. The exact root cause remains unproven.

Use Developer: Open Webview Developer Tools and capture the first module error plus its request status. Compare in a temporary VS Code profile with only Codex installed. If investigating caches, preserve a restorable copy and change one variable at a time; the report does not justify a blanket deletion recipe or editing bundled extension JavaScript.

3. Separate Remote-SSH failures from local startup

Issue 59840 reports success locally and failure over Remote-SSH from Windows to Ubuntu, despite successful app-server initialization. Reinstalling, clearing caches, disabling hardware acceleration and adding swap did not fix that case.

Compare a local window with the remote window and record where the extension is installed. Inspect the webview console for a failed resource request. Issue 56771 reports a dynamic module load failure from a VS Code resource CDN alongside other request errors; those observations do not establish one shared network cause. Keep the exact failed URL and status in a private diagnostic record, and redact identifying query parameters before sharing.

4. Test IPC behavior with one VS Code window

Issue 34109 reports an IPC socket ownership error on Linux when several VS Code windows are open, even though the socket belongs to the current user. The reporter proposes a coordination race; this page does not treat that hypothesis as a confirmed implementation defect.

Save work, fully close the other windows and retry in one window. Record whether the socket error and panel failure disappear together. Do not change socket permissions or remove a socket still used by a running process: the report describes a check failing despite apparently correct ownership, so changing ownership is not an evidence-based first response.

5. Compare the Linux wrapper with the direct binary

Issue 57296 describes a matched Linux comparison: the direct /usr/share/code/code launch failed while /usr/bin/code succeeded with the same profile and flags. The reporter did not establish why the launch paths behaved differently.

On an installation containing both paths, save work and fully quit VS Code between trials. Compare /usr/share/code/code --disable-gpu --new-window with /usr/bin/code --disable-gpu --new-window, keeping the same folder and profile. The GPU flag was held constant in the source report; its necessity was not tested. This comparison applies to that Linux layout, not to Windows or macOS.

When to reinstall and when to file an issue

Use the evidence column to decide whether installation changes can answer the remaining question. These are editorial next steps grounded in the reports, not vendor-promised repairs.

EvidenceNext actionWhy / source
Only the existing profile failsCompare a temporary profile and preserve the original before a controlled reinstall57296 records clean-profile comparisons; profile and launch path must be tested separately
Same version fails in a clean profile; previous version worksReport the version comparison rather than repeatedly reinstalling the same build57032 documents this version-dependent result
Remote-only failure survives a reinstallAttach local/remote comparison and sanitized webview logs to a matching issue59840 reports reinstalling without success
Startup succeeds but account requests failTrack account/network errors separately from UI startup58150 reports usable conversations alongside account-request failures

A reinstall is a controlled comparison after preserving settings and diagnostics. If a clean installation reproduces the same failure, stop repeating it. Search OpenAI's Codex issue tracker for the exact message and environment before opening a new report.

Include OS and architecture, VS Code and extension versions, local/SSH/WSL mode, last working version, reproduction steps, the first failing log entry and results from a clean profile. Remove tokens, account identifiers, private paths and source code. Distinguish what you observed from what you suspect. See verification practices for keeping a diagnosis tied to observable results.

Frequently asked questions

What does Codex could not start mean?

In the VS Code reports linked here, the extension could not initialize its user interface. Issue 59840 shows the app-server initializing successfully before the renderer times out, so the banner alone does not identify a backend or account failure.

Will reinstalling fix Codex could not start?

Not reliably: issue 59840 reports the same failure after reinstalling. Use a clean profile and version comparison before replacing an installation or resetting persistent state.

Is renderer_ready_timeout an authentication error?

It records that the webview renderer did not become ready within the logged timeout. Issue 56771 also reports resource and account-request errors, but their coexistence does not prove that authentication caused the renderer failure.

Should I delete the Codex folder or VS Code caches?

Do not start by deleting persistent data. Issue 56715 reports that renaming cache directories did not help and restoring the originals did, which is evidence against treating cache deletion as a universal fix.

how do AI agents work — return to the complete AI agent architecture guide.

Sources

Figures reported by vendors are labeled as such in the article and linked to their original announcement.