Skip to content

Extension webviews in WSL remote window fail to load their resources (401) after updating to 1.141.1 #341431

Closed as not planned

Description

Type: Bug

Since updating VS Code to 1.141.1 (commit 7baac39), the Claude Code extension's panel is blank in a WSL remote window: no buttons, no content. It worked immediately before the update.

Environment

  • Windows client, remote: WSL Ubuntu 24.04 (wsl+Ubuntu)
  • Claude Code for VS Code 2.1.296 (linux-x64), installed on the WSL side

Steps

  1. Open a folder in a WSL remote window.
  2. Open the Claude Code panel in the sidebar.

Expected: the panel loads its UI.
Actual: the panel stays blank. Developer Tools shows the webview's own script and stylesheet rejected with 401:

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

Both files exist on disk. The extension sets localResourceRoots to <extensionUri>/webview and <extensionUri>/resources, so they fall inside the allowed roots. The 401 matches the access-denied branch of the webview's local-resource loader.

Where it works and where it doesn't

  • Works: the same extension in a local Windows window.
  • Works: the same extension in a Dev Container window.
  • Fails: WSL remote window only.

Already tried, no change

  • Full system reboot
  • Several older versions of the extension
  • Clearing %APPDATA%\Code\ Service Worker, Cache, CachedData, GPUCache
  • Rolling back to VS Code 1.140.0: fixes it (see update below)

The extension host log shows the extension activating normally and finding its saved login, so the failure is limited to the panel loading its files.

VS Code version: Code 1.141.1 (7baac39, 2026-10-12T12:00:06-07:00)
OS version: Windows_NT x64 10.0.26200
Modes:
Remote OS version: Linux x64 6.6.87.2-microsoft-standard-WSL2

Update: confirmed regression in 1.141.1

Rolling the client back to 1.140.0 (commit 07f806f) fixes it with no other changes. The WSL server updated to the matching build on reconnect, and the Claude Code panel loads normally. Same extension version (2.1.296), same machine and WSL distro.

  • 1.140.0 (07f806f): works
  • 1.141.1 (7baac39): panel blank, webview resources return 401
System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13800H (20 x 2918)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x27ba [NVIDIA RTX 4000 Ada Generation Laptop GPU], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.9658 ACTIVE
GPU1: VENDOR= 0x8086, DEVICE=0xa7a0 [Intel(R) Iris(R) Xe Graphics], DRIVER_VERSION=32.0.101.7085
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.66GB (37.32GB free)
Process Argv --folder-uri=vscode-remote://wsl+Ubuntu/home/andre/repos/korecam2 --remote=wsl+Ubuntu --crash-reporter-id 9146fc31-735e-4bab-bb0d-679661d2d91a
Screen Reader no
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 6.6.87.2-microsoft-standard-WSL2
CPUs 13th Gen Intel(R) Core(TM) i7-13800H (20 x 0)
Memory (System) 31.18GB (27.90GB free)
VM 0%
Extensions (27)
Name Identifier Author Version
Continue - open-source AI code agent continue.continue Continue 2.0.0
GitHub Repositories github.remotehub GitHub 0.65.0
Draw.io Integration hediet.vscode-drawio hediet 1.17.0
Python Indent kevinrose.vsc-python-indent KevinRose 1.21.0
Jupyter Keymap ms-toolsai.jupyter-keymap ms-toolsai 1.1.2
Dev Containers ms-vscode-remote.remote-containers ms-vscode-remote 0.469.0
Remote - SSH ms-vscode-remote.remote-ssh ms-vscode-remote 0.128.0
Remote - SSH: Editing Configuration Files ms-vscode-remote.remote-ssh-edit ms-vscode-remote 0.87.0
WSL ms-vscode-remote.remote-wsl ms-vscode-remote 0.104.3
Azure Repos ms-vscode.azure-repos ms-vscode 0.40.0
Remote Explorer ms-vscode.remote-explorer ms-vscode 0.5.0
Remote Repositories ms-vscode.remote-repositories ms-vscode 0.42.0
Serial Monitor ms-vscode.vscode-serial-monitor ms-vscode 0.13.1
Jinja wholroyd.jinja wholroyd 0.0.10
Claude Code for VS Code anthropic.claude-code Anthropic 2.1.296
Django batisteo.vscode-django batisteo 1.15.0
Python Environment Manager (deprecated) donjayamanne.python-environment-manager donjayamanne 1.2.7
Python Extension Pack donjayamanne.python-extension-pack donjayamanne 1.7.0
GitHub Pull Requests github.vscode-pull-request-github GitHub 0.168.0
Python Indent kevinrose.vsc-python-indent KevinRose 1.21.0
Rainbow CSV mechatroner.rainbow-csv mechatroner 3.24.1
Python Debugger ms-python.debugpy ms-python 2026.6.0
Python ms-python.python ms-python 2026.8.0
Pylance ms-python.vscode-pylance ms-python 2026.4.1
Python Environments ms-python.vscode-python-envs ms-python 1.38.0
autoDocstring - Python Docstring Generator njpwerner.autodocstring njpwerner 0.6.1
Jinja wholroyd.jinja wholroyd 0.0.10
A/B Experiments
vsliv368:30146709
vswsl492cf:30256860
pythonvspyt551cf:31249601
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
pandia-25-modelchange:31597765
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
2d1bi976:31596492
i2gc6536:31499202
52612955:31516516
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
608b4df9:31595861
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
0c1h4866:31566224
session-mark-done:31591648
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-treatment:31572634
atk_rai_validation_enable:31598258
allow-signed-out:31592042
b17abb00-cfec-4134-90da-ee5e32ce4426:31589248
intellij_nes_preview_t:31580086
multiv2:31574985
links-treatment:31596176
aw-autom-on:31583758
issue9151-8b8b39eb:31597539
revealsession_treatment_7ed7e840:31597558
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-editor:31596219
skill-budget-30000:31597277
0485115c-2712-4002-b6e9-b5d4e30fb963:31595629
sessioninlinediffenabled_disabled:31587634
intellij_copilot_command_preview_t:31598259
welcomesignin9359t:31590011
e6882f69-f5cc-4f90-9073-69a4ca3e50ea:31589215
ca19f5eb-b04f-4f52-8e6b-9f6927d4e0dc:31589210
5a177259:31599157
i67i8290:31599156
edbgf432:31599155
msft-auth-on:31593345
permission_prompt_control:1332567
ccr_pr_nudge_auto_review:1319472
vsc_wsm_t:1340632
1g5a5742:1379227
jc553158:1433349
cmc_aa_t:1435711
plus-and-new:1454857
c_ws_f8jhi663:1455089
seataa-998bffad:1447867

Metadata

Metadata

Labels

WSLbugregressionwebview

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions