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

VS code with WSL doesn't work if closed and opened again #88205

Closed
georgetour opened this issue Jan 7, 2020 · 1 comment
Closed

VS code with WSL doesn't work if closed and opened again #88205

georgetour opened this issue Jan 7, 2020 · 1 comment
Assignees

Comments

@georgetour
Copy link

Issue Type: Bug

If I start windows and enter a wsl distro and then type code . in the folder I want, visual studio code opens normally. If I clode visual studio code and do the same things, visual studio code pops many errors like couldn't fetch remote environment and failed to connect to remote extension. The distro is Ubuntu 18.04, downloaded from store. I tried powershell and cmd but same result.

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

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (4 x 2712)
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) 13.95GB (6.64GB free)
Process Argv --folder-uri=vscode-remote://wsl+Ubuntu-18.04/mnt/c/Users/tourt/Documents/working_now --remote=wsl+Ubuntu-18.04
Screen Reader no
VM 0%

Fetching remote diagnostics for 'WSL: Ubuntu-18.04' failed: connect ECONNREFUSED ::1:40261

Extensions: none

visual-studio-code-wsl-bug

@aeschli
Copy link
Contributor

aeschli commented Jan 7, 2020

I think that's a dup of microsoft/vscode-remote-release#2060 caused by WSL issue in 19536.
I just pushed a new version of the Remote - WSL extension (0.41.7). Please try if this fixed your issue!

@aeschli aeschli closed this as completed Jan 7, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 21, 2020
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

2 participants