-
Notifications
You must be signed in to change notification settings - Fork 847
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
WSL will not start after recent update due to network error #10895
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please 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. Thank you! Open similar issues:
Closed similar issues:
|
@brettw1234: If the .zip file is too big, you can try to upload it OneDrive / Gdrive |
Ok thanks - didn't know if you guys had issues using an external hosting platform. Here is a link to the logs for my issue. |
Hello, have you resolved this issue? I have also encountered the same problem. |
Nope. I've just disabled networking in order to continue using my WSL2 instances, but I would love to have the issue resolved! |
Just disable all related features other than "Virtual Machine Platform". |
I'm not sure if it this is related, but just a few weeks after reporting this issue the networking on my entire Windows install broke. The Windows DnsClient service refused to start due to an "Access Denied" error, and no amount of debugging got that working. I now have a new Windows install and everything seems to be working again. |
I don't think so, the original problem was that the virtual switch cannot be created, which would not affect the host's network status. And reinstallation will always work for such problems. |
Sorry - I missed this report. This is failng deep in virtual switch. As of the information we have I don't know what is causing the failure :( I would recommend 2 things:
Hope this helps. |
I delete the file .wslconfig in C:\Users{USER_NAME} and WSL back into working state. |
Windows Version
Microsoft Windows [Version 10.0.22621.2792]
WSL Version
WSL version: 2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-1
Distro Version
Ubuntu (unsure of version, cannot start WSL to verify)
Other Software
No response
Repro Steps
This error happens when trying to start WSL. No additional steps are required. I have none of the Hyper-V Windows features enabled, but did confirm that Virtual Machine Platform is enabled.
Expected Behavior
I expect WSL start up without an error.
Actual Behavior
Failed to configure network (networkingMode Nat). To disable networking, set
wsl2.networkingMode=None
in C:\Users\brett.wslconfigError code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/ERROR_UNHANDLED_EXCEPTION
Diagnostic Logs
I have a zip of the networking logs that I collected using the steps here but the file is too large (cap is 25MB and my zip is 27MB). Is there another place I can upload? Or can you share which of the files would be OK to remove? Looks like the largest file in there is
logs.etl
and the next largest ispktmon.etl
.The text was updated successfully, but these errors were encountered: