Skip to content

All webviews blank in WSL remote after 1.141.1 — vscode-resource returns 401 (works in 1.140.0) #341482

Closed as not planned

Description

Does this issue occur when all extensions are disabled?: Not fully testable — the WSL extension is required to reproduce (remote-only issue). The built-in Markdown preview is affected, so it is not caused by a third-party webview extension.

  • VS Code Version: 1.141.1 (user setup), commit 7baac39, 2026-10-12, Electron 43.7.7, Chromium 150.0.7871.250, Node.js 24.21.0
  • OS Version: Windows 11 x64 (Windows_NT 10.0.26200); remote: WSL, Ubuntu 22.04 (remoteAuthority=wsl+Ubuntu-22); WSL extension 0.88.5 (also reproduced after updating it to the latest version)

Steps to Reproduce:

  1. Open a folder in WSL (Remote-WSL).
  2. Open any .md file and run "Markdown: Open Preview" — the preview is blank.
  3. Open any extension webview installed in the remote (e.g. the Claude Code sidebar, anthropic.claude-code 2.1.299) — blank.
  4. Developer Tools → Console: the webview's own resources return 401.

Summary

After updating to 1.141.1, every webview rendered in a WSL remote window is blank. The webview's resources served via vscode-resource.vscode-cdn.net from the remote extension folder fail with HTTP 401. The same webviews render fine in a local (non-remote) window on the same machine, and everything works after downgrading VS Code to 1.140.0 (same distro, same extensions).

Console log (Developer Tools, WSL window)

GET https://vscode-remote+wsl-002bubuntu-002d22.vscode-resource.vscode-cdn.net/home/kgawrys/.vscode-server/extensions/anthropic.claude-code-2.1.299-linux-x64/webview/index.css net::ERR_ABORTED 401 (Unauthorized)
GET https://vscode-remote+wsl-002bubuntu-002d22.vscode-resource.vscode-cdn.net/home/kgawrys/.vscode-server/extensions/anthropic.claude-code-2.1.299-linux-x64/webview/index.js net::ERR_ABORTED 401 (Unauthorized)

(from index.html?...&extensionId=Anthropic.claude-code&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=wsl%2BUbuntu-22&purpose=webviewView)

The remote extension host activates normally (the extension logs Created lock file at /home/kgawrys/.claude/ide/24035.lock and sets CLAUDE_CODE_SSE_PORT); only webview resource loading fails.

Also in the console, possibly unrelated:

webviewElement.ts:426 Unrecognized feature: 'local-network-access'.

What I tried (none helped)

  • Reload Window
  • Killing the remote server (pkill -f .vscode-server/bin) and reconnecting — server re-created at the same commit, still 401
  • Closing VS Code and deleting %APPDATA%\Code\Service Worker\ and %APPDATA%\Code\Cache\
  • Updating the WSL extension to the latest version
  • Opening the same extension webview in a local (non-WSL) window — works
  • Downgrading VS Code to 1.140.0 — works

Expected

Webviews in remote windows load their resources from the remote extension folder, as in 1.140.x.

Activity

  1. quileute commented on Oct 14, 2026

    @quileute

    Hello. I just tried and reinstalled VS Code. Previously, Codex extension could not start. But now it shows its welcome webview. So may be this can help. Claude works just fine on my coworker's laptop, and he's updated yesterday to 1.141.1

  2. Drumstix42 commented on Oct 14, 2026

    @Drumstix42

    Also reproducing this on VSCode 1.141.1, Windows 11 x64, WSL version: 3.0.3.0

    All web views show up empty (Markdown editor, Claude Code extension ) when WSL is connected, and then restore to working when WSL is disconnected. Definitely a WSL issue

    VSCode dev tools console shows:

    GET https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/.../extensions/anthropic.claude-code-2.1.299-linux-x64/webview/index.css net::ERR_ABORTED 401 (Unauthorized)
    GET https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/home/.../extensions/anthropic.claude-code-2.1.299-linux-x64/webview/index.js net::ERR_ABORTED 401 (Unauthorized)
    
  3. added
    bug
    webview
    regression
    on Oct 14, 2026
  4. alexr00 commented on Oct 14, 2026

    @alexr00
    Member

    duplicate of #341396

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

Metadata

Metadata

Labels

WSLbugregressionwebview

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions