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

Error: wsl.exe exited with code 4294967295 #4625

Open
AL1071186 opened this issue May 8, 2023 · 6 comments
Open

Error: wsl.exe exited with code 4294967295 #4625

AL1071186 opened this issue May 8, 2023 · 6 comments
Labels
kind/bug Something isn't working platform/windows

Comments

@AL1071186
Copy link

Unable to build the kuebernets.
throwing error :
image

logs:
2023-05-08T11:11:38.228Z: Registered distributions: Ubuntu,docker-desktop-data,docker-desktop
2023-05-08T11:11:40.441Z: Registered distributions: Ubuntu,docker-desktop-data,docker-desktop
2023-05-08T11:11:41.145Z: WSL failed to execute wsl.exe --import rancher-desktop C:\Users\2136193\AppData\Local\rancher-desktop\distro C:\Users\2136193\AppData\Local\Programs\Rancher Desktop\resources\resources\win32\distro-0.34.tar --version 2: Error: wsl.exe exited with code 4294967295

Rancher Desktop version - 1.8.1
Options tried:

  1. Update WSL in command prompt
@gunamata gunamata added kind/bug Something isn't working platform/windows labels May 8, 2023
@gunamata
Copy link
Contributor

gunamata commented May 8, 2023

Can you try running rdctl factory-reset and try launching Rancher Desktop again? If you run into the error again, Do you mind sharing the logs here? You can find the logs at %USERPROFILE%//AppData/Local/rancher-desktop/logs

@AL1071186
Copy link
Author

AL1071186 commented May 9, 2023

Hello Gunamata,
Tried running command in the Command prompt . It executed successfully

output:
image

After re started the rancher and it is taking too much time.
image

WSL logs (Rancher in progress):
image
WSL-exec (Rancher in Progress):
image

Please let me know if you need more information.
Also please let me know if we can have one-one call to fix this faster

@gunamata
Copy link
Contributor

@AL1071186 , Which version of Windows are you on? Have you checked if your machine meets the minimum requirements stated on this page?

Also, what do you see when you run the command wsl -l -v on this machine?

@AL1071186
Copy link
Author

@gunamata
Now it completed building. I'm trying to use the build the container in the VS code. By following steps:
view -> command palette -> Dev container: Open folder in dev container.
But I'm seeing below error message:
image

Show log info:
image

Earlier we didn't see this issue with Rancher. The inbuilt docker of Rancher was working fine.

Can you please look on this?

@wojcik-marcin
Copy link

wojcik-marcin commented Mar 11, 2024

I am getting the same error when I boot up my Windows machine and start up Rancher Desktop after logging in.

Error: wsl.exe exited with code 4294967295

OS: Windows 11 22H2 build 22621.2792
Rancher Desktop: 1.12.3 - win32 (x64)
WSL distributions: Ubuntu 22.04.1 LTS

Rancher Desktop configuration:
Container runtime: moby
Kubernetes: disabled
WSL integration: Before factory reset, enabled. After factory reset, disabled.

Running wsl -l -v gives the following:

NAME STATE VERSION

  • Ubuntu Running 2
    rancher-desktop-data Stopped 2
    rancher-desktop Stopped 2

I am able to get it working in most cases by shutting down Rancher Desktop and restarting it.

I have also tried running rdctl factory-reset but it seems as though the problem still persists.

I also tried running wsl --update, only to get a response that I have the most recent version of WSL installed.

@Zonkodonko
Copy link

I have the same issue. But always works after restarting my pc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working platform/windows
Projects
None yet
Development

No branches or pull requests

4 participants