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

Can not set networkingMode Mirrored--Error code: CreateInstance/CreateVm/ConfigureNetworking/0x8007054f #12470

Open
1 of 2 tasks
Aliepay opened this issue Jan 15, 2025 · 5 comments
Assignees
Labels

Comments

@Aliepay
Copy link

Aliepay commented Jan 15, 2025

Windows Version

Microsoft Windows [Version 10.0.26100.2605]

WSL Version

2.3.26.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.167.4-1

Distro Version

Ubuntu 24.04 LTS

Other Software

No response

Repro Steps

running wsl through windows administrative powershell or windows terminal

Expected Behavior

without error code and i can use vpn and network in wsl.

Actual Behavior

i get an error code like the picture. and i cannot use network with host computer's VPN.

Image

or in English like this :

wsl: An internal error occurred.
Error code: CreateInstance/CreateVm/ConfigureNetworking/0x8007054f
wsl: Unable to configure networkingMode Mirrored) (network, falling back to networkingMode None.

Diagnostic Logs

if you need more info, please tell me. thanks a lot
WslLogs-2025-01-16_00-59-24.zip

Copy link

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
.wslconfig found
Detected appx version: 2.3.26.0

@CatalinFetoiu
Copy link
Collaborator

thanks for reporting the issue - can you please collect networking logs using instructions 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"

@Aliepay
Copy link
Author

Aliepay commented Jan 19, 2025

i have tried the method you mentioned. But when i use this method, there is no error code like--Error code: CreateInstance/CreateVm/ConfigureNetworking/0x8007054f

There just some words remind me of the NAT mode can not support the localhost proxy.

And one line-- tcpdump: no process found

WslNetworkingLogs-2025-01-19_21-03-10.zip

Copy link

Diagnostic information
.wslconfig found
Detected appx version: 2.3.26.0
optional-components.txt not found

@Ynewtime
Copy link

Ynewtime commented Jan 20, 2025

Updated:

As per this issue #12351 suggested, I've tried rebooted my Windows and now it resolves...

Original:

Same issue here, in both 2.3.26.0 and 2.4.8.

on opening WSL2:

wsl: 出现了内部错误。
错误代码: CreateInstance/CreateVm/ConfigureNetworking/0x8007054f
wsl: 无法配置 networkingMode Mirrored) (网络,回退到 networkingMode None。
wsl: 检测到 localhost 代理配置,但未镜像到 WSL。NAT 模式下的 WSL 不支持 localhost 代理。

both 2.3.26.0 and 2.4.8 have this issue:

before:

WSL 版本: 2.3.26.0
内核版本: 5.15.167.4-1
WSLg 版本: 1.0.65
MSRDC 版本: 1.2.5620
Direct3D 版本: 1.611.1-81528511
DXCore 版本: 10.0.26100.1-240331-1435.ge-release

with wsl --update --pre-release:

WSL 版本: 2.4.8.0
内核版本: 5.15.167.4-1
WSLg 版本: 1.0.65
MSRDC 版本: 1.2.5716
Direct3D 版本: 1.611.1-81528511
DXCore 版本: 10.0.26100.1-240331-1435.ge-release
Windows 版本: 10.0.26100.2605

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