LOLINTERNETZ / vscodeoffline

Enables Visual Studio Code's extension gallery to be used in offline (air-gapped) environments. Or, run your own gallery!
https://hub.docker.com/u/lolinternet
MIT License
95 stars 28 forks source link

error while fetching extensions xhr failed #32

Closed rondo10 closed 1 year ago

rondo10 commented 2 years ago

Hey, I get this error and I don't know how to handle it. I get it when I search for any extension. error while fetching extensions xhr failed

image

glevy commented 2 years ago
  1. Sort out SSL/TLS within your environment to support offline use.

Either create a certificate which is signed for the above domains, and is trusted by the clients; or Deploy the bundled root and intermediate certificate authority (vscoffline/vscgallery/ssl/ca.crt and ia.crt), with the obvious security tradeoff. Windows 10: Import the certificates into the machine's trusted root certificate authority (Start > "Manage Computer Certificates").

Darwin: Import the certificates into the machine's trusted root certificate authority.

Ubuntu: Easiest method seems to be Open Chrome, navigate to chrome://settings/certificates, select authorities and add the certificates.

tomer953 commented 1 year ago

From the readme:

  1. Using Chrome navigate to https://update.code.visualstudio.com/. You should not see any certificate warnings, if you do it's unlikely to work in VS Code.
LOLINTERNETZ commented 1 year ago

This appears to be fixed, let me know if there's something else going on