Description
Description
The Codex panel fails to start after opening VSCode and shows:
Codex could not start. The extension couldn't load its resources.
Environment
- OS: Windows x64
- VSCode: 1.132.0 (commit
df53daabb18cd157bdb08c7f01c34df936cf12f4) - Extension:
openai.chatgpt26.803.41515 (win32-x64) - Extension installed/updated: 2026-08-07
Steps to reproduce
- Open VSCode.
- Open the Codex sidebar or panel.
- Wait about 30 seconds; the error "Codex couldn't load its resources." appears.
Console output (Developer Tools)
Key error lines:
index.html?id=...&extensionId=openai.chatgpt...
Loading the font 'data:font/woff2;base64,...' violates the following Content Security Policy directive: "font-src 'self' https://*.vscode-cdn.net". The action has been blocked.
...
Codex couldn't load its resources.
Troubleshooting already tried
- Developer: Reload Window
- Fully quit and restart VSCode
- Uninstall and reinstall the Codex extension
- Cleared
%APPDATA%\Code\Service Worker\CacheStorageandScriptCache - Tried to roll back the extension version, but "Install Another Version..." failed with "Error while downloading VSIX: Canceled"
Additional analysis
From the extension source, initializeWebview sets a 30-second startup timeout for the webview and requires a ready message within that window. If VSCode's CSP blocks the data:font resource, the frontend may fail to initialize and trigger this error. Please confirm compatibility between 26.803.41515 and VSCode 1.132.0, and consider whether the webview's data:font should be served differently.
Hi everyone, we just released an update (26.810.41047 stable / 26.5810.41047 pre-release) that fixes the startup watchdog issue. After updating, you should no longer see “The extension couldn’t load its resources” simply because application initialization takes longer than 30 seconds.
Keep in mind that while the resource-loading error won't appear anymore, if an underlying networking or authentication problem was preventing initialization from completing, that will likely still be the case. If the extension remains stuck after you update, please check your proxy and VPN settings, and then file a bug report. Indefinitely pending account requests will continue to be tracked separately in #3…
Activity
YeNai-ShaoXianChao commentedon Aug 7, 2026
Regression in openai.chatgpt 26.803.41515: Codex panel fails to load resources
Summary
After updating to
openai.chatgpt26.803.41515, the Codex panel fails to start with:Rolling back to
openai.chatgpt26.5730.61639 fixes the issue, so this appears to be a regression introduced in 26.803.41515.Environment
df53daabb18cd157bdb08c7f01c34df936cf12f4)openai.chatgpt26.803.41515 (win32-x64)openai.chatgpt26.5730.61639Steps to reproduce
Console output (Developer Tools)
Key error lines:
Troubleshooting already tried
%APPDATA%\Code\Service Worker\CacheStorageandScriptCacheAdditional analysis
From the extension source,
initializeWebviewsets a 30-second startup timeout for the webview and requires areadymessage within that window. If VSCode's CSP blocks thedata:fontresource, the frontend may fail to initialize and trigger this error. Please confirm compatibility between26.803.41515and VSCode1.132.0, and consider whether the webview'sdata:fontshould be served differently.STliuEN commentedon Aug 7, 2026
I can independently reproduce this issue on Windows.
Environment
1.132.0df53daabb18cd157bdb08c7f01c34df936cf12f4openai.chatgpt 26.803.41515Behavior
The issue started immediately after the Codex extension was automatically updated on August 7, 2026.
Opening the Codex panel displays:
The webview requests React rendering but does not send the expected
readymessage within approximately 30 seconds. The Codex log then reports:Diagnostics performed
I performed the following checks:
data:fontCSP warning is present. For diagnostic purposes, I tested with the CSP restriction bypassed locally, but the webview still timed out.This does not appear to be caused by an incomplete or corrupted extension installation.
The CSP warning may be relevant, but bypassing it did not resolve the startup timeout, so I cannot confirm CSP as the root cause.
This appears to be a regression in the Windows webview initialization or compatibility behavior introduced in version
26.803.41515.Workaround
Downgrading to an earlier Codex extension version restores normal operation.
Related report
Another user reported the same two-line startup error here:
#3801 (comment)
Screenshot
williamIIliu commentedon Aug 8, 2026
I also get this issue on my linux cloud platform
hugebenevolence commentedon Aug 8, 2026
Hi I found out that theres a solution for this one!
I have the same problem, and this solution have solved it. And this problem may be failed by authentication so we just remove the authen file btw ^^
Hope that would help you guys!
M-Kepler commentedon Aug 8, 2026
+1
TheKrush commentedon Aug 8, 2026
I'm getting this as well and the previous comment about deleting the auth.json doesn't fix it
26.803.41515release can help anyone affected get working again until the latest version is fixed.Jamie502 commentedon Aug 8, 2026
Environment: Windows (VSCode) → Remote-SSH → Ubuntu 22.04
Broken: 26.803.41515 | Working: 26.727.40816
Logs:
text
[error] Request failed error={"code":-32603,"message":"No such file or directory (os error 2)"} method=fs/readFile
[error] [CodexWebviewProvider] Webview did not finish starting extensionVersion=26.803.41515 role=sidebar
Workaround: Downgrade to 26.727.40816 fixes it.
Same regression on Remote-SSH as Windows native. The fs/readFile error suggests local file init fails before network.After downgrading, the fs/readFile error still appears but does NOT block Codex startup anymore. The fatal issue is specifically the webview timeout in 26.803.41515. This error seems to be a separate non-fatal issue (possibly codex-core trying to read a missing plugin file). The real regression in 26.803.41515 is the webview initialization timeout.
xy200303 commentedon Aug 8, 2026
我发现解决办法是开启VPN代理就行,感觉是codex请求国外某些资源
AustineSamuel commentedon Aug 8, 2026
Fixed
AustineSamuel commentedon Aug 8, 2026
i Faced the same error but i was able to fix it by doing these
Ahmed-Hafez commentedon Aug 9, 2026
I also have the same issue
congmng commentedon Aug 9, 2026
i return to version about 1 month before and solve the problem
36 remaining items
FreeCodeCampXYG commentedon Aug 13, 2026
是这样的错误信息:
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost:renderer] Acquiring MessagePort to agent host...
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost:renderer] MessagePort acquired, creating client...
workbench.desktop.main.js:sourcemap:442 INFO Started local extension host with pid 4556.
workbench.desktop.main.js:sourcemap:442 ERR Extension 'Tencent-Cloud.coding-copilot CANNOT USE these API proposals 'inlineCompletionsAdditions, findFiles2, terminalSelection, findTextInFiles, terminalExecuteCommandEvent, textDocumentChangeReason, extensionsAny'. You MUST start in extension development mode or use the --enable-proposed-api command line flag
pG @ workbench.desktop.main.js:sourcemap:442
workbench.desktop.main.js:sourcemap:442 ERR [vscode.mermaid-markdown-features]: Extension 'vscode.mermaid-markdown-features' CANNOT use 'legacyToolReferenceFullNames' without the 'chatParticipantPrivate' API proposal enabled
pG @ workbench.desktop.main.js:sourcemap:442
workbench.desktop.main.js:sourcemap:5781 Unrecognized feature: 'local-network-access'.
_createElement @ workbench.desktop.main.js:sourcemap:5781
workbench.desktop.main.js:sourcemap:5781 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ workbench.desktop.main.js:sourcemap:5781
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost:renderer] Protocol connection established; clientId=3de6ddb3-820a-4497-b6d2-c47f54d13ab7
workbench.desktop.main.js:sourcemap:442 INFO [AccountPolicyGate] apply: state=inactive, reason=undefined, isRestricted=false
workbench.desktop.main.js:sourcemap:442 INFO Settings Sync: Account status changed from uninitialized to unavailable
index.html?id=1aa5925d-db96-40d3-8692-9b0840507bea&parentId=1&origin=6bc90693-3892-470d-b14a-e59fe721495a&swVersion=6&extensionId=openai.chatgpt&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=webviewView:1038 Unrecognized feature: 'local-network-access'.
(anonymous) @ index.html?id=1aa5925d-db96-40d3-8692-9b0840507bea&parentId=1&origin=6bc90693-3892-470d-b14a-e59fe721495a&swVersion=6&extensionId=openai.chatgpt&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&purpose=webviewView:1038
workbench.desktop.main.js:sourcemap:442 ERR [Extension Host] (node:4556) [DEP0040] DeprecationWarning: The
punycodemodule is deprecated. Please use a userland alternative instead.(Use
Code --trace-deprecation ...to show where the warning was created)pG @ workbench.desktop.main.js:sourcemap:442
workbench.desktop.main.js:sourcemap:1095 [Extension Host] (node:4556) [DEP0040] DeprecationWarning: The
punycodemodule is deprecated. Please use a userland alternative instead.(Use
Code --trace-deprecation ...to show where the warning was created)COi @ workbench.desktop.main.js:sourcemap:1095
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost] No token resolved for resource: https://api.github.com
workbench.desktop.main.js:sourcemap:442 ERR [Extension Host] (node:4556) [DEP0169] DeprecationWarning:
url.parse()behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued forurl.parse()vulnerabilities.pG @ workbench.desktop.main.js:sourcemap:442
workbench.desktop.main.js:sourcemap:1095 [Extension Host] (node:4556) [DEP0169] DeprecationWarning:
url.parse()behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued forurl.parse()vulnerabilities.COi @ workbench.desktop.main.js:sourcemap:1095
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [AcpMessageRouter] postConstruct called, agentManagerService available: true
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [AcpMessageRouter] subscribeToMessages called, agentManagerService: true
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [AcpMessageRouter] Subscribing to messageport messages (early)
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [Inline Chat] decorations disabled
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost] No token resolved for resource: https://api.github.com
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost] No token resolved for resource: https://api.github.com/repos
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost] No token resolved for resource: https://api.github.com/repos
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost] No token resolved for resource: https://api.github.com
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [MemoryManager] preload global config: enabled=true, localMemoryEnabled=false, updatedAt=2026-07-22T01:39:19.880Z
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost] No token resolved for resource: https://api.github.com
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost] No token resolved for resource: https://api.github.com/repos
index.html?id=1aa5925d-db96-40d3-8692-9b0840507bea&parentId=1&origin=6bc90693-3892-470d-b14a-e59fe7…:1 Loading the font 'data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmftt...mCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC' violates the following Content Security Policy directive: "font-src 'self' https://*.vscode-cdn.net". The action has been blocked.
workbench.desktop.main.js:sourcemap:442 INFO [AgentHost] No token resolved for resource: https://api.github.com/repos
app-initial-CM3BD-Et.js:10 Uncaught SyntaxError: Unexpected identifier 'cloud'
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [EnhancedMonitor] crashLogsDir not configured, crash monitoring disabled
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [AcpMessageRouter] initialize called, already initialized: false , subscribed: true
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [AcpMessageRouter] already subscribed, skipping
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [AcpMessageRouter] Bridge initialized
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [AgentManagerService] vscode.agentManager is not available
COi @ workbench.desktop.main.js:sourcemap:1095
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [BillingService] User not logged in, skipping usage notification check
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [Inline Chat] decorations disabled
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [Inline Chat] decorations disabled
workbench.desktop.main.js:sourcemap:1095 [Extension Host] WebviewInfoService activate() called - DEBUG
workbench.desktop.main.js:sourcemap:1095 [Extension Host] WebviewInfoService commands registered extensionContext: true
workbench.desktop.main.js:sourcemap:1095 [Extension Host] 🔍[AgentManagerService] activate called, already initialized: false
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [AgentManagerService] vscode.agentManager is NOT available
COi @ workbench.desktop.main.js:sourcemap:1095
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [AgentManagerService] MessagePort channel initialized
workbench.desktop.main.js:sourcemap:1095 [Extension Host] StartNewChatCommand init undefined
workbench.desktop.main.js:sourcemap:1095 [Extension Host] InlineChatIDEDecorationProvider activated
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [Inline Chat IDE] Initializing decorations
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [Inline Chat] decorations enabled
workbench.desktop.main.js:sourcemap:442 INFO [perf] Render performance baseline is 10ms
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [Inline Chat] decorations disabled
workbench.desktop.main.js:sourcemap:1095 [Extension Host] rejected promise not handled within 1 second: Error: Git model not found
COi @ workbench.desktop.main.js:sourcemap:1095
workbench.desktop.main.js:sourcemap:1095 [Extension Host] stack trace: Error: Git model not found
at xs.getAPI (d:\Programs\Microsoft VS Code\a5b5009513\resources\app\extensions\git\dist\main.js:115:33022)
at c:\Users\xiaoy.vscode\extensions\tencent-cloud.coding-copilot-4.10.35413651\out\extension\index.js:1:1479636
COi @ workbench.desktop.main.js:sourcemap:1095
workbench.desktop.main.js:sourcemap:1126 [vscode.git]Git model not found
$onExtensionRuntimeError @ workbench.desktop.main.js:sourcemap:1126
workbench.desktop.main.js:sourcemap:1126 Error: Git model not found
at xs.getAPI (d:\Programs\Microsoft VS Code\a5b5009513\resources\app\extensions\git\dist\main.js:115:33022)
at c:\Users\xiaoy.vscode\extensions\tencent-cloud.coding-copilot-4.10.35413651\out\extension\index.js:1:1479636
$onExtensionRuntimeError @ workbench.desktop.main.js:sourcemap:1126
workbench.desktop.main.js:sourcemap:442 ERR An unknown error occurred. Please consult the log for more details.
pG @ workbench.desktop.main.js:sourcemap:442
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [EnhancedMonitor] crashLogsDir not configured, crash monitoring disabled
workbench.desktop.main.js:sourcemap:442 INFO Auto updating outdated extensions. anthropic.claude-code
workbench.desktop.main.js:sourcemap:442 ERR [Extension Host] (node:4556) [DEP0152] DeprecationWarning: Custom PerformanceEntry accessors are deprecated. Please use the detail property.
pG @ workbench.desktop.main.js:sourcemap:442
workbench.desktop.main.js:sourcemap:1095 [Extension Host] (node:4556) [DEP0152] DeprecationWarning: Custom PerformanceEntry accessors are deprecated. Please use the detail property.
COi @ workbench.desktop.main.js:sourcemap:1095
workbench.desktop.main.js:sourcemap:442 INFO [AccountPolicyGate] apply: state=inactive, reason=undefined, isRestricted=false
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [DataFilter] Total: 1 → 0 (dropped: 1)
workbench.desktop.main.js:sourcemap:1095 [Extension Host] Created lock file at C:\Users\xiaoy.claude\ide\10840.lock
workbench.desktop.main.js:sourcemap:1095 [Extension Host] Set CLAUDE_CODE_SSE_PORT=10840 in terminal environment (in-memory)
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [DataFilter] Total: 3 → 0 (dropped: 3)
workbench.desktop.main.js:sourcemap:5781 Using standard dev tools to debug iframe based webview
workbench.desktop.main.js:sourcemap:5413 Codex couldn't load its resources.
onDidChangeNotification @ workbench.desktop.main.js:sourcemap:5413
(anonymous) @ workbench.desktop.main.js:sourcemap:5413
_deliver @ workbench.desktop.main.js:sourcemap:433
_deliverQueue @ workbench.desktop.main.js:sourcemap:433
fire @ workbench.desktop.main.js:sourcemap:433
addNotification @ workbench.desktop.main.js:sourcemap:1234
notify @ workbench.desktop.main.js:sourcemap:2107
(anonymous) @ workbench.desktop.main.js:sourcemap:1139
_showMessage @ workbench.desktop.main.js:sourcemap:1139
$showMessage @ workbench.desktop.main.js:sourcemap:1139
_doInvokeHandler @ workbench.desktop.main.js:sourcemap:5457
_invokeHandler @ workbench.desktop.main.js:sourcemap:5457
_receiveRequest @ workbench.desktop.main.js:sourcemap:5457
_receiveOneMessage @ workbench.desktop.main.js:sourcemap:5457
(anonymous) @ workbench.desktop.main.js:sourcemap:5457
_deliver @ workbench.desktop.main.js:sourcemap:433
fire @ workbench.desktop.main.js:sourcemap:433
fire @ workbench.desktop.main.js:sourcemap:1141
(anonymous) @ workbench.desktop.main.js:sourcemap:5472
workbench.desktop.main.js:sourcemap:1095 [Extension Host] [DataFilter] Total: 69 → 9 (dropped: 60)
shipiyouniao commentedon Aug 13, 2026
This contains the first actionable renderer error:
The font CSP warning and the errors from unrelated extensions are not the startup blocker here.
I reproduced the exact
aebe033fallback against the official26.803.61601bundle and checked every JavaScript file modified by the fallback. The generated entry,app-main, andapp-initialall passnode --check. For comparison, the deterministicapp-initial-CM3BD-Et.jsvalues are:The patch to that file only removes the delayed
dispatchMessage(ready,{})expression, and the resulting surrounding syntax is valid locally. We now need to distinguish an on-disk difference from a corrupted/stale Webview response.Could you provide these two items?
assets-cache-bust-*\app-initial-CM3BD-Et.json the failing installation.app-initial-CM3BD-Et.js:10error and share the exact line/column plus a short redacted excerpt around the highlightedcloudtoken. In Network, the request URL, status, transferred/resource size, and Response excerpt for that same file would also be useful.If the disk hash differs from the value above, the installed generated file was altered. If it matches but the DevTools response does not, the failure is in the VS Code Webview resource/cache path rather than the JavaScript transformation itself.
FreeCodeCampXYG commentedon Aug 13, 2026
非常感谢,我自己修好了
这是我修复的脚本
Apply-CodexWebviewReadinessFix.zip
原因如下:
Result of
-ResetAssetGraphtest for codex-webview-fixTested commit:
Environment
The same machine and configuration work with
openai.chatgpt 26.727.40816.Pre-application validation
I audited commit
aebe033and tested it against an isolated extraction of the official26.803.61601Windows x64 VSIX.Verified results:
Real installation apply output
Post-apply checks on the real installation:
Runtime result
After fully restarting VS Code, the sidebar still displayed:
Redacted log excerpt:
Milestone search result:
No API key, token, custom provider URL, or request query string is included here.
Interpretation
The fallback was applied correctly, but the Webview still did not execute far enough to emit any renderer milestone. This suggests that the failure is earlier than the patched runtime and persists even with:
The normal VS Code logs did not contain a specific failed-resource, CSP, modulepreload, or Service Worker error. The next useful evidence likely requires
Developer: Open Webview Developer Toolsand its Console/Network output, because errors before the webview-to-host log channel initializes are not forwarded toCodex.log.Follow-up: Codex desktop fully closed
I repeated the real-machine test after explicitly excluding interference from the Codex desktop application:
Code.execount was zero.openai.chatgpt 26.803.61601.-ResetAssetGraph, producing namespaceassets-cache-bust-b42322667adawith all 4,456 assets.The failure remained unchanged:
Milestones:
Process timing independently confirms that Codex desktop was not running during the failure:
Closing Codex desktop therefore does not change this reproduction and rules out desktop/IDE shared IPC as the cause of the pre-entry Webview failure.
Webview DevTools root cause
The first fatal Console error from the failing Webview was:
The earlier
local-network-accessand font CSP messages were warnings and were not the startup-stopping error.The token
cloudis valid in the official bundle. The syntax error was caused earlier on the same line by text corruption in the generated asset tree. The official text was:The generated file contained:
The ellipsis was decoded through the Windows ANSI code page and the closing backtick was lost, leaving the template literal unterminated. Chromium then reported the next relevant identifier,
cloud, as unexpected.Environment:
The script reads JavaScript and HTML using
Get-Content -Rawwithout an explicit encoding, then writes them as UTF-8. On Windows PowerShell 5.1 this decodes UTF-8 source through the system ANSI code page, corrupting non-ASCII content before it is written.A local candidate fix replaces text reads with strict UTF-8
File.ReadAllText:All source-bearing
Get-Content -Rawcalls are then routed throughRead-Utf8Text.Isolated validation against the official
26.803.61601bundle:This explains why the fallback appeared correctly installed yet failed before every renderer milestone: the fallback namespace itself contained a syntactically corrupted route bundle.
shipiyouniao commentedon Aug 13, 2026
Thanks, this identifies a real bug in the script. Windows PowerShell 5.1 decoded the UTF-8 bundle through the system ANSI code page, corrupting non-ASCII text before rewriting it.
I merged your fix as codex-webview-fix#1. I also verified both the normal patch and
-ResetAssetGraphusing Windows PowerShell 5.1 against the official26.803.61601bundle:app-main, andapp-initialpass syntax checks;Your diagnosis and fix were correct. Thanks for tracing the actual response down to the corrupted template literal and contributing the patch.
alexr-oai commentedon Aug 13, 2026
Hi everyone, we just released an update (
26.810.41047stable /26.5810.41047pre-release) that fixes the startup watchdog issue. After updating, you should no longer see “The extension couldn’t load its resources” simply because application initialization takes longer than 30 seconds.Keep in mind that while the resource-loading error won't appear anymore, if an underlying networking or authentication problem was preventing initialization from completing, that will likely still be the case. If the extension remains stuck after you update, please check your proxy and VPN settings, and then file a bug report. Indefinitely pending account requests will continue to be tracked separately in #37521.
Thanks again to everyone who reported this issue and shared diagnostic information.
Note: Windows packages are available through the VS Code Marketplace. Windows packages are not currently available through Open VSX while we work to resolve a package-size publishing issue.
KajiMaCN commentedon Aug 26, 2026
Hi @alexr-oai, could you please help take a look at this issue and advise on an official fix?
We are seeing the same user-facing failure again in two Linux Dev Containers (
triplet-CommandPCBGL2):Current environment:
1.134.0(110a328ea54b42367b803ec53ee0bf52ef26b419)openai.chatgpt-26.820.60940-linux-x640.466.0over Remote SSH0.126.0The current failure happens before the extension fully activates. The renderer/remote extension-host logs repeatedly show:
We verified that only one Codex extension version is registered in each container, the extension files are intact, and SSH/container connectivity is healthy. Enabling
extensions.supportNodeGlobalNavigator: trueboth locally and in each container's remote machine settings appears to be the relevant workaround.We also checked the workaround in the earlier comment above. That workaround targets the older webview
startup.whenReady()/ missingreadyhandshake. In the current26.820.60940bundle, the renderer already has arenderer_readypath, while the extension now fails earlier during Node extension-host loading, so applying the old bundle replacement does not appear appropriate.Could you please confirm whether this is a Codex extension compatibility regression with the current VS Code Node extension host, and whether the extension can update its Node/web environment detection so users do not need to enable this compatibility setting manually?
zhoutianrui-tongji commentedon Sep 16, 2026
This is how I solved it.
Open on the machine where VS Code is installed locally:
Ctrl + Shift + P
Search:
Preferences: Configure Runtime Arguments
It will open argv.json.
Add:
{
"disable-hardware-acceleration": true
}
danishsshaikh commentedon Sep 30, 2026
Thank you @zhoutianrui-tongji, this worked for me.
RealRaven2000 commentedon Oct 25, 2026
Version: 1.143.1 (user setup)
Commit: e646868227c3e3a9e3f24277c8c7220be42c0be7
Date: 2026-10-22T17:23:22Z
Electron: 43.7.7
ElectronBuildId: 15743441
Chromium: 150.0.7871.250
Node.js: 24.21.0
V8: 15.0.245.31-electron.0
@github/copilot: 1.0.100-1
@github/copilot-sdk: 1.0.23-preview.5
OS: Windows_NT x64 10.0.19045
I tried the workaround from @zhoutianrui-tongji but I still cannot start "Codex could not start its user interface"
alexr-oai commentedon Oct 27, 2026
Closing the loop on my previous comment: the package-size publishing issue with Open VSX has been resolved and Windows users on Open VSX can now get a version with the startup fix too. If you've been waiting for it, please check for extension updates in your editor. Thanks.
empereira commentedon Nov 10, 2026
Hello,
The error continues to occur in version 26.51021.22027 (extension for vscode 1.145.2).
Has this been fixed?