Skip to content

Title: [Windows] Codex VS Code extension fails to start — renderer_ready_timeout #57064

Open

Description

@skzubair0907

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.

Activity

  1. added
    bug
    extension
    windows-os
    on Oct 26, 2026
  2. skzubair0907 commented on Oct 26, 2026

    @skzubair0907
    Author

    I am experiencing the same Codex startup failure on Windows.

    • VS Code version: 1.143.1
    • Codex extension version: 26.1021.22027
    • Error: "renderer_ready_timeout"
    • Additional error: "tcp set_nodelay" (OS error 10022)

    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?

  3. hhblaze commented on Oct 26, 2026

    @hhblaze

    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

  4. ralscha commented on Oct 26, 2026

    @ralscha

    Thanks @hhblaze. That solves it also for me. 30 seconds is way to short for the timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextensionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions