You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Title: [Windows] Codex VS Code extension fails to start — renderer_ready_timeout #57064
Environment
Operating System: Windows
VS Code version: 1.143.1
Codex extension version: 26.51021.22027
Application: Official OpenAI Codex extension for VS Code
Problem:
The Codex extension fails to open its user interface. VS Code displays “Codex could not start” and “The extension could not start its user interface.”
Error messages:
renderer_ready_timeout
Webview did not become ready
receivedWebviewMessage=false
tcp set_nodelay error: An invalid argument was supplied. (os error 10022)
Troubleshooting attempted:
Restarted VS Code.
Reloaded the VS Code window.
Changed Codex extension versions.
Modified the suggested VS Code settings.
The interface still fails to load.
Expected behavior:
The Codex sidebar should open normally and allow me to continue my coding work.
Request:
Please investigate the interface startup timeout and Windows networking error. Please advise on a confirmed fix for this environment.
The very little timeout on loading of the extension (default 30 seconds).
Was fixed by increasing it to 120 sec.
But I think the problem will return with the new update.
Extension 26.1021.22027.
VSCode, Ubuntu 24.04, ARM64
python3 - <<'PY'
from pathlib import Path
p = Path.home()/".vscode/extensions/openai.chatgpt-26.1021.22027-linux-arm64/out/extension.js"
s = p.read_text()
old = "receivedWebviewMessage:this.receivedWebviewMessage,timeoutMs:3e4})},3e4)}markMessageReceived()"
assert s.count(old) == 1, "Unexpected extension version; no changes made"
p.with_suffix(".js.timeout-backup").write_text(s)
p.write_text(s.replace(old, old.replace("3e4", "12e4")))
print("Startup timeout changed to 120 seconds; backup saved.")
PY
For Win-x64 (not tested. for PowerShell)
$p = Join-Path $env:USERPROFILE ".vscode\extensions\openai.chatgpt-26.1021.22027-win32-x64\out\extension.js"
$s = [IO.File]::ReadAllText($p)
$old = 'receivedWebviewMessage:this.receivedWebviewMessage,timeoutMs:3e4})},3e4)}markMessageReceived()'
if ([regex]::Matches($s, [regex]::Escape($old)).Count -ne 1) {
throw "Unexpected extension version or already patched; no changes made."
}
# Save the original; stop if this backup already exists.
$backup = "$p.timeout-backup"
[IO.File]::Copy($p, $backup, $false)
$new = $old.Replace('3e4', '12e4')
[IO.File]::WriteAllText(
$p,
$s.Replace($old, $new),
[Text.UTF8Encoding]::new($false)
)
Write-Host "Startup timeout changed to 120 seconds."
Write-Host "Backup: $backup"
an extension update may overwrite it
Reacted by 汤朝凯, Nikola Subotić and Fernando Gonzalez Chaio
Activity
github-actions commentedon Oct 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
skzubair0907 commentedon Oct 26, 2026
I am experiencing the same Codex startup failure on Windows.
The Codex interface still fails to open after restarting VS Code and trying the suggested troubleshooting steps.
I found reports #56858 and #56780 describing similar failures.
Could you please confirm the root cause and provide a working fix for Windows?
hhblaze commentedon Oct 26, 2026
The very little timeout on loading of the extension (default 30 seconds).
Was fixed by increasing it to 120 sec.
But I think the problem will return with the new update.
Extension 26.1021.22027.
VSCode, Ubuntu 24.04, ARM64
For Win-x64 (not tested. for PowerShell)
an extension update may overwrite it
ralscha commentedon Oct 26, 2026
Thanks @hhblaze. That solves it also for me. 30 seconds is way to short for the timeout.