WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WSL2 Ubuntu 18.06 lost normal connectivity after the latest windows update 21H1

Open emonakov opened this issue 5 years ago • 7 comments

Windows Build Number

Microsoft Windows [Version 10.0.19043.1052]

WSL Version

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

4.19.104-microsoft-standard

Distro Version

18.04

Other Software

git version 2.31.1 GNU Wget 1.19.4 built on linux-gnu and anything that should be able to download

Repro Steps

  1. Install latest windows update 21H1
  2. Try to run commands like git clone or wget example.com or use curl

Expected Behavior

everything should download as it supposed to and not stuck

Actual Behavior

the process is stuck for minutes and fails in the end, cannot clone, pull or curl anything with the command line

Diagnostic Logs

wget github.com
--2021-06-30 13:59:05--  http://github.com/
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/ [following]
--2021-06-30 13:59:15--  https://github.com/
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
Unable to establish SSL connection.`

`wget http://www.columbia.edu/~fdc/sample.html
--2021-06-30 14:21:22--  http://www.columbia.edu/~fdc/sample.html
Resolving www.columbia.edu (www.columbia.edu)... 128.59.105.24
Connecting to www.columbia.edu (www.columbia.edu)|128.59.105.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34975 (34K) [text/html]
Saving to: ‘sample.html’

sample.html                     0%[                                                  ]       0  --.-KB/s    in 4m 15s

2021-06-30 14:25:47 (0.00 B/s) - Read error at byte 0/34975 (Connection reset by peer). Retrying.

--2021-06-30 14:25:48--  (try: 2)  http://www.columbia.edu/~fdc/sample.html
Connecting to www.columbia.edu (www.columbia.edu)|128.59.105.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 34975 (34K) [text/html]
Saving to: ‘sample.html’

sample.html                     0%[                                                  ]       0  --.-KB/s

emonakov avatar Jun 30 '21 11:06 emonakov

Please collect networking logs and post (or link) the etl here.

therealkenc avatar Jun 30 '21 18:06 therealkenc

@therealkenc https://disk.yandex.ru/d/DyrG-HCAE4ssQQ

emonakov avatar Jul 01 '21 13:07 emonakov

I attached logs here. Is there any chance to find a solution?

emonakov avatar Jul 06 '21 16:07 emonakov

We're following up with the networking team here, thank you for providing logs we'll reach out if we need more info!

craigloewen-msft avatar Jul 06 '21 16:07 craigloewen-msft

I'm from the networking team. Would you be able to do the following:

  1. Reboot
  2. startpacketcapture.ps1
  3. Small repro (one wget)
  4. stop packet capture
  5. collectlogs.ps1

The logs can get big really fast so a small repro is great and please let me know what you tried to access.

Thanks!

Keith-Mange avatar Jul 08 '21 15:07 Keith-Mange

@Keith-Mange I tried wget ya.ru

https://disk.yandex.ru/d/qAR7_ukcqcnuXQ

emonakov avatar Jul 09 '21 18:07 emonakov

This can be closed. Solved by uninstalling hyper-v and wsl from windows components and installing wsl back.

emonakov avatar Jul 11 '21 20:07 emonakov