Vscode cannot connect to remote Linux (_WebSocket close with status code 1006)

Vscode cannot connect to remote Linux (_WebSocket close with status code 1006)

??? info "Problem environment"

- author: Julyfun MacOS14.5 M1
- edited date: 2024-08-02
- expected environment: win10, wsl 

Details of the problem / Steps to reproduce the error

No details


Best practice

wsl --shutdown
wsl 

I've also closed the vscode window that are trying to reconnect wsl. (No need to close all vscode window)

verified on 24.8.2