-
Notifications
You must be signed in to change notification settings - Fork 832
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
WSL2 cannot connect to Internet occasionally [DNS ok, connectivity with host ok]; reset network has chance to fix this temporary #7984
Comments
I experience the exact same behaviour: DNS resolution works, ping of the host works, but all bash commands which need to connect to Internet hang and eventually fail.
More details:
|
I have what sounds like a similar problem. Within a couple minutes of rebooting or logging out and logging in, I can ping google.com, but "curl google.com" times out. It does this with the firewall (McAfee) on or off. I am running Windows 11, "Ubuntu" MS Store image. Definitely set for WSL 2. Nothing special about network, just 5GHz wi-fi to a cable model/router. I have apt installed a lot of stuff, because I was trying to use WSL for development, so I have no idea what could be significant. I have a Windows 10 desktop on the network with similar applications and packages installed. It does not have this WSL problem. I tried attaching a zip of wsl.etl, but it won't let me. |
From recent experience, now:
|
Maybe set cell phone network to private will work (if it has not been set so). |
I have similar issues, |
I see the same problem, DNS is ok but I have no internet access e.g. |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Version
Microsoft Windows [Version 10.0.19044.1469]
WSL Version
Kernel Version
5.10.60.1
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Don't know.
Expected Behavior
It should receive some responses.
Actual Behavior
-> ping google.com
Diagnostic Logs
Connectivities issue:
Chances to resolve:
The connectivity to public addresses lose occasionally even after resolving it by the last two steps.
How to fix this? Or how to trace where does the packet lose?
The text was updated successfully, but these errors were encountered: