WSL icon indicating copy to clipboard operation
WSL copied to clipboard

wsl: Failed to configure network (networkingMode Nat), falling back to networkingMode VirtioProxy.

Open khabab500 opened this issue 9 months ago • 9 comments

Windows Version

Microsoft Windows [Version 10.0.26100.1742]

WSL Version

2.4.11.0

Are you using WSL 1 or WSL 2?

  • [x] WSL 2
  • [ ] WSL 1

Kernel Version

5.15.167.4-1

Distro Version

Ubuntu 24.04

Other Software

No response

Repro Steps

opening Ubuntu

Image

Expected Behavior

normal opening without error

Actual Behavior

wsl: Failed to configure network (networkingMode Nat), falling back to networkingMode VirtioProxy.

Diagnostic Logs

WslLogs-2025-02-28_18-43-00.zip

khabab500 avatar Mar 01 '25 04:03 khabab500

The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

Diagnostic information
.wslconfig found
Detected appx version: 2.4.11.0
Found no WSL traces in the logs

github-actions[bot] avatar Mar 01 '25 04:03 github-actions[bot]

Diagnostic information
.wslconfig found
Detected appx version: 2.4.11.0
Found evidence of HcnCreateNetwork failure: HcnCreateNetwork {"Success":false,"Error":"Access is denied. ","ErrorCode":2147942405}. HResult: 0x80070005

github-actions[bot] avatar Mar 01 '25 05:03 github-actions[bot]

wsl network

Image

Image

khabab500 avatar Mar 01 '25 05:03 khabab500

hyper-V

Image

khabab500 avatar Mar 01 '25 05:03 khabab500

any update on this issue ?

catinrage avatar Mar 07 '25 07:03 catinrage

thanks for reporting the issue. could you please collecting networking logs using steps at https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues?

the script will generate a zip with name starting with "WslNetworkingLogs"

CatalinFetoiu avatar Mar 12 '25 18:03 CatalinFetoiu

same issue

SantaLaMuerte avatar Jun 11 '25 17:06 SantaLaMuerte

i can only confirm that reinstalling windows solves the issue, but its far from the optimal solution.

catinrage avatar Jun 12 '25 08:06 catinrage

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue.

Thank you!

Its still happening :(

ruthan avatar Oct 20 '25 19:10 ruthan