Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL1 works, WSL2 timesout #6627

Closed
Lauren-Buchholz-Moxe opened this issue Mar 4, 2021 · 7 comments
Closed

WSL1 works, WSL2 timesout #6627

Lauren-Buchholz-Moxe opened this issue Mar 4, 2021 · 7 comments
Labels

Comments

@Lauren-Buchholz-Moxe
Copy link

Lauren-Buchholz-Moxe commented Mar 4, 2021

Environment

Windows build number: [run cmd.exe /c ver]
Microsoft Windows [Version 10.0.19043.844]
Your Distribution version: [On Debian or Ubuntu run lsb_release -r in WSL]
20.04, but cannot get into Ubuntu to run this.
Whether the issue is on WSL 2 and/or WSL 1: [run cat /proc/version in WSL]
WSL2 only. machines work fine in WSL1, but I cannot install a WSL2 image or upgrade an existing one.

Steps to reproduce

PS C:\Users\lbuchholz> wsl --list --verbose
  NAME            STATE           VERSION
* Ubuntu-20.04    Running         1
PS C:\Users\lbuchholz> cmd.exe /c ver

Microsoft Windows [Version 10.0.19043.844]
PS C:\Users\lbuchholz> wsl --set-version Ubuntu-20.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
The operation timed out because a response was not received from the virtual machine or container.

WSL logs:
https://aka.ms/AAbdx7q

Expected behavior

WSL2 machine installs from store or WSL2 machine upgrades. Both give the same error about not being able to connect to virtual machine or container.

Actual behavior

sits for 30 seconds, and then gives this error

I have tried completly uninstall the linux subsystem, Ubuntu, Hyper-V, Virt Platform etc.

@therealkenc
Copy link
Collaborator

Thanks for linking logs; appreciated.

WSL2 machine installs from store or

If you set the default version to WSL2 and then install a different distribution name (say Ubuntu vs Ubuntu-20.04) from the Store, does it also timeout? Setting the default version looks like:

PS C:\> wsl.exe --set-default-version 2

Afterwards install the new distro, which (assuming it succeeds) will be WSL2.

@Lauren-Buchholz-Moxe
Copy link
Author

I fresh install gives this error, which I think is the same underlying problem.

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370109
Error: 0x80370109 The operation timed out because a response was not received from the virtual machine or container.

Press any key to continue...

@therealkenc
Copy link
Collaborator

Thanks, getting an error code is good. Capturing that error in WSL logs would be useful if you can. The error code gets a hit on open #5194.

@therealkenc therealkenc added the failure-to-launch failure to launch label Mar 4, 2021
@Lauren-Buchholz-Moxe
Copy link
Author

I'll take a look at 5194, but I did a record of the actual process if that gives you anything useful.

https://aka.ms/AAbdxh0

@Lauren-Buchholz-Moxe
Copy link
Author

Just checking back to see if there is anything else I can do to troubleshoot

@benhillis
Copy link
Member

/dupe #5194

@ghost
Copy link

ghost commented Sep 16, 2021

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost closed this as completed Sep 16, 2021
@ghost ghost added the duplicate label Sep 16, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants