Skip to content

Markdown preview blank in WSL remote window: webview resources return 401 #341473

Closed as not planned

Description

@tjnz

After updating to VS Code 1.141.1 (commit 7baac39), the Markdown preview is
completely blank in a WSL remote window. The same file previews fine in a local
(non-WSL) window.

Setup: Windows 11, WSL extension 0.104.3, distro Ubuntu-24.04, no Markdown
extensions installed (built-in preview only). Clearing the Service Worker / Cache
folders did not help.

Webview developer tools console:
pre.js:1 Failed to load resource: the server responded with a status of 401 ()
markdown.css:1 Failed to load resource: the server responded with a status of 401 ()
highlight.css:1 Failed to load resource: the server responded with a status of 401 ()
katex.min.css:1 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 Failed to load resource: the server responded with a status of 401 ()

Steps: open a folder in WSL, open any .md file, click "Open Preview".

Activity

  1. changed the title [-]update + wsl broke markdown preview, no valid urls for css[/-] [+]Markdown preview blank in WSL remote window: webview resources return 401[/+] on Oct 14, 2026
  2. haoozhang commented on Oct 14, 2026

    @haoozhang

    Same issue on 1.142.0

  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