Closed tjlcast closed 7 months ago
Hi @tjlcast, I see the urls in production.json
use https
. Try http
instead, e.g. http://localhost:8080/vscode/gallery
@amvanbaren Thank you for your reply.
I have changed the production.json
file. (from https://localhost:8080
to be http://localhost:8080
)
VScode still show someting wrong when I search "docker" in marketplace.
And vscode throws different error in console.
But I can use curl
to fetch response in my local service.
My vscode version is 1.86.2 (Universal)
I’m trying to deploy an openvsx instance in our development environment (which cannot connect to the public network) so that developers can conveniently download VSCode extensions.
What should I do next?
It looks like vscode doesn't allow http
. This explains the error: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/connect-src. Here's a bit more about network settings: https://code.visualstudio.com/docs/setup/network
You can setup a reverse proxy (nginx, apache) with https
enabled. Something like: https://hub.docker.com/r/jc21/nginx-proxy-manager or https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-with-ssl-as-a-reverse-proxy-for-jenkins
Hello guys,
I have updated
production.json
of my vscode, like below:But when I search extensions in my vscode it still throws
XHR failed
And I have follow the issue(https://github.com/eclipse/openvsx/issues/440), to create an container(on localhost:8080) that combines the OpenVSX frontend and backend.l vscode still popup: "Error while fetching extensions. XHR failed"
So what should I do next to let my vscode use my local self openvsx?
Thanks a lot.