Skip to content

Localhost port forwarding bug reappeared #9947

Closed
@nidrissi

Description

@nidrissi

Windows Version

Microsoft Windows [version 10.0.22624.1546]

WSL Version

1.2.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

openSUSE Tumbleweed

Other Software

  • Visual Studio Code v1.77.1
    • WSL remote extension v0.77.0
    • LaTeX-Workshop v9.8.2

Repro Steps

In the VSCode LaTeX-Worskhop extension, open the PDF viewer.

Expected Behavior

The PDF should appear in a VSCode webview.

Actual Behavior

The tab stays blank. Opening the viewer's URL manually in Edge gives a "connection refused" error. See James-Yu/LaTeX-Workshop#3833 for someone with the same issue.

The issue had appeared in WSL 1.1 (see James-Yu/LaTeX-Workshop#3668) and was then fixed in v1.1.3 (see #9508). It seems that the faulty behavior was re-introduced in WSL 1.2.0.

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions