Open yao-yin opened 3 years ago
I was having the same issue with Ubuntu 20.04 and wsl2. uninstalling all remote related extensions -> reloading vs code -> reinstalling remote - wsl extension seems to have solved the issue, my best guess is that it had something to do with changes in the extension (since it appeared after a reboot) .
I was having the same issue with Ubuntu 20.04 and wsl2. uninstalling all remote related extensions -> reloading vs code -> reinstalling remote - wsl extension seems to have solved the issue, my best guess is that it had something to do with changes in the extension (since it appeared after a reboot) .
Thank you for your comments, tried but still not work.
I've met this problem too. I use wsl --shutdown
to reboot the archlinux and then it works.
This problem appear again after I reboot my windows. Maybe it has sth. to do with the booting of WSL.
I faced the same error message. I am using wsl2 archlinux.
This probably occurs when docker build is heavy.
First, run the docker build command and archlinux becomes unresponsive.
Then the error above occurs and VSCode cannot connect to archlinux.
The following is what I did after that.
wsl -t arch
to stop archlinuxrm -rf /home/who/.vscode-server
in archlinuxcd /my/workspace && code ./
in archlinuxwsl --shutdown
cd /my/workspace && code ./
in archlinux
Tried many methods in this issue, but nothing helps.