0

I've recently tried setting up WSL using Ubuntu however as I try to download things using terminal commands it just gets stuck. Depending on how lucky I am it will download portions and then just stop. In this image, I tried installing NVM following the instructions on GitHub with no success. Screenshot1

I then tried spamming it and got "lucky" when the download was completed but nothing happens then it just timed out. Here I also tried downloading ohmyzsh. Screenshot2

I've read around and it could be a network issue? Maybe a git issue or both? Git doesn't work for me (worked once or twice then stopped working). It too also gets stuck. (First one is clone using HTTPS second is SSH) Screenshot3

I tried reinstalling Ubuntu with no success. Don't really know what to do. Expected it to just work.

Jeremy
  • 1
  • 2
  • Are you doing this on a corporate VPN? Such commands sometimes require I disconnect from my corporate VPN to work, they're just too slow otherwise and I get symptoms just like you describe. My advice is to try it on a different network configuration if you can, to see if it makes a difference. – joanis Dec 16 '22 at 02:48
  • Besides the possible VPN issues, there are known driver bugs in WIndows that cause corruption of TCP data with certain kinds of hardware when they're configured to do checksum offload. Setting up a network monitor with tcpdump or wireshark is a good way to capture and debug network issues, although it's almost always slow and painful. – torek Dec 16 '22 at 09:44
  • I just ran into this issue today, had tried to update configs and what's funny is that it got resolved when I switched to connect to another router. – Jicking Mar 19 '23 at 08:16

1 Answers1

0

Thanks for the suggestions, it was indeed a network issue. After checking network settings I found that it said WSL had no internet connection and did some reading and found this which was the solution (however the network thing still says WSL no internet connection but everything works so idk)

Jeremy
  • 1
  • 2