WSL icon indicating copy to clipboard operation
WSL copied to clipboard

There are no more endpoints available from the endpoint mapper

Open byhc2 opened this issue 7 years ago • 36 comments

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?

lsxx.zip

byhc2 avatar Aug 12 '19 15:08 byhc2

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.

Drakota avatar Aug 12 '19 15:08 Drakota

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.

Biswa96 avatar Aug 12 '19 17:08 Biswa96

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.

byhc2 avatar Aug 13 '19 15:08 byhc2

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.

byhc2 avatar Aug 13 '19 15:08 byhc2

Hello, I also encountered this problem, the difference is that I installed Ubuntu, can you solve it?

Gu0Yu avatar Aug 22 '19 02:08 Gu0Yu

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 avatar Sep 26 '19 09:09 HZ89

@HZ89 can you send us networking logs for the problem? There are instructions on how to collect them here.

craigloewen-msft avatar Sep 26 '19 17:09 craigloewen-msft

@HZ89 can you send us networking logs for the problem? There are instructions on how to collect them here.

ok, already submitted

HZ89 avatar Sep 27 '19 09:09 HZ89

@hz89 do you have a link handy?

benhillis avatar Sep 27 '19 14:09 benhillis

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!

ghost avatar Nov 03 '19 09:11 ghost

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

mcwilbur avatar Dec 14 '19 19:12 mcwilbur

my group disable ics service for security reason, can wsl 2 do not depend ics service?

okhowang avatar Dec 16 '19 11:12 okhowang

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?

krwu avatar Mar 13 '20 05:03 krwu

I don't think ICS has anything to do with it. I have it ON and still have the same issue. Any suggestions

kashan91 avatar Apr 28 '20 19:04 kashan91

I have the same issue, any update on this?

jcimoch avatar Jul 10 '20 20:07 jcimoch

https://aka.ms/AA8y16o, attached network logs

jcimoch avatar Jul 11 '20 09:07 jcimoch

obraz

jcimoch avatar Jul 11 '20 11:07 jcimoch

I also have this issue.

Daltz333 avatar Jul 16 '20 22:07 Daltz333

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?

lsxx.zip

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.

LOuroboros avatar Sep 21 '20 02:09 LOuroboros

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

gurnec avatar Sep 23 '20 21:09 gurnec