-
Notifications
You must be signed in to change notification settings - Fork 840
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
WSL2 fails to start with HCS_E_CONNECTION_TIMEOUT after KB5043145 is installed #12087
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging 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! Closed similar issues:
|
Same issue. The KB is breaking WSL, which breaks other critical applications that rely on WSL, like Docker. (docker/for-win#14336) |
Same issue here 🫨🫨 |
Thank you @andymeadows. Unfortunately we need /logs to be able to root cause the issue. If either you or someone else could share logs, that would be very helpful to help us resolve this issue |
@OneBlue just added error logs |
I have upgraded to WSL 2.3.24, but the issue is still there. In both ETL files, the same error appear when the VM is being initialized
Here are the logs with the newest WSL version, just in case. |
Thank you @manuelhc621. Looking at the logs, it looks like something gets stuck on the VM boot path, but it's unclear what exactly at this point. To help us figure that out, could you:
|
Also @manuelhc621, could you also write:
In And share /logs of a repro again ? This should give us more details |
Also, what's your hardware configuration ? (CPU, GPU, Memory, etc) |
Another thing that would be super useful would be a kernel dump. To capture one, can you please:
|
Sorry @OneBlue I reverted the update before reading your messages and WSL is back and I can not apply it again, at least I do not know how. Here is my system info, hope it helps. If I ran into the issue again will update this ticket |
just got the same issue, any solution? |
Seems uninstalling KB5043145 is a workaround for now. At least it worked for me. |
Yeah I also confirm that uninstalling this update fixed the issue |
yes, it worked for me too! thanks @MartinSGill |
confirm that uninstalling worked for me too! |
Same issue here. Uninstalling the update solved it. Hopefully this gets resolved. I don´t know if this is relevant. I have an AMD Ryzen CPU, a college of mine has an Intel CPU an wasn't affected by the update. |
i also have a laptop with an AMD CPU. I have read on reddit that mostly the amd cpus were affected. |
Just to confirm as well, the PC with the problem was also running an AMD CPU. I have another laptop with an intel chip and the KB installed and it's not exhibiting this issue. |
My Ryzen 7 6800H is affected too, uninstalled the KB5043145, now it works. |
Thank you @manuelhc621. Unfortunately I don't have access to a live repro of this issue at the moment so I'd still need a kernel dump to understand what's stuck here. If anyone can reproduces this issue, please:
For this to work, the dump must be captured while WSL is in that "hung" state (once the error is displayed, you need to start wsl.exe again) |
Is it a new WSL update or the KB5043145 altered? |
I don't see any new WSL release. The update is asking me to download, since I uninstalled. I paused the updates, but with this I am worried it doesn't work. I am going to wait until the end of the week to try. |
I didn't update wsl2. KB5043145 got reinstalled (I previously uninstalled it) inadvertently when I restarted the machine. But this time WSL runs. |
Can someone send any documentation for reference that this issue has been addressed properly? |
Can confirm WSL is working for me now after installing the update again! Haven´t found anything official related to WSL issues being fixed by the update. Here they acknowledge there are issues, no mention of WSL thought, but they say to have mitigated them. Anyway. I am good for now! |
I've sent the dump to secure@, CRM:0305058140 Uninstall of KB5043145 fixes wsl but brakes explorer ("can't open start menu, reboot"); re-installation of KB fixes explorer but breaks wsl :( |
I installed again the KB5043145 and the issue somehow fixed. Maybe an uninstall of the update and reinstall of it fixed? Hm. Strange. |
the issue happens on my system, Uninstall KB5043145 WSL works but the search bar doesn't work completely |
|
is this with the new KB5043145? After I uninstalled it, it didn't pop back until a few days later when I saw that they apparently changed it but I didn't have the patience for another f-up so I have not installed it yet. |
I updated wsl to the newest version, then uninstalled and reinstalled KB5043145 and now it seems everything is working correctly(docker and also the search bar), it was annoying and took a morning to fix. |
there is no "new" update with same number as far as I know. but i see there is a fresh KB5044285 -- it fixed wsl issue. now both wsl and start menu is working again. |
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue. Thank you! |
Windows Version
10.0.22631.4169
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-microsoft-standard-WSL2
Distro Version
22.04
Other Software
WSL fails to start, so any and all applications that need WSL -- docker, remote containers, etc. -- all fail.
Repro Steps
With the above versions installed:
Expected Behavior
Expecting WSL2 container to launch and present a shell prompt.
Actual Behavior
The terminal window will hang and will eventually present an HCS_E_CONNECTION_TIMEOUT error. Error code: wsl/service/createinstance/createvm/hcs_e_connection_timeout
Diagnostic Logs
I do not have access to the logs as it was critical to revert the patch to get work completed.
The text was updated successfully, but these errors were encountered: