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 SSH freezing when loading extensions. Enabling remote.downloadExtensionsLocally did not help #238174

Open
mark-os opened this issue Jan 17, 2025 · 4 comments
Assignees

Comments

@mark-os
Copy link

mark-os commented Jan 17, 2025

Type: Bug

In the server output I'm seeing:

2025-01-17 14:08:27.683 [error] [network] #1: https://main.vscode-cdn.net/extensions/marketplace.json - error GET read ETIMEDOUT

Yes I know remote SSH can be a problem if the remote server is behind a firewall. However I was hoping that the Extension Host could still work even in this case with a setting to download extensions locally.

Unfortunately this remote file is not working. Can you check to see if this was recently introduced?

VS Code version: Code 1.96.3 (91fbddd, 2025-01-09T18:14:09.060Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 5.14.0-437.el9.x86_64

System Info
Item Value
CPUs Intel(R) Core(TM) Ultra 7 165U (14 x 2688)
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) 31.46GB (5.65GB free)
Process Argv --crash-reporter-id 7e9e6a5c-e81d-4f36-9073-13611d70a8a4
Screen Reader no
VM 0%
Item Value
Remote SSH: jumphost
OS Linux x64 5.14.0-437.el9.x86_64
CPUs Intel(R) Xeon(R) Gold 6248 CPU @ 2.50GHz (2 x 0)
Memory (System) 3.82GB (1.96GB free)
VM 100%
Extensions (5)
Extension Author (truncated) Version
catppuccin-vsc Cat 3.16.0
remote-ssh ms- 0.116.1
remote-ssh-edit ms- 0.87.0
remote-explorer ms- 0.4.3
ufuk-bakan-color-themes Ufu 2.0.1

(3 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
390bf810:31215807
6074i472:31201624
dwoutputs:31217127

Copy link

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.96.4. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@mark-os
Copy link
Author

mark-os commented Jan 18, 2025

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.96.4. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

Upgraded, still occurring

@mark-os
Copy link
Author

mark-os commented Jan 18, 2025

I noticed the marketplace.json file is available from msecnd.net which the remote machine does have access to.

I'm going to try and add a line to the hosts file routing one CDN to the other.

@mark-os
Copy link
Author

mark-os commented Jan 18, 2025

Hosts file was not the right way to go.

I did fix it by editing the product.json files in:
/.vscode-server/cli/servers/Stable-91fbdddc47bc9c09064bf7acf133d22631cbf083/server/product.json
/.vscode-server/cli/servers/Stable-cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba/server/product.json

replacing controlUrl from:
https://main.vscode-cdn.net/extensions/marketplace.json
to:
https://az764295.vo.msecnd.net/extensions/marketplace.json

Now I can install extensions on remote.

I guess my main concern here is that VSCode is just hanging, so perhaps an improvement would be a timeout and an error message of what file is not loading and where to find the setting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants