There are no more endpoints available from the endpoint mapper
Command line fail when I try to upgrade to wsl2.
-
Windows build number: 10.0.18956.1000
-
What you're doing and what's happening:
wsl --set-version Arch 2 -
What's wrong / what should be happening instead: There are no more endpoints available from the endpoint mapper
NOTE: The arch is from https://github.com/yuk7/ArchWSL And I think the failure is about the ICS service with my computer. The service was disabled by the admin and I can't start it.
If this issue is due to ICS, is there another way to upgrade to wsl2 without starting ICS?
The distribution you're using is not compatible with version 2 of WSL or atleast has issues discussed in the thread. Check this issue #89.
There is no "compatibility" criteria for WSL2. If you have a simple shell and it's dependent libraries (libc) you can run it also. Think WSL as a chroot.
I've tried many Linux distributions. I have a method to use Arch Linux. Try this https://github.com/Biswa96/WSLInstall/blob/master/docs/Install_Distributions.md.
The distribution you're using is not compatible with version 2 of WSL or atleast has issues discussed in the thread. Check this issue #89.
I have tried debian from the store. As long as I choose to install as version 2, it fails.
There is no "compatibility" criteria for WSL2. If you have a simple shell and it's dependent libraries (libc) you can run it also. Think WSL as a chroot.
I've tried many Linux distributions. I have a method to use Arch Linux. Try this https://github.com/Biswa96/WSLInstall/blob/master/docs/Install_Distributions.md.
If I install the linux as wsl1, everything goes OK. The problem occurs when I try to set the distribution as version 2.
Hello, I also encountered this problem, the difference is that I installed Ubuntu, can you solve it?
In my windows evaluation copy build 18980.vb_release.190907-1301 also have this problem, how can i fix it?
PS C:\WINDOWS\system32> wsl -l --all -v
NAME STATE VERSION
* Ubuntu-18.04 Running 1
PS C:\WINDOWS\system32> wsl --set-version Ubuntu-18.04 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
There are no more endpoints available from the endpoint mapper.
PS C:\WINDOWS\system32>
@HZ89 can you send us networking logs for the problem? There are instructions on how to collect them here.
@HZ89 can you send us networking logs for the problem? There are instructions on how to collect them here.
ok, already submitted
@hz89 do you have a link handy?
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. Thank you for your contributions to WSL!
I got the same issue while upgrading Ubuntu to WSL2. Console output :
PS C:\Users\Jonathan> wsl --set-version Ubuntu 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2\n
There are no more endpoints available from the endpoint mapper.
I recorded the issue and submitted it to the Feedback Hub under https://aka.ms/AA6tptp
my group disable ics service for security reason, can wsl 2 do not depend ics service?
my group disable ics service for security reason, can wsl 2 do not depend ics service?
I'm in the same situation. Will WSL 2 work without ICS in the future?
I don't think ICS has anything to do with it. I have it ON and still have the same issue. Any suggestions
I have the same issue, any update on this?
https://aka.ms/AA8y16o, attached network logs

I also have this issue.
Command line fail when I try to upgrade to wsl2.
* Windows build number: 10.0.18956.1000 * What you're doing and what's happening: wsl --set-version Arch 2 * What's wrong / what should be happening instead: There are no more endpoints available from the endpoint mapperNOTE: The arch is from https://github.com/yuk7/ArchWSL And I think the failure is about the ICS service with my computer. The service was disabled by the admin and I can't start it.
If this issue is due to ICS, is there another way to upgrade to wsl2 without starting ICS?
I don't think ICS is causing this problem. I'm also getting the exact same issue ("There are no more endpoints available from the endpoint mapper"), but enabling and starting that service, reopening CMD and using wsl --set-version <distro> 2
didn't solve it on my end.
EDIT: Sorry, it was dumb of me not to provide more information. I have Ubuntu 18.04 installed on my WSL 1. To use WSL2, what I did was essentially following the steps listed in this Microsoft Docs page.
So I enabled the Virtual Machine Platform by using dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart.
Then I proceeded to install the Linux Kernel update package which I downloaded from here.
After that, I opened the Windows command prompt as Administrator, used wsl --set-version Ubuntu-18.04 2, and the result was:
Conversion in progress, this may take a few minutes... For information on key differences with WSL 2 please visit https://aka.ms/wsl2 There are no more endpoints available from the endpoint mapper.
I got a different error prior, but it was caused by me having the Hyper-V related services disabled. I enabled them again and that solved it.
EDIT2 As mentioned by @kashan91 right here, I disabled WSL and the Virtual Machine Platform, restarted my PC, enabled them again, restarted yet again, used wsl --set-default-version 2 and tried to install a clean copy of Ubuntu 18.04, but sadly, I got the exact same error.
I disabled WSL and the Virtual Machine Platform, restarted my PC, enabled them again, restarted yet again, ... I got the exact same error.
@LOuroboros FWIW, I also have Hyper-V installed, and although the above did not work for me, removing those two along with all other Hyper-V components, rebooting and reinstalling, did work for me. (I only needed to reinstall the components, not the Ubuntu instance/store app.)
I'd guess this would include Guarded Host, Microsoft Defender Application Guard, Windows Hypervisor Platform, Windows Sandbox, and maybe Containers too, if any of them are installed.
Of course, proceed at your own risk if you are actively using any of these features lest you lose any config/VMs/containers.
also pinging @xiaods from the other issue in case it helps