vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Multiple remote connections fail after VSCode update

Open jaens opened this issue 7 months ago • 0 comments

Type: Bug

After updating VSCode, when you have multiple windows open connected to remotes, all but the first one will fail to connect and display the following error:


The following issues were detected in your most recent Remote - SSH session 
Ctrl+click on an issue to continue in Copilot Chat. 
╔═════════════════════╤═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║       Status        │ Message                                                                                                                                                                                                                                                                                                               ║
╟─────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╢
║ LocalDownloadFailed │ Error: LocalDownloadFailed (Failed to download VS Code Server (EEXIST: file already exists, mkdir 'c:\Users\User\AppData\Local\Temp\vscode_server_1747831512887'))                                                                                                                                                    ║
╚═════════════════════╧═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
See verbose information in the Output Log...

Looks like there is a race condition to download the server.

(I've seen more race conditions like this, possibly on the remote side. Generally multiple open projects work quite poorly when anything is updated)

VS Code version: Code 1.100.2 (848b80aeb52026648a8ff9f7c45a9b0a80641e2e, 2025-05-14T21:47:40.416Z) OS version: Windows_NT x64 10.0.19045 Modes: Remote OS version: Linux x64 6.12.27-amd64 Remote OS version: Linux x64 6.12.27-amd64 Remote OS version: Linux x64 6.12.27-amd64 Connection to 'ssh-remote+<SHOULD BE CENSORED>' could not be established

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10875H CPU @ 2.30GHz (16 x 2304)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.75GB (41.39GB free)
Process Argv --crash-reporter-id 00c5cb7f-0366-4f30-bb9b-28f00705d86f
Screen Reader no
VM 0%
Item Value
Remote SSH: <SHOULD BE CENSORED>
OS Linux x64 6.12.27-amd64
CPUs 13th Gen Intel(R) Core(TM) i9-13900K (32 x 1100)
Memory (System) 62.57GB (37.52GB free)
VM 0%
Item Value
Remote SSH: <SHOULD BE CENSORED>
OS Linux x64 6.12.27-amd64
CPUs 13th Gen Intel(R) Core(TM) i9-13900K (32 x 1100)
Memory (System) 62.57GB (37.52GB free)
VM 0%
Item Value
Remote SSH: <SHOULD BE CENSORED>
OS Linux x64 6.12.27-amd64
CPUs 13th Gen Intel(R) Core(TM) i9-13900K (32 x 919)
Memory (System) 62.57GB (37.52GB free)
VM 0%

Connection to 'ssh-remote+<SHOULD BE CENSORED>' could not be established

jaens avatar May 21 '25 12:05 jaens