You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Work on C++ code in WSL for a while, maybe let the computer sleep and/or hibernate, while leaving a terminal open as well as an VScode-based editor connected to the WSL workspace.
This has happened three times over the past week. It can be fixed with a wsl --shutdown, but it's quite annoying that my editor session is and I have to close all of my terminals in my multiplexer to reboot wsl.
I have encountered this error many times. I have a similar workflow where I have VScode windows open with terminals and I put my computer to sleep. Every once in a while, VScode is no longer able to connect to WSL and I am unable to open up a direct terminal to the WSL distro, with this same exact error.
This happens across 3 different computers that I use WSL on. A full restart, or a wsl --shutdown always fixes it, but I lose all unsaved progress and contexts of work that was ongoing in VSCode.
Activity
github-actions commentedon Jan 3, 2026
Diagnostic information
mste-milestonedk commentedon Jan 12, 2026
I have just experienced a similar issue.
WSL version: 2.6.3.0
VSCode 1.108.0
chipshadd commentedon Jan 14, 2026
I have encountered this error many times. I have a similar workflow where I have VScode windows open with terminals and I put my computer to sleep. Every once in a while, VScode is no longer able to connect to WSL and I am unable to open up a direct terminal to the WSL distro, with this same exact error.
This happens across 3 different computers that I use WSL on. A full restart, or a
wsl --shutdownalways fixes it, but I lose all unsaved progress and contexts of work that was ongoing in VSCode.WslLogs-2026-01-14_10-33-17.zip
chemwolf6922 commentedon Nov 17, 2026
Fixed in 2.7.3 with #14455.