WSL2-Error: A connection attempt failed on Windows 19555.1001
After updating to Windows 19555 I get the following error, when starting WSL:
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.
PS C:\Users\add> wsl -l
Windows Subsystem for Linux Distributions:
Ubuntu-19.10 (Default)
docker-desktop
docker-desktop-data
PS C:\Users\add> wsl -d Ubuntu-19.10
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.
PS C:\Users\add> wsl -d docker-desktop
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.
PS C:\Users\add>
Update
I wanted to try this workaround on a fresh Alpine, https://github.com/microsoft/WSL/issues/4371#issuecomment-521107556 but neither /bin nor /sbin were symlinks.
Same problem here. All the WSL1 instances are working.
i got this bug, i am using ubuntu 18.04 distro and i cant seem to start wsl2 instance
Hi,
+1, VSCode can't established connection.
- VSCode Version: 1.42.0-insiders or stable 1.41.1
- Local OS Version: Microsoft Windows [Version 10.0.19555.1001]
- Remote OS Version: Ubuntu 18.04
- Remote Extension/Connection Type: WSL
- WSL Version: 2
Hi,
For me, uninstalled / re-install openssh-server on the linux host fix the connection issue.
cf. https://docs.microsoft.com/fr-fr/windows/wsl/troubleshooting
Thanks, we are debugging this internally - trying to figure out why only some users are hitting this.
i was hitting the same issue with my v2 distro then i successfully converted it back to v1. I can now access the distro. Took about an hour to convert down but at least it's a viable workaround until the issue is resolved.
PS C:\Users\brian> wsl --list -v NAME STATE VERSION
- Ubuntu-18.04 Stopped 2 PS C:\Users\brian> wsl --set-version Ubuntu-18.04 1 PS C:\Users\brian> wsl --list -v NAME STATE VERSION
- Ubuntu-18.04 Running 1 PS C:\Users\brian>wsl brian@brian_pc:~$
i was hitting the same issue with my v2 distro then i successfully converted it back to v1. I can now access the distro. Took about an hour to convert down but at least it's a viable workaround until the issue is resolved.
PS C:\Users\brian> wsl --list -v NAME STATE VERSION
- Ubuntu-18.04 Stopped 2 PS C:\Users\brian> wsl --set-version Ubuntu-18.04 1 PS C:\Users\brian> wsl --list -v NAME STATE VERSION
- Ubuntu-18.04 Running 1 PS C:\Users\brian>wsl brian@brian_pc:~$
Sorry, but this is absolutely no workaround. There are obvious reasons why we use v2 and not v1.
i was hitting the same issue with my v2 distro then i successfully converted it back to v1. I can now access the distro. Took about an hour to convert down but at least it's a viable workaround until the issue is resolved. PS C:\Users\brian> wsl --list -v NAME STATE VERSION
- Ubuntu-18.04 Stopped 2 PS C:\Users\brian> wsl --set-version Ubuntu-18.04 1 PS C:\Users\brian> wsl --list -v NAME STATE VERSION
- Ubuntu-18.04 Running 1 PS C:\Users\brian>wsl brian@brian_pc:~$
Sorry, but this is absolutely no workaround. There are obvious reasons why we use v2 and not v1.
I'm not sure why the down vote on my comment. I should made myself clear in that post I'm speaking for myself and not in any official capacity from Microsoft. I was trying to be helpful to the community to folks who need to have their wsl distros up and functional.
v2 is vastly better than v1. We all love v2 but if it's a matter between up but limping along versus being down then I'll take being up while the issue is being worked on.
Thanks, we are debugging this internally - trying to figure out why only some users are hitting this.
There's really some strategic solution needed here regarding Windows 10 Updates and especially WSL.
What I mean is, yes, we opted for the Fast Ring and we know what risks we are taking as Beta-Testers. But WSL2 has become a crucial part of our work environment. Iin fact, so crucial, that we do rely more on a stable working WSL than we do on a stable Windows itself. We spend more time in WSL, Terminal and VSCode than we do with Explorer or [insert any other fancy-shmency Windows feature here].
So please, for the sake of our work and time, can you guys at MS be more careful with such updates. We really love WSL, and are looking forward to all the new features you're going to provide us with. And most importantly, we are truly thankful for that.🤘
i was hitting the same issue with my v2 distro then i successfully converted it back to v1. I can now access the distro. Took about an hour to convert down but at least it's a viable workaround until the issue is resolved. PS C:\Users\brian> wsl --list -v NAME STATE VERSION
- Ubuntu-18.04 Stopped 2 PS C:\Users\brian> wsl --set-version Ubuntu-18.04 1 PS C:\Users\brian> wsl --list -v NAME STATE VERSION
- Ubuntu-18.04 Running 1 PS C:\Users\brian>wsl brian@brian_pc:~$
Sorry, but this is absolutely no workaround. There are obvious reasons why we use v2 and not v1.
I'm not sure why the down vote on my comment. I should made myself clear in that post I'm speaking for myself and not in any official capacity from Microsoft. I was trying to be helpful to the community to folks who need to have their wsl distros up and functional.
v2 is vastly better than v1. We all love v2 but if it's a matter between up but limping along versus being down then I'll take being up while the issue is being worked on.
Since the title already says "WSL2-Error..." there's really no need to suggest a workaround for converting to v1.
It's not about which one is better. There are features that v1 can do but v2 can't, and vice versa. Depending on these features and based on our needs, we have distros running as v1 or v2, simultaneously.
For folks who can get into their WSL 2 shell on 19555, but are experiencing the "VS Code Remote - WSL" problem mentioned above (looks like screencap), you can work-around by using "VS Code Remote SSH".

quick questions: do you use a custom kernel? what does your .wslconfig looks like? your distro 19-10 is custom tight? do you face the same issue with a store one?
I know the team is debugging, but I got some time this error when playing around with the kernel 🤔
quick questions: do you use a custom kernel? what does your .wslconfig looks like? your distro 19-10 is custom tight? do you face the same issue with a store one?
I know the team is debugging, but I got some time this error when playing around with the kernel
I've already reverted Windows back to the previous version. It's the official WSL-Ubuntu downloaded from the Ubuntu-Website, nothing custom and also no custom kernel here.
I updated to Windows 10 Pro Insider Preview 19555.rs_prerelease.200127-0900 this morning. I first noticed the above issues with WSL when opening VSCode after the update (same problem with VSCode x64 v1.41.0 and 1.41.1 and I also did update its Remote - WSL extension to 0.41.7).
I have nothing of importance in my WSL so upon experiencing these symptoms (and trying the SSL-related fix mentioned above which did not help), I figured I'd get rid of the Ubuntu 18.04 LTS distro I have installed and have a fresh go at it.
Upon opening the WSL window to finish the installation, I get this:

In case I didn't paste that in right, the upshot is the new installation prompts for a new default user account, as expected. I created one ("ubuntu") and it said the password was updated successfully, but then it came back with a connection attempt failure, which looks a lot like the same problem in my previously-working setup even though that error was within VSCode's terminal window and this one is in the WSL command window: "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."
As you can see in the screenshot, I thought I'd try a different name just in case, but the same error came up and came back to another new UNIX username prompt.
In case it matters, after I updated Win10, I also installed (for the first time) the new cross-platform Powershell (6.2.4 x64). It was then I discovered VSCode couldn't open WSL.
Similar message for me. I upgraded to build 19555 and now WSL 2 is totally dead:
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.
Interestingly, the icon on my taskbar that launches Ubuntu is also wrong now. It used to be a little picture of a command prompt, but now it's a white blank page. That shortcut does still open Terminal, but with the error above. From that window I can still open powershell fine, just not Ubuntu.
Not to be too dramatic, but I depend on this to do my work all day long, so this is very much impacting me.
@kobenauf - The roll back feature works very well and is actually quite quick.
We were able to debug what the issue is here and are pushing the fix. This issue triggers if you have a somewhat a long %PATH%, so one potential workaround (until a new build comes out with the fix) would be to do some "spring cleaning" on your %PATH% variable to make it shorter.
We were able to debug what the issue is here and are pushing the fix. This issue triggers if you have a somewhat a long %PATH%, so one potential workaround (until a new build comes out with the fix) would be to do some "spring cleaning" on your %PATH% variable to make it shorter.
By %PATH% variable you mean the user defined one within Windows?
@ad-on-is - Correct.
@benhillis thanks for saying that about rolling back. I've never actually done that on Win10 and was afraid it would corrupt my system. (That happened to many, many, ... many years ago.) And you're right, it was pretty quick and it fixed the problem. Thanks!