Skip to content

Wsl/InstallDistro/WININET_E_INVALID_SERVER_RESPONSE #42091

Open

Description

@a70799339-a11y

Windows Version

Microsoft Windows [Version 10.0.26100.1742]

WSL Version

3.0.3.0

Are you using WSL 1, WSL 2, or WSLC?

  • WSL 2
  • WSL 1
  • WSLC

Kernel Version

6.18.54.1-1

Distro Version

No response

Other Software

No response

Repro Steps

wsl --install -d Ubuntu
未能从“https://raw.githubusercontent.com/microsoft/WSL/master/distributions/DistributionInfo.json”提取分发列表。服务器返回无效或不可识别的响应
错误代码: Wsl/InstallDistro/WININET_E_INVALID_SERVER_RESPONSE

Expected Behavior

install success or get detail message

Actual Behavior

错误代码: Wsl/InstallDistro/WININET_E_INVALID_SERVER_RESPONSE

Diagnostic Logs

No response

Activity

  1. github-actions commented on Oct 27, 2026

    @github-actions
    Contributor

    Logs are required for review from WSL team

    If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
    Otherwise, please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

    How to collect WSL logs

    Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

    Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
    Set-ExecutionPolicy Bypass -Scope Process -Force
    .\collect-wsl-logs.ps1
    

    The script will output the path of the log file once done.

    If this is a networking issue, please use .\collect-wsl-logs.ps1 -LogProfile networking instead, following the instructions in Collect WSL logs for networking issues

    Once completed please upload the output files to this GitHub issue.

    See Collect WSL logs (recommended method).

    If you choose to email these logs instead of attaching them to the bug, please send them to wsl-gh-logs@microsoft.com with the GitHub issue number in the subject, and include a link to your GitHub issue comment in the message body, and reply with '/emailed-logs'.

  2. chemwolf6922 commented on Oct 28, 2026

    @chemwolf6922
    Contributor

    Hi a70799339-a11y .
    This seems to be a network issue. Please check if you can access https://raw.githubusercontent.com/microsoft/WSL/master/distributions/DistributionInfo.json from the PC you want to install wsl on. If you are using a proxy, please check the raw.githubusercontent.com domain is in the proxy list.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions