Skip to content

Can't connect to WSL when update to 1.80.0  #187220

@Sccotliu

Description

@Sccotliu

Output:
[2023-07-07 02:53:53.187] authorityHierarchy: wsl+Ubuntu-22.04
[2023-07-07 02:53:53.187] WSL extension activating for a local WSL instance
[2023-07-07 02:53:53.207] Resolving wsl+Ubuntu-22.04, resolveAttempt: 1
[2023-07-07 02:53:53.210] WSL feature installed: true (dll path)
[2023-07-07 02:53:53.210] Run: C:\windows\System32\wsl.exe --list --verbose
[2023-07-07 02:53:53.407] Starting VS Code Server inside WSL (wsl2)
[2023-07-07 02:53:53.407] Extension version: 0.80.2
[2023-07-07 02:53:53.407] Windows build: 19044. Multi distro support: available. WSL path support: enabled
[2023-07-07 02:53:53.407] L10N bundle: file:///c%3A/Users/linkcare_l10n_rd/.vscode/extensions/ms-vscode-remote.remote-wsl-0.80.2/l10n/bundle.l10n.zh-cn.json
[2023-07-07 02:53:53.408] Scriptless setup: false
[2023-07-07 02:53:53.408] No shell environment set or found for current distro.
[2023-07-07 02:53:53.689] WSL daemon log file:
[2023-07-07 02:53:53.696] Probing if server is already installed: if [ -d ~/.vscode-server/bin/660393deaaa6d1996740ff4880f1bad43768c814 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf alpine-; fi; uname -m
[2023-07-07 02:53:53.697] Run: C:\windows\System32\wsl.exe -d Ubuntu-22.04 -e sh -c if [ -d /.vscode-server/bin/660393deaaa6d1996740ff4880f1bad43768c814 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf alpine-; fi; uname -m
[2023-07-07 02:53:54.057] Probing result: x86_64
[2023-07-07 02:53:54.058] No server install found in WSL, needs linux-x64
[2023-07-07 02:53:54.058] Getting server from client side
[2023-07-07 02:53:54.059] Downloading VS Code Server stable - 660393d into C:\Users\LINKCA
1\AppData\Local\Temp\vscode-remote-wsl\660393deaaa6d1996740ff4880f1bad43768c814\vscode-server-stable-linux-x64.tar.gz.
[2023-07-07 02:54:15.358] Unable to download server on client side: Error: Request downloadRequest failed with message: connect ETIMEDOUT 117.18.232.200:443. Will try to download on WSL side.
[2023-07-07 02:54:15.361] Run: C:\windows\System32\wsl.exe -d Ubuntu-22.04 sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 660393d stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=189282105-1431304570-3265975424-2566026903 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2023-07-07 02:54:15.681] Setting up server environment: Looking for /home/scott/.vscode-server/server-env-setup. Not found.
[2023-07-07 02:54:15.681] WSL version: 5.15.90.1-microsoft-standard-WSL2 Ubuntu-22.04
[2023-07-07 02:54:15.681] Updating VS Code Server to version 660393d
[2023-07-07 02:54:15.681] Removing previous installation...
[2023-07-07 02:54:15.681] Installing VS Code Server for x64 (660393d)
[2023-07-07 02:54:15.681] Downloading:
[2023-07-07 02:55:48.329] 有关启动问题的帮助,请转到 https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
[2023-07-07 02:55:51.986] Download in background is enabled

Version: 1.80.0
Commit: 660393d
Date: 2023-07-04T15:06:02.407Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.80.0 Chrome/108.0.5359.215 Electron/22.3.14 Safari/537.36

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions