Vscode-remote-release: Cannot reconnect. Please reload the window

Created on 4 Jun 2020  路  3Comments  路  Source: microsoft/vscode-remote-release

Issue Type: Bug

When I hibernate my laptop while there is an open vs code window which is connected to WSL and then later when the laptop is turned on and I try to maximum my vs code window, then I got the error "Cannot reconnect. Please reload the window"

Extension version: 0.44.2
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.104-microsoft-standard


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.72GB (0.54GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|

|Item|Value|
|---|---|
|Remote|WSL: Ubuntu|
|OS|Linux x64 4.19.104-microsoft-standard|
|CPUs|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)|
|Memory (System)|12.27GB (9.93GB free)|
|VM|0%|


reconnecting wsl

Most helpful comment

And not only when you hibernate...
I get this issue when i start my laptop that was switched off and i open vscode

All 3 comments

And not only when you hibernate...
I get this issue when i start my laptop that was switched off and i open vscode

A temporary workaround I do is restarting WSL by running Get-Service LxssManager | Restart-Service in an Administrator PowerShell.

Is this perhaps related to https://github.com/microsoft/WSL/issues/5324 ?

Was this page helpful?
0 / 5 - 0 ratings