-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Windows Version
Microsoft Windows [versão 10.0.26100.7171]
WSL Version
2.6.2.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
6.6.87.2-microsoft-standard-WSL2
Distro Version
Ubuntu-24.04
Other Software
Docker Engine installed on distro - version 29.0.0, build 3d4129b
VSCode - 1.106.3 - x64
System is a x64 - LENOVO_MT_82MD_BU_idea_FM_IdeaPad 3 15ITL6
.wslconfig:
[wsl2]
memory=10GB
processors=6
swap=16GB
debugConsole=true
networkingMode=mirrored
guiApplications=true
/etc/wsl.conf:
[boot]
systemd=true
[network]
generateHosts=true
generateResolvConf=true
hostname=dev-ubuntu
[user]
default=user
Repro Steps
Installed ubuntu with wsl cmd installer, used it normaly
Started to have network issues and dropping connections only on wsl
Modded .wslconfig and added debudmode
Found on WSL Debug Console, this spam and network still drops sometimes
In other computer the same error message on debug console but network works
[ 7166.408706] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: returning v4 (2) v6 (2)
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET]
CheckConnection: connecting to 200.211.3.34
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET6]
[ 7166.410109] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: arming select for 5 seconds
CheckConnection: v4 succeeded
CheckConnection: returning v4 (1) v6 (2)
CheckConnection: resolving the name ipv6.msftconnecttest.com [AF_INET]
[ 7172.090435] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: resolving the name ipv6.msftconnecttest.com [AF_INET6]
[ 7172.175763] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: returning v4 (2) v6 (2)
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET]
CheckConnection: connecting to 200.211.3.26
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET6]
[ 7172.177845] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: arming select for 5 seconds
CheckConnection: v4 succeeded
CheckConnection: returning v4 (1) v6 (2)
CheckConnection: resolving the name ipv6.msftconnecttest.com [AF_INET]
[ 7228.290802] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: resolving the name ipv6.msftconnecttest.com [AF_INET6]
[ 7228.333618] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: returning v4 (2) v6 (2)
Expected Behavior
Normal usage and no errors on debug console, normal network usage
Actual Behavior
Network drops and errors are spammed
This occurs especialy when doing intensive networking, like docker net operations, or git/wget big file/s upload/download
[ 7166.408706] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: returning v4 (2) v6 (2)
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET]
CheckConnection: connecting to 200.211.3.34
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET6]
[ 7166.410109] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: arming select for 5 seconds
CheckConnection: v4 succeeded
CheckConnection: returning v4 (1) v6 (2)
CheckConnection: resolving the name ipv6.msftconnecttest.com [AF_INET]
[ 7172.090435] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: resolving the name ipv6.msftconnecttest.com [AF_INET6]
[ 7172.175763] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: returning v4 (2) v6 (2)
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET]
CheckConnection: connecting to 200.211.3.26
CheckConnection: resolving the name www.msftconnecttest.com [AF_INET6]
[ 7172.177845] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: arming select for 5 seconds
CheckConnection: v4 succeeded
CheckConnection: returning v4 (1) v6 (2)
CheckConnection: resolving the name ipv6.msftconnecttest.com [AF_INET]
[ 7228.290802] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: resolving the name ipv6.msftconnecttest.com [AF_INET6]
[ 7228.333618] WSL (204) ERROR: CheckConnection: getaddrinfo() failed: -5
CheckConnection: returning v4 (2) v6 (2)
Diagnostic Logs
No response