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

Error code: Wsl/Service/CreateInstance/CreateVm/WSAENOTCONN #11807

Closed
1 of 2 tasks
BurnerK opened this issue Jul 19, 2024 · 17 comments
Closed
1 of 2 tasks

Error code: Wsl/Service/CreateInstance/CreateVm/WSAENOTCONN #11807

BurnerK opened this issue Jul 19, 2024 · 17 comments

Comments

@BurnerK
Copy link

BurnerK commented Jul 19, 2024

Windows Version

Microsoft Windows [version10.0.26120.1252]

WSL Version

2.3.11.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.36.3-1

Distro Version

Ubuntu-22.04

Other Software

WSL 版本: 2.3.11.0
内核版本: 6.6.36.3-1
WSLg 版本: 1.0.63
MSRDC 版本: 1.2.5326
Direct3D 版本: 1.611.1-81528511
DXCore 版本: 10.0.26100.1-240331-1435.ge-release
Windows 版本: 10.0.26120.1252

Repro Steps

I turned it off all night

Expected Behavior

normal start

Actual Behavior

由于套接字没有连接并且(当使用一个 sendto 调用发送数据报套接字时)没有提供地址,发送或接收数据的请求没有被接受。
Error code: Wsl/Service/CreateInstance/CreateVm/WSAENOTCONN

Diagnostic Logs

No response

Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

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.

@BurnerK
Copy link
Author

BurnerK commented Jul 19, 2024

Copy link

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.3.11.0
Found no WSL traces in the logs

@BurnerK
Copy link
Author

BurnerK commented Jul 19, 2024

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

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.

WslLogs-2024-07-19_10-27-05.zip

Copy link

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.3.11.0
Found no WSL traces in the logs

@BurnerK
Copy link
Author

BurnerK commented Jul 19, 2024

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.3.11.0
Found no WSL traces in the logs

Uploading WslLogs-2024-07-19_10-32-15.zip…

@BurnerK
Copy link
Author

BurnerK commented Jul 19, 2024

help me😢

@dave-augustine
Copy link

same

@dave-augustine
Copy link

I have unchecked and check support for wsl via "Turn windows feature on and off" a couple of times
Still having issues.

@yybingyybing
Copy link

WslLogs-2024-07-19_10-57-47.zip
I have the same problem

@JustLookAtNow
Copy link

@yybingyybing
@BurnerK @dave-augustine
退回老版本即可,从github上面下载然后覆盖安装就行。
我发现一个问题,遇上这个问题的全是简中用户,隔壁issue里面也全是中国人。

@BurnerK BurnerK closed this as completed Jul 19, 2024
@kszinhu
Copy link

kszinhu commented Jul 19, 2024

@JustLookAtNow

Could u write in English?, you comment to downgrade to the old version of what?

@JustLookAtNow
Copy link

@kszinhu Of course. What I mean is to downgrade the WSL version. You can download the 2.2.4 release version from GitHub and install it to restore normal functionality.

@nnathan
Copy link

nnathan commented Jul 21, 2024

I'm having the same issue starting up the kernel built from the WSL2 kernel source with tag linux-msft-wsl-6.6.36.3. I only changed the config so that everything was =y instead of =m as recommended in the README for building. My bzImage is in c:\Users\naveen\bzImage-linux-msft-wsl-6.6.36.3 and I have the following .wslconfig:

[wsl2]
kernel=C:\\Users\\naveen\\bzImage-linux-msft-wsl-6.6.36.3
networkingMode=mirrored

WSL2 info:

wsl --version
WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2 (ignore this, this is the kernel I had to revert to because of the error)
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.22631.3880

@github-actions github-actions bot mentioned this issue Jul 22, 2024
2 tasks
@Pi3k-Akt
Copy link

@yybingyybing @BurnerK @dave-augustine 退回老版本即可,从github上面下载然后覆盖安装就行。 我发现一个问题,遇上这个问题的全是简中用户,隔壁issue里面也全是中国人。

退回了老版本(甚至尝试了各种老版本),还是同样的报错

@JustLookAtNow
Copy link

@Pi3k-Akt 你是不是自定义内核了?下面这个版本是没有问题的,你自己对比下:
WSL 版本: 2.2.4.0
内核版本: 5.15.153.1-2
WSLg 版本: 1.0.61
MSRDC 版本: 1.2.5326
Direct3D 版本: 1.611.1-81528511
DXCore 版本: 10.0.26091.1-240325-1447.ge-release
Windows 版本: 10.0.26100.1150

@RikaShiro
Copy link

@yybingyybing @BurnerK @dave-augustine 退回老版本即可,从github上面下载然后覆盖安装就行。 我发现一个问题,遇上这个问题的全是简中用户,隔壁issue里面也全是中国人。

Thanks for your solution

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

No branches or pull requests

8 participants