You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your Windows build number: Microsoft Windows [Version 10.0.18950.1000]
What you're doing and what's happening:
I try to start WSL2 via wsl ~ -d DistroName
I get A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
I shutdown WSL using wsl --shutdown
I try to start the distro again using wsl ~ -d DistroName
I still get A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
I shutdown WSL again
I install a fresh copy via wsl --import DistroName2 <install-location> <rootfs.tar.gz> --version 2
I try to start WSL in the new install via wsl -d DistroName2
Again, I get A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
This happened after Windows Updated to 18950, (from 18945)
Also, the processes vmwp.exe and vmmem show up in the task manager and do not go away till wsl --shutdown is executed.
What's wrong / what should be happening instead: WSL console should appear.
Same here. My default WSL2 instance and sole WSL1 instance both work fine, but the other WSL2 instances have this problem and I haven't found a cause yet. It doesn't seem to be related to networking config or the new .wslconfig file. I may try rolling back to 18945.
Alright, looks like we may have a bug in init...
here's the messages from the kernel ring buffer (using my one working WSL2 instance to check messages created when trying to launch a non-working instance):
Alright, I just figured this one out...
init fails to create "/bin" because it already exists as a sym-link to "/usr/bin"!!!
So this issue only occurs with a rootfs that is /usr-merged... which includes Kali-linux in the Microsoft Store. Not really sure why init is trying to create a /bin directory anyways, but this is going to need to be fixed by someone at Microsoft since init is closed-source code.
Reacted by kodeclan, Jeremy Simmons, Antoine Cotten and rubyFeedback
The time from us checking in the bug fix to the change being available inside of an Insiders build can vary, and is dependent on many different factors. In general, it's around 3 to 6 weeks.
Now that the problem has been identified, is it possible to share a workaround. This build is completely unusable with this. I've downgraded, but Windows update keeps trying to reupgrade me. I was hoping that it would get fixed in this week's patch, but since it sounds like that won't be happening, do you have any suggestions?
Reacted by jugg3rn4ut, Arley Henostroza, Daryl Walleck, ryuyb and Alistair Young
I just updated to 19555.1001 and am getting this with a WSL 2 Debian 10 installation:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Prior to the update the WSL 2 environment worked fine. I have tried the suggestions in this issue to no effect.
Reacted by Umachandar Jayachandran, Antonis Kalipetis, Adis Durakovic, Antoine Webanck, Rodrigo Scomação do Nascimento, Brian, Victor Villas, Matthew Olenik, mrborek and Ethan Moffat
Same here... 19555 broke WSL2. However, I don't believe it's the same issue as before... where /usr-merged distros failed to create /bin due to existing sym-link. Even non-/usr-merged distros fail to connect with WSL2, and therefore I haven't found a way inside yet, to be able to print the kernel ring buffer messages.
Activity
xtremeperf commentedon Aug 3, 2019
Same here. My default WSL2 instance and sole WSL1 instance both work fine, but the other WSL2 instances have this problem and I haven't found a cause yet. It doesn't seem to be related to networking config or the new .wslconfig file. I may try rolling back to 18945.
xtremeperf commentedon Aug 3, 2019
Alright, looks like we may have a bug in init...
here's the messages from the kernel ring buffer (using my one working WSL2 instance to check messages created when trying to launch a non-working instance):
xtremeperf commentedon Aug 3, 2019
Alright, I just figured this one out...
init fails to create "/bin" because it already exists as a sym-link to "/usr/bin"!!!
So this issue only occurs with a rootfs that is /usr-merged... which includes Kali-linux in the Microsoft Store. Not really sure why init is trying to create a /bin directory anyways, but this is going to need to be fixed by someone at Microsoft since init is closed-source code.
benhillis commentedon Aug 3, 2019
This has been fixed and will be in an Insider build soon.
kodeclan commentedon Aug 4, 2019
Glad to know I'm not the only one having this issue. I've reverted to Windows 18945 for the time being.
jugg3rn4ut commentedon Aug 5, 2019
Hi, any idea when the Insider build will be released please ?
craigloewen-msft commentedon Aug 7, 2019
The time from us checking in the bug fix to the change being available inside of an Insiders build can vary, and is dependent on many different factors. In general, it's around 3 to 6 weeks.
jugg3rn4ut commentedon Aug 7, 2019
Hi @mscraigloewen, thanks for the answer. Keep up the good :)
Chakratos commentedon Aug 7, 2019
Could you tell me how you downgraded? Can't wait the 3-6 Weeks and would love to use WSL2 :)
RedBeard0531 commentedon Aug 7, 2019
Now that the problem has been identified, is it possible to share a workaround. This build is completely unusable with this. I've downgraded, but Windows update keeps trying to reupgrade me. I was hoping that it would get fixed in this week's patch, but since it sounds like that won't be happening, do you have any suggestions?
buwailee commentedon Aug 8, 2019
Same here on build 18956.
jdamian commentedon Aug 8, 2019
It is possible to convert it to wsl 1 to keep it running
27 remaining items
JustShinobi commentedon Aug 30, 2019
still not fixed for me on 18970
bytemain commentedon Aug 30, 2019
Can confirm fixed in 18970.
merkuriy commentedon Aug 30, 2019
I had version 18965.1000, and the method suggested by chadrien worked fine for me.
Later I will try to work without manual fixes on version 18970.
anaisbetts commentedon Sep 4, 2019
Fixed as well for me with Arch Linux on 18970
kodeclan commentedon Sep 8, 2019
Tested on 18970, this seems to have been fixed.
MostHated commentedon Jan 24, 2020
Hello, I am having this issue.
onomatopellan commentedon Jan 24, 2020
MostHated That looks like #4105 (comment)
lukebakken commentedon Jan 31, 2020
I just updated to
19555.1001and am getting this with a WSL 2 Debian 10 installation:Prior to the update the WSL 2 environment worked fine. I have tried the suggestions in this issue to no effect.
w9jds commentedon Jan 31, 2020
It looks like this issue is back in 19555 released today. I have opened a feedback ticket with some telemetry if you need it here: https://aka.ms/AA75u9m
Two releases ago localhost didn't work, the previous release fixed that and seemed to work just fine.
xtremeperf commentedon Jan 31, 2020
Same here... 19555 broke WSL2. However, I don't believe it's the same issue as before... where /usr-merged distros failed to create /bin due to existing sym-link. Even non-/usr-merged distros fail to connect with WSL2, and therefore I haven't found a way inside yet, to be able to print the kernel ring buffer messages.
benhillis commentedon Jan 31, 2020
Yes this is a new issue, please start a new GitHub thread.