Skip to content

Codex sidebar fails with "couldn't load its resources", webview font blocked by CSP (font-src) #37517

Closed as duplicate

Description

@amysorekar

Environment

  • Extension: openai.chatgpt version 26.803.41515
  • Context: Remote-SSH (ssh-remote+server)
  • VS Code server commit: df53daabb18cd157bdb08c7f01c34df936cf12f4
  • OS: macOS client, Linux remote (x86_64)

What happened

The Codex sidebar shows "Codex could not start / The extension couldn't load its resources." The extension host activates openai.chatgpt successfully (confirmed in the remote exthost log, no crash, no exception during activation). The failure happens in the webview, not during extension activation.

Devtools console shows:

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.

immediately followed by:
notificationsAlerts.ts:42 Codex couldn't load its resources.

The webview appears to be requesting a font as a data: URI, which the webview's CSP (font-src 'self' https://*.vscode-cdn.net) does not permit. The failed font load appears to trigger the "couldn't load its resources" notification.

Steps to reproduce

  • Connect to a remote host via Remote-SSH.
  • Open the Codex sidebar.
  • Observe the "couldn't load its resources" error, then check devtools console for the CSP violation above.

Expected

Webview loads normally, or at minimum doesn't ship a resource reference that its own CSP blocks.

Workaround

Installing an earlier version of the extension resolves it.

Activity

  1. added
    bug
    extension
    on Aug 8, 2026
  2. github-actions commented on Aug 8, 2026

    @github-actions
    Contributor
  3. moliflower commented on Aug 8, 2026

    @moliflower

    I can independently reproduce this issue in a Linux server environment as well.

    When using the Codex VS Code extension against the Linux server, opening the Codex sidebar results in the same startup failure:

    Codex could not start
    The extension couldn't load its resources.
    

    This appears to be the same failure described here and in #37458, so it does not seem to be limited to Windows/local environments.

    I first noticed the issue when working on the Linux server.

    Additional A/B result

    Downgrading the Codex VS Code extension resolves the problem immediately. After rolling back to an earlier extension version, the Codex sidebar starts normally again in the same Linux server environment.

    This makes a server configuration problem less likely and suggests a regression in the newer extension release.

    I can provide the exact VS Code version, affected/working extension versions, remote environment details, and relevant logs if they would help narrow down the cause.

  4. alexr-oai commented on Aug 11, 2026

    @alexr-oai
    Contributor

    Thanks for reporting this issue. We're tracking the related startup failure in #37458 and will provide updates there.

  5. alexr-oai commented on Aug 13, 2026

    @alexr-oai
    Contributor

    The startup watchdog fix has shipped. Please see the release announcement in #37458 for the stable and pre-release builds, platform availability, and guidance for any remaining loading issues.

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

    bugextensionremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions