`git push` fails with `<3>WSL (58032 - ) ERROR: UtilAcceptVsock:271: accept4 failed 110`
Windows Version
Microsoft Windows [Version 10.0.26100.7171]
WSL Version
2.6.1.0
Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
Kernel Version
6.6.87.2-1
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
❯ git push
<3>WSL (58032 - ) ERROR: UtilAcceptVsock:271: accept4 failed 110
^C
Expected Behavior
Git should work.
Actual Behavior
Git often fails to push to the remote because of a network issue triggered by WSL. The only temporary fix I've found is restarting VS Code, but the problem eventually returns.
Diagnostic Logs
Diagnostic information
.wslconfig found
Detected appx version: 2.6.1.0
optional-components.txt not found
Detected user visible error: Wsl/Service/0x8007274c
Thank you for reporting this @garysassano. This is interesting, could you share the output of strace -v git push ? This should give us more details about where things are failing.
@OneBlue Not sure if it can help, but this issue always happens when I start heavy Docker containers inside WSL2. I'll try the command you suggested the next time the error occurs.
@OneBlue You should be able to fix the issue now: #13864