Skip to content

There are no more endpoints available from the endpoint mapper #4403

Closed

Description

@byhc2

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

Activity

  1. Drakota commented on Aug 12, 2019

    @Drakota

    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.

  2. Biswa96 commented on Aug 12, 2019

    @Biswa96

    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.

  3. byhc2 commented on Aug 13, 2019

    @byhc2
    Author

    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.

  4. byhc2 commented on Aug 13, 2019

    @byhc2
    Author

    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.

  5. Gu0Yu commented on Aug 22, 2019

    @Gu0Yu

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

  6. HZ89 commented on Sep 26, 2019

    @HZ89

    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>
  7. craigloewen-msft commented on Sep 26, 2019

    @craigloewen-msft
    Member

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

  8. HZ89 commented on Sep 27, 2019

    @HZ89

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

    ok, already submitted

  9. benhillis commented on Sep 27, 2019

    @benhillis
    Member

    HarrisonZhu (@HZ89) do you have a link handy?

  10. 18 remaining items

  11. xiaods commented on Feb 7, 2021

    @xiaods

    I have the same issue, any update on this?

  12. VPraharsha03 commented on Apr 9, 2021

    @VPraharsha03

    LOuroboros

    I don't think ICS is causing this problem. I'm also getting the exact same issue

    But in my case, this problem started after i deleted ICS along with this issue (#5821)
    Even restoring the service couldn't resolve the issue. I even re-installed WSL and VMP

    My DNS server is listening on port 53, so to keep the ICS disabled i tried deleting the triggers for HNS and this was the first time i'd encountered this and could resolve by restoring those triggers. Now the problem isn't being resolved.

  13. slaadvak commented on May 4, 2021

    @slaadvak

    I also have this issue. Windows 1903 with Ubuntu 20.04.

  14. therealkenc commented on May 5, 2021

    @therealkenc

    Anyone still experiencing this problem please post the output of cmd.exe /c ver. It is unclear if this was #5821, which is better in 20231+.

  15. benhillis commented on May 5, 2021

    @benhillis
    Member

    Agreed, I haven't seen this error anymore. I think something was fixed in the networking stack.

  16. RobRoseKnows commented on Jun 2, 2021

    @RobRoseKnows

    I'm getting this on a previous working WSL2 instance once my machine updated to insider build 21387. I was previously having network issues with that build, but unplugging and replugging my wifi dongle seemed to fix them. I'm wondering if that's related?

  17. cjatoba commented on Jul 10, 2021

    @cjatoba

    For me it works again when enabling Windows Defender Firewall on Windows services

  18. LOuroboros commented on Aug 12, 2021

    @LOuroboros

    After about a year since I first installed Windows 10, I decided to format my PC today.
    Miraculously, I got WSL2 working normally after following the steps written in the article at Microsoft Docs.
    cmd_413

  19. livein21st commented on Nov 22, 2022

    @livein21st

    LOuroboros Which steps did you followed? can you paste the link here? Thanks!

  20. LOuroboros commented on Nov 22, 2022

    @LOuroboros

    LOuroboros Which steps did you followed? can you paste the link here? Thanks!

    https://learn.microsoft.com/en-us/windows/wsl/install-manual

  21. theoparis commented on Dec 27, 2023

    @theoparis

    LOuroboros Which steps did you followed? can you paste the link here? Thanks!

    https://learn.microsoft.com/en-us/windows/wsl/install-manual

    I am having the exact same error with windows 11 with those steps ;(
    Until WSL decides to work I have no other option but to use a Linux machine remotely

  22. eoffermann commented on Feb 21, 2024

    @eoffermann

    After struggling with this off and on for months on different machines, I found that the following sequence seems to work for me:

    wsl --set-default-version 1
    wsl --install DISTRIBUTION
    Enter userid and desired password when asked
    

    Then in a new shell after that's done:

    wsl --set-default-version 2
    

    Basically, installs seem to fail frequently in wsl 2 but if you switch back to default version 1, install, then switch to version 2 it seems to work.

  23. OneBlue commented on May 14, 2024

    @OneBlue
    Collaborator

    This issue should be fixed on the latest Windows 10/11. Feel free to reopen if that's not the case though

  24. theoparis commented on Oct 26, 2024

    @theoparis

    @LOuroboros Which steps did you followed? can you paste the link here? Thanks!

    https://learn.microsoft.com/en-us/windows/wsl/install-manual

    I am having the exact same error with windows 11 with those steps ;( Until WSL decides to work I have no other option but to use a Linux machine remotely

    It turns out a powershell script I ran to "debloat" windows had disabled the Windows Defender Firewall. I had to generate a new script to revert this option. I do wish the error message said that it needed the firewall service instead though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions