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

Randomly loses IPv4 connectivity #11529

Open
1 of 2 tasks
ofoacimr opened this issue Apr 27, 2024 · 4 comments
Open
1 of 2 tasks

Randomly loses IPv4 connectivity #11529

ofoacimr opened this issue Apr 27, 2024 · 4 comments
Labels

Comments

@ofoacimr
Copy link

ofoacimr commented Apr 27, 2024

Windows Version

Microsoft Windows [Version 10.0.26100.268]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.153.1-2

Distro Version

Ubuntu 20.04

Other Software

WSLg: 1.0.61
MSRDC: 1.2.5326
Direct3D: 1.611.1-81528511
DXCore: 10.0.26091.1-240325-1447.ge-release

Repro Steps

  1. Launch WSL
  2. Check it has IPv4 connection and can surf the Internet
  3. Run anything for some time, or just wait
  4. Check it has lose IPv4 connection by ip a

Expected Behavior

Always have IPv4 connection

Actual Behavior

Lose IPv4 connection

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet 10.255.255.254/32 brd 10.255.255.254 scope global lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:15:5d:8f:d1:4b brd ff:ff:ff:ff:ff:ff
    inet6 fe80::215:5dff:fe8f:d14b/64 scope link
       valid_lft forever preferred_lft forever
Copy link

Failed to parse logs. Unexpected file: HKLM.txt
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
Found no WSL traces in the logs

Copy link

Diagnostic information
Detected appx version: 2.2.4.0

@YiHui-Liu
Copy link

@CatalinFetoiu
Copy link
Collaborator

thanks for reporting the issue

can you please collecting networking logs using instructions at https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues?

It will create a zip with name starting with "WslNetworkingLogs"

please make sure you have IPv4 connectivity before starting the logs and IPv4 connectivity is lost before stopping the logs

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants