- How to fix VS Code error on GNU/Linux: We cannot connect to the Extension Marketplace
- The problem
- Solution
- Doesn’t connect to extensions marketplace #128979
- Comments
- hkntrt commented Jul 19, 2021
- vscodebot bot commented Jul 19, 2021
- gjsjohnmurray commented Jul 19, 2021
- vscode-triage-bot commented Jul 19, 2021
- Can’t connect to the extensions Marketplace #97484
- Comments
- Astero-H commented May 11, 2020
- Searching the extension marketplace fails with CORS error #128583
- Comments
- Aleuck commented Jul 13, 2021
- gjsjohnmurray commented Jul 14, 2021
- joaomoreno commented Jul 14, 2021
- Busata commented Jul 14, 2021 •
- armujahid commented Jul 20, 2021
- jestarray commented Aug 9, 2021
- dbrgn commented Aug 19, 2021
- dniku commented Aug 19, 2021
- We cannot connect to the Extenions Marketplace at this time, please try again later #81615
- Comments
- fcbogle commented Sep 29, 2019
How to fix VS Code error on GNU/Linux: We cannot connect to the Extension Marketplace
Aug 10 · 2 min read
Lately, I was confused about this error on Manjaro Linux and I found out that this problem can actually appear on more Linux-based systems.
The problem
When I tried to search for any extension, I always get the following error from the VS Code: “ We cannot connect to the Extensions Marketplace at this time, please try again later”, so I started looking for the solution, but I found only common recommendation, like check the internet connection or something like that. By the way, that didn’t help me.
Once, I found a n open issue on GitHub and the discussion around binaries of VS Code helped to solve it. I attach a link in “ References”.
If you open developer tools in VS Code ( Help -> Toggle Developer Tools) and type any extension name in the editor field you will see a network CORS error:
Solution
You should open the file of VS Code configuration using any text editor, that is located by the next path: “
/.vscode-oss/argv.json” and add the next property: “ enable-browser-code-loading: false” at the end of the file.
Restart the VS Code editor, after that step Extensions Marketplace should work properly.
If this helped you, please give it some claps so others can find it as well!
Источник
Doesn’t connect to extensions marketplace #128979
Comments
hkntrt commented Jul 19, 2021
When I try to look up for an extension it says «we cannot connect to the extensions marketplace at this time». Upgrading from version 1.56 to 1.58 on Arch Linux results in this error. No proxy, no additional network settings. It’s not related to my personal setup. Possible culprit is CORS error. The network request to marketplace fails due to CORS error.
VS Code version: Code — OSS 1.58.0 (2d23c42, 2021-07-12T23:51:36.303Z)
OS version: Linux x64 5.12.15-arch1-1
Restricted Mode: Yes
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz (4 x 2756) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: enabled_on rasterization: disabled_software skia_renderer: enabled_on video_decode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | 1, 1, 0 |
Memory (System) | 7.68GB (4.75GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
DESKTOP_SESSION | xfce |
XDG_CURRENT_DESKTOP | XFCE |
XDG_SESSION_DESKTOP | xfce |
XDG_SESSION_TYPE | x11 |
Extensions: none
The text was updated successfully, but these errors were encountered:
vscodebot bot commented Jul 19, 2021
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
gjsjohnmurray commented Jul 19, 2021
vscode-triage-bot commented Jul 19, 2021
Thanks for creating this issue! We figured it’s covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.
Источник
Can’t connect to the extensions Marketplace #97484
Comments
Astero-H commented May 11, 2020
1- Launch Vs Code
2- Click on Tab Extensions
=> Message received : «We cannot connect to the Extensios Marketplace at this time, please try again later»
N.B : I’m not behind a proxy — I re-installed VSCode
VS Code version: Code 1.45.0 (d69a79b, 2020-05-07T16:18:48.860Z)
OS version: Windows_NT x64 10.0.17134
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2904) |
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) | 7.88GB (1.66GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
Extensions: none
The text was updated successfully, but these errors were encountered:
Источник
Searching the extension marketplace fails with CORS error #128583
Comments
Aleuck commented Jul 13, 2021
Does this issue occur when all extensions are disabled?: Yes (there are no extensions installed, but I tried with —disable-extensions anyway)
Steps to Reproduce:
- Open VSCode
- Search for extension
Dev Tools’ Network tab output:
More request’s details:
Copying the request to cURL and pasting on a terminal works (I get a response).
There is no proxy in my network.
The text was updated successfully, but these errors were encountered:
gjsjohnmurray commented Jul 14, 2021
Looks like you have installed VS Code from a source that redirects it to open-vsx.org instead of the Microsoft Marketplace.
joaomoreno commented Jul 14, 2021
. which is unsupported by us.
Busata commented Jul 14, 2021 •
since google leads you here, arch seems to point it at open vsx -> eclipse/openvsx#306
armujahid commented Jul 20, 2021
jestarray commented Aug 9, 2021
For arch linux users:
yay -S code-marketplace from the AUR to fix
dbrgn commented Aug 19, 2021
As another workaround, if you already know which plugin to install (i.e. after searching for it at https://open-vsx.org/), you can install the plugin via command line. For example, to install rust-analyzer:
dniku commented Aug 19, 2021
I’ll make this issue easier to find:
If you are using VSCode on Arch / Manjaro and search in the Extensions Marketplace fails with «We cannot connect to the Extensions Marketplace at this time, please try again later.», press Ctrl+Shift+I , open the «Console» tab and make sure that the following errors are there:
If so, you are affected by this problem. You will need to install code-marketplace or visual-studio-code-bin (if you want to switch to the release from Microsoft) to fix this problem.
Источник
We cannot connect to the Extenions Marketplace at this time, please try again later #81615
Comments
fcbogle commented Sep 29, 2019
Using Mac OS Mojave and the latest version of VS Code.
VS Code version: Code 1.38.1 (b37e54c, 2019-09-11T13:31:32.854Z)
OS version: Darwin x64 18.6.0
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz (4 x 3400) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: enabled oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_deferred_display_list: disabled_off skia_renderer: disabled_off surface_synchronization: enabled_on video_decode: enabled viz_display_compositor: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | 2, 2, 2 |
Memory (System) | 16.00GB (4.21GB free) |
Process Argv | -psn_0_278596 |
Screen Reader | no |
VM | 0% |
Extensions: none
The text was updated successfully, but these errors were encountered:
Источник