vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

cannot connect to alpine wsl with wsl extention

Open wyf9661 opened this issue 1 month ago • 0 comments

  1. VScode Version:
Version: 1.106.2 (user setup)
Commit: 1e3c50d64110be466c0b4a45222e81d2c9352888
Date: 2025-11-19T16:56:50.023Z
Electron: 37.7.0
ElectronBuildId: 12781156
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045
  1. log:
[2025-11-26 00:48:15.886] Extension version: 0.104.3
[2025-11-26 00:48:15.886] L10N bundle: file:///c%3A/Users/wangyifan1/.vscode/extensions/ms-vscode-remote.remote-wsl-0.104.3/l10n/bundle.l10n.zh-cn.json
[2025-11-26 00:48:15.906] authorityHierarchy: wsl+Alpine
[2025-11-26 00:48:15.906] WSL extension activating for a local WSL instance
[2025-11-26 00:48:15.942] Download in background is enabled
[2025-11-26 00:48:15.943] Resolving wsl+Alpine, resolveAttempt: 1
[2025-11-26 00:48:15.985] WSL feature installed: true (dll path)
[2025-11-26 00:48:15.986] NodeExecServer run: C:\Windows\System32\wsl.exe --list --verbose
[2025-11-26 00:48:18.663] 1 distros found
[2025-11-26 00:48:18.676] Starting VS Code Server inside WSL (wsl1)
[2025-11-26 00:48:18.676] Windows build: 19045. Multi distro support: available. WSL path support: enabled
[2025-11-26 00:48:18.677] Scriptless setup: false
[2025-11-26 00:48:18.678] No shell environment set or found for current distro.
[2025-11-26 00:48:19.908] WSL daemon log file: 
[2025-11-26 00:48:19.910] Probing if server is already installed: if [ -d ~/.vscode-server/bin/1e3c50d64110be466c0b4a45222e81d2c9352888 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2025-11-26 00:48:19.910] NodeExecServer run: C:\Windows\System32\wsl.exe -d Alpine -e sh -c if [ -d ~/.vscode-server/bin/1e3c50d64110be466c0b4a45222e81d2c9352888 ]; then printf 'install-found '; fi; if [ -f /etc/alpine-release ]; then printf 'alpine-'; fi; uname -m;
[2025-11-26 00:48:23.595] Probing result: install-found alpine-x86_64
[2025-11-26 00:48:23.595] Server install found in WSL
[2025-11-26 00:48:23.596] NodeExecServer run: C:\Windows\System32\wsl.exe -d Alpine sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 1e3c50d64110be466c0b4a45222e81d2c9352888 stable code-server .vscode-server --host=127.0.0.1 --port=0 --connection-token=2760971719-984448385-597321220-3391280399 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all'
[2025-11-26 00:48:26.326] Setting up server environment: Looking for /home/ivan/.vscode-server/server-env-setup. Not found.
[2025-11-26 00:48:26.632] WSL version: 4.4.0-19041-Microsoft Alpine
[2025-11-26 00:48:26.632] WSL-shell-PID: 309
[2025-11-26 00:48:26.632] Node executable: /home/ivan/.vscode-server/bin/1e3c50d64110be466c0b4a45222e81d2c9352888/node
[2025-11-26 00:48:26.632] Starting server: /home/ivan/.vscode-server/bin/1e3c50d64110be466c0b4a45222e81d2c9352888/bin/code-server --host=127.0.0.1 --port=0 --connection-token=2760971719-984448385-597321220-3391280399 --use-host-proxy --without-browser-env-var --disable-websocket-compression --accept-server-license-terms --telemetry-level=all
[2025-11-26 00:48:26.632] 
[2025-11-26 00:48:26.632] * Note: Support for Alpine Linux is in preview.
[2025-11-26 00:48:26.939] /home/ivan/.vscode-server/bin/1e3c50d64110be466c0b4a45222e81d2c9352888/node: line 1: syntax error: unexpected ")"
[2025-11-26 00:48:27.578] 有关启动问题的帮助,请转到 https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
  1. Alpine: with these package installed:
sudo apk add gcompat libstdc++ curl git bash procps

wyf9661 avatar Nov 26 '25 00:11 wyf9661