Skip to content

WSL webview resources return 401 due to remoteAuthority case mismatch #341458

Closed as not planned

Description

@GuixingJia

Type: Bug

Environment:

  • VS Code: 1.141.1 Stable
  • Commit: 7baac39
  • Host: Windows x64
  • Remote: WSL2, Ubuntu 24.04.4 LTS
  • WSL extension: 0.104.3
  • Affected extension: openai.chatgpt
  • Reproduced with extension versions 26.1007.21434,
    26.1002.51308 and 26.930.31730

Steps to reproduce:

  1. Open a Linux project using Remote-WSL, with the window
    remoteAuthority set to wsl+Ubuntu.
  2. Open the Codex sidebar.
  3. Inspect Developer Tools → Network.

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

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i5-12500H (16 x 3110)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x46a6 [Intel(R) Iris(R) Xe Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=31.0.101.4502 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x25e2 [NVIDIA GeForce RTX 3050 Laptop GPU], DRIVER_VERSION=32.0.16.1742
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9549
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) 31.73GB (13.65GB free)
Process Argv --folder-uri=vscode-remote://wsl+Ubuntu/home/jake24/projects/useless-subtitle --remote=wsl+Ubuntu --crash-reporter-id 30ffd205-9569-486f-85a0-65c4a51e8dd2
Screen Reader yes
VM 0%
Item Value
Remote WSL: Ubuntu
OS Linux x64 6.18.54.1-microsoft-standard-WSL2
CPUs 12th Gen Intel(R) Core(TM) i5-12500H (16 x 0)
Memory (System) 9.71GB (5.75GB free)
VM 0%
Extensions (31)
Name Identifier Author Version
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
Remote Development ms-vscode-remote.vscode-remote-extensionpack ms-vscode-remote 0.26.0
Remote Explorer ms-vscode.remote-explorer ms-vscode 0.5.0
Remote - Tunnels ms-vscode.remote-server ms-vscode 1.5.4
Codex Audio openai.codex-audio openai 26.1007.21434
Prolog rebornix.prolog rebornix 0.0.4
vscode-pdf tomoki1207.pdf tomoki1207 1.2.2
markdownlint davidanson.vscode-markdownlint DavidAnson 0.62.1
Container Tools ms-azuretools.vscode-containers ms-azuretools 2.5.2
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
Codex – OpenAI’s coding agent openai.chatgpt openai 26.930.31730
Language Support for Java(TM) by Red Hat redhat.java redhat 1.57.0
rust-analyzer rust-lang.rust-analyzer rust-lang 0.3.3081
opencode sst-dev.opencode sst-dev 0.0.13
Tauri tauri-apps.tauri-vscode tauri-apps 0.2.9
GitHub Copilot modernization vscjava.migrate-java-to-azure vscjava 1.24.0
Gradle for Java vscjava.vscode-gradle vscjava 3.18.0
Debugger for Java vscjava.vscode-java-debug vscjava 0.59.0
Project Manager for Java vscjava.vscode-java-dependency vscjava 0.27.6
Extension Pack for Java vscjava.vscode-java-pack vscjava 0.31.1
Test Runner for Java vscjava.vscode-java-test vscjava 0.46.0
Maven for Java vscjava.vscode-maven vscjava 0.46.0
Vue (Official) vue.volar Vue 3.3.13
Markdown All in One yzhang.markdown-all-in-one yzhang 3.6.3
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
46204921:31447328
control_6dc23131:31590236
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
2d1bi976:31596492
i2gc6536:31499202
52612955:31516516
ec1eg703:31520046
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
608b4df9:31595861
logging_enabled_new:31498466
j0d79568:31499440
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
9gg7f176:31542112
nes-ex-cf-euporie-03:31542868
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
nemo-v2:31565334
0c1h4866:31566224
session-mark-done:31591648
plus-and-new:31594157
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-treatment:31572634
atk_rai_validation_enable:31598258
allow-signed-out:31592042
80db41fc-e686-49f5-b9db-830fbb843f14:31589249
intellij_nes_preview_t:31580086
39a5d156:31574986
links-treatment:31596176
aw-autom-on:31583758
issue9151-8b8b39eb:31597539
revealsession_control_7ed7e840:31597557
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-editor:31596219
6gcf5475:31588612
skill-budget-30000:31597277
0485115c-2712-4002-b6e9-b5d4e30fb963:31595629
sessioninlinediffenabled_disabled:31587634
intellij_copilot_command_preview_c:31598260
welcomesignin9359c:31590009
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_adoption:1319471
vsc_wsm_t:1340632
1g5a5742:1379227
jc553158:1433349
cmc_aa_c:1435710
t_ws_f7ce1948:1455090
seataa-a98d0257:1447868

Metadata

Metadata

Labels

WSLbugregressionwebview

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions