Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote-WSL - failed to connect to the remote extension host server #2078

Closed
ghost opened this issue Dec 21, 2019 · 1 comment
Closed

Remote-WSL - failed to connect to the remote extension host server #2078

ghost opened this issue Dec 21, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 21, 2019

Issue Type: Bug

I couldn't file this against the extension as in VS Code, the "Extension" dropdown is blank

image

[2019-12-21 04:55:01.908] Resolving wsl+WLinux, resolveAttempt: 1
[2019-12-21 04:55:01.954] Starting VS Code Server inside WSL (WLinux)
[2019-12-21 04:55:01.954] Extension version: 0.41.6, Windows build: 19536. Multi distro support: available. WSL path support: enabled
[2019-12-21 04:55:02.116] Probing if server is already installed: C:\WINDOWS\System32\wsl.exe -d WLinux -e sh -c "[ -d ~/.vscode-server/bin/26076a4de974ead31f97692a0d32f90d735645c0 ] && printf found || ([ -f /etc/alpine-release ] && printf alpine-; uname -m)"
[2019-12-21 04:55:02.245] Probing result: x86_64
[2019-12-21 04:55:02.245] No server install found in WSL, needs x64
[2019-12-21 04:55:02.245] Downloading server on client side to C:\Users\Adam\AppData\Local\Temp\vscode-remote-wsl\26076a4de974ead31f97692a0d32f90d735645c0\vscode-server-linux-x64.tar.gz.
[2019-12-21 04:55:02.246] https://update.code.visualstudio.com/commit:26076a4de974ead31f97692a0d32f90d735645c0/server-linux-x64/stable
[2019-12-21 04:55:03.247] Download checksum: 87f8453ce290331bd66ca7caa9c9b966ea964b9bdac60e2c209479176f1ca54c
[2019-12-21 04:55:05.867] Download checksum verified
[2019-12-21 04:55:05.868] Launching C:\WINDOWS\System32\wsl.exe -d WLinux sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 26076a4de974ead31f97692a0d32f90d735645c0 stable .vscode-server 0  ' in c:\Users\Adam\.vscode\extensions\ms-vscode-remote.remote-wsl-0.41.6
[2019-12-21 04:55:06.090] Setting up server environment: Looking for /home/voltagex/.vscode-server/server-env-setup. Not found.
[2019-12-21 04:55:06.090] WSL version: 4.19.81-microsoft-standard WLinux
[2019-12-21 04:55:06.090] Installing VS Code Server from tar available at /mnt/c/Users/Adam/AppData/Local/Temp/vscode-remote-wsl/26076a4de974ead31f97692a0d32f90d735645c0/vscode-server-linux-x64.tar.gz
[2019-12-21 04:55:07.016] Unpacking:   0%
[2019-12-21 04:55:07.318]   1%  2%  3%  4%  5%  6%  7%  8%  9% 10% 11%
[2019-12-21 04:55:07.620]  12% 13% 14% 15% 16% 17% 18% 19% 20% 21% 22% 23% 24% 25% 26% 27% 28% 29% 30% 31% 32% 33% 34% 35% 36% 37% 38% 39% 40% 41% 42% 43% 44% 45% 46% 47% 48% 49% 50% 51% 52% 53% 54% 55% 56% 57% 58% 59% 60% 61% 62%
[2019-12-21 04:55:07.928]  63% 64% 65% 66% 67% 68% 69% 70% 71% 72% 73% 74% 75% 76% 77% 78% 79% 80% 81% 82% 83% 84% 85% 86% 87% 88% 89% 90% 91% 92% 93% 94% 95% 96% 97% 98% 99%100%
[2019-12-21 04:55:07.928] Unpacked 2370 files and folders to /home/voltagex/.vscode-server/bin/26076a4de974ead31f97692a0d32f90d735645c0.
[2019-12-21 04:55:07.928] WSL2-shell-PID: 68
[2019-12-21 04:55:07.928] Starting server: /home/voltagex/.vscode-server/bin/26076a4de974ead31f97692a0d32f90d735645c0/server.sh  --port=0 --enable-remote-auto-shutdown 
[2019-12-21 04:55:07.928] 
[2019-12-21 04:55:07.928] 
[2019-12-21 04:55:07.928] *
[2019-12-21 04:55:07.928] * Visual Studio Code Server
[2019-12-21 04:55:07.928] *
[2019-12-21 04:55:07.928] * Reminder: You may only use this software with Visual Studio family products,
[2019-12-21 04:55:07.928] * as described in the license https://aka.ms/vscode-remote/license
[2019-12-21 04:55:07.928] *
[2019-12-21 04:55:07.928] 
[2019-12-21 04:55:07.928] 
[2019-12-21 04:55:08.238] IP Address: 172.19.172.180
[2019-12-21 04:55:08.238] Extension host agent listening on 38057
[2019-12-21 04:55:08.238] 
[2019-12-21 04:55:08.238] 
[2019-12-21 04:55:08.238] [15:55:08] Extension host agent started.
[2019-12-21 04:55:08.240] WSL resolver response: ::1:38057
[2019-12-21 04:55:08.240] To debug connection issues, open a local browser on http://[::1]:38057/version

Sorry if this is a duplicate - I saw similar issues but they were closed or had unrelated causes.

I have also tried this on the Insider version and got the same problem

VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.19536
Fetching remote diagnostics for 'WSL: WLinux' failed: connect ECONNREFUSED ::1:38057

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz (12 x 3400)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 63.90GB (49.81GB free)
Process Argv
Screen Reader no
VM 0%

Fetching remote diagnostics for 'WSL: WLinux' failed: connect ECONNREFUSED ::1:38057

Extensions: none

Version: 1.41.1 (user setup)
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.19536 - Windows Insider

  • Remote OS Version: Pengwin 10
  • Remote Extension/Connection Type: Remote WSL - WSL2

Steps to Reproduce:

  1. Install WLinux / Pengwin
  2. Try to use/install an extension in a WSL remote

image

Does this issue occur when you try this locally?: N/A
Does this issue occur when you try this locally and all extensions are disabled?: N/A

@ghost
Copy link
Author

ghost commented Dec 21, 2019

Probably a duplicate of #2037

@ghost ghost closed this as completed Dec 21, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 4, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants