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

UtilBindVsockAnyPort:286: socket failed 1 #11398

Closed
1 of 2 tasks
medoni opened this issue Mar 30, 2024 · 3 comments
Closed
1 of 2 tasks

UtilBindVsockAnyPort:286: socket failed 1 #11398

medoni opened this issue Mar 30, 2024 · 3 comments

Comments

@medoni
Copy link

medoni commented Mar 30, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3296]

WSL Version

2.1.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1-2

Distro Version

Ubuntu 20.04.6 LTS

Other Software

  • Rancher Desktop v1.13.1
  • docker server (moby) v25.0.3
  • docker client v25.0.4-rd

Repro Steps

  1. Start a new pwsh container
    docker run -v "C:/:/mnt/c/" -it mcr.microsoft.com/powershell:latest
    
  2. Inside the container try start cmd.exe
    /mnt/c/Windows/System32/cmd.exe /c set
    

Expected Behavior

Output of cmd.exe or any similar windows host exe

Actual Behavior

<3>WSL (29) ERROR: UtilGetPpid:1293: Failed to parse: /proc/1/stat, content: 1 (pwsh-preview) S 0 1 1 34816 1 1077936384 16289 0 5550 0 127 11 0 0 20 0 19 0 2317128 281159016448 37107 18446744073709551615 94356339937488 94356339979760 140731302623520 0 0 0 0 4096 134431998 0 0 0 17 8 0 0 0 0 0 94356339989568 94356339990872 94356342067200 140731302624847 140731302624860 140731302624860 140731302625250 0
<3>WSL (29) ERROR: UtilBindVsockAnyPort:286: socket failed 1

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 wsl-gh-logs@microsoft.com 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.

@medoni
Copy link
Author

medoni commented Mar 30, 2024

Solved by #10883

@Rajae-Hessani
Copy link

Rajae-Hessani commented May 7, 2024

Hello medoni, can you give more details on how you resolved this issue

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

2 participants