-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected WSL error for both Docker Desktop and Linux distribution installing, with wierd error code 0x8007001f #11402
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
Diagnostic information
|
/logs |
Hi!
Thank you for your concern and support.
I ran the script and there was a message ouput by the Powershell prompting to reproduce the action that led to the WSL error.
But I just did nothing and the process also finished.
Anything wrong with my operation?
I am a undergraduae student so just green in the field.
So sorry to interrupt you.Thank you very much!
…------------------ 原始邮件 ------------------
发件人: "microsoft/WSL" ***@***.***>;
发送时间: 2024年4月1日(星期一) 下午4:56
***@***.***>;
抄送: "【 ***@***.******@***.***>;
主题: Re: [microsoft/WSL] Unexpected WSL error for both Docker Desktop and Linux distribution installing, with wierd error code 0x8007001f (Issue #11402)
Hello! Could you please provide more logs to help us better diagnose your issue?
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 scipt will output the path of the log file once done.
Once completed please upload the output files to this Github issue.
Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to ***@***.*** with the number of the github issue in the subject, and in the message a link to your comment in the github issue.
Thank you!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
You probably just pressed an extra key. It will usually wait for a keypress to complete. I'd recommend trying again. /logs |
WSL logs have been uploaded.
and
After the two error messages, I came back to the original PowerShell interface, pressing |
So many thanks for your concern! |
@keith-horton: The root cause of this looks like an HNS error:
Do you know what could cause this ? |
Windows Version
Microsoft Windows [Version: 10.0.22621.3374]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1-2
Distro Version
None(Cannot install)
Other Software
Docker Desktop Windows, Docker version 25.0.3, build 4debf41
Repro Steps
"C:\Program Files\Docker\Docker\resources\com.docker.admin.exe" wsl -update
(I did not install WSL before).wsl -update
, I ranwsl --version
in the Powershell, succeeded to see the installation of WSL but without any distribution installed as expected. See:& "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" gather -upload
in PowerShell is as followsDockerDiagnosis.zip
& "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check
in PowerShell.The screenshot is as followswsl --install
, the Ubuntu was installed by default but after only a while I encountered a fatal error with error code: 0x8007001f. See:The tutorial link is as follows which would be helpful for most of the problems encountering WSL error:
Tutorial
ubuntu-20.04-server-cloudimg-amd64-wsl.rootfs.tar.gz
and tried to import it. We see:The same error code with directly installing distros in the PowerShell through command line, error code: 0x8007001f
Expected Behavior
Installing the distros successfully.
Actual Behavior
Error code: 0x8007001f
Diagnostic Logs
WslNetworkingLogs-2024-04-01_17-49-33.zip
WslLogs-2024-04-02_19-59-24.zip
DockerDiagnosis.zip
The text was updated successfully, but these errors were encountered: