Skip to content

1.141.1: all webviews blank in WSL remote, vscode-resource.vscode-cdn.net resources return 401 (works in 1.140.0) #341474

Closed

Description

Does this issue occur when all extensions are disabled?: Yes (the built-in Markdown preview is affected too)

Broken:

  • VS Code Version: 1.141.1 (user setup)
  • Commit: 7baac39
  • Date: 2026-10-12T12:00:06-07:00
  • Electron: 43.7.7 (ElectronBuildId 15553055)
  • Chromium: 150.0.7871.250
  • Node.js: 24.21.0
  • OS Version: Windows_NT x64 10.0.26300
  • Remote: WSL2 (Ubuntu)

Works (same machine, only change is the downgrade):

  • VS Code Version: 1.140.0 (user setup)
  • Commit: 07f806f
  • Date: 2026-09-30T10:38:38+02:00
  • Electron: 43.7.3 (ElectronBuildId 15386805)
  • Chromium: 150.0.7871.250 (same as 1.141.1)

Description

After updating to 1.141.1, every webview is blank in a WSL remote window: the built-in Markdown preview and extension webviews (e.g. the Claude Code extension panel). Webview resources served via https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/... fail with 401 (Unauthorized), so nothing in the webview loads. It looks like the requests reach the network instead of being handled by the webview service worker.

Downgrading to 1.140.0 fixes it immediately, with no other changes. Chromium is identical between the two builds, so the regression appears to be in VS Code itself (or the Electron 43.7.3 → 43.7.7 bump).

Webview Developer Tools console (1.141.1)

Unrecognized feature: 'local-network-access'.
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Failed to load resource: the server responded with a status of 401 ()   index.css:1
Failed to load resource: the server responded with a status of 401 ()   index.js:1
GET https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/.../extensions/markdown-language-features/media/markdown.css net::ERR_ABORTED 401 (Unauthorized)
GET https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/.../extensions/markdown-language-features/media/index.js net::ERR_ABORTED 401 (Unauthorized)
GET https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/.../extensions/markdown-math/preview-styles/index.css net::ERR_ABORTED 401 (Unauthorized)

Already tried (no effect on 1.141.1)

  • Deleted %APPDATA%\Code\Service Worker, Cache, CachedData, GPUCache
  • Removed ~/.vscode-server/bin in WSL and let it reinstall; wsl --shutdown
  • Confirmed no lingering Code.exe processes before restart
  • argv.json has no custom flags

Possibly related: #335295 (webviews broken after update, service worker in invalid state).

Steps to Reproduce

  1. On Windows with VS Code 1.141.1, open a folder in WSL2 (code . from WSL).
  2. Open any .md file and run Markdown: Open Preview (Ctrl+Shift+V).
  3. Preview is blank; Webview Developer Tools shows 401 errors for vscode-cdn.net resources.

Activity

  1. added
    bug
    webview
    regression
    on Oct 14, 2026
  2. added
    unreleased
    on Oct 14, 2026
  3. added
    insiders-released
    and removed
    unreleased
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

WSLbuginsiders-releasedregressionwebview

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions