[에러] Failed to connect to the remote extension host server (Error: webSocket close with status code 1006)

kodaeyong·2021년 5월 30일
0

에러

목록 보기
1/2

평소와 같이 Window10에 설치한 WSL2(Windows Subsystem for Linux)로 기존에 공부하던 프로젝트를 열려고하는데 VSCode에서 아래와 같은 에러메세지를 전달했다.

  • Could not fetch remote environment

  • Failed to connect to the remote extension host server (Error: webSocket close with status code 1006)
    구글링해보니 VSCode의 버전을 다운그레이드하거나, WSL2의 설정을 변경하거나 여러가지 옵션이 있어서 시도해보았지만 해결되지 않았다.ㅠㅠ

그러던 도중 wsl --shutdown 명령을 통해 wsl을 재부팅해보라는 코멘트를 발견하였고 재부팅하니 WSL과 VSCode를 문제없이 다시 이용할 수 있게 되었다.

0개의 댓글