-
Notifications
You must be signed in to change notification settings - Fork 228
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
self signed cert #107
Comments
I work-around by downloading the schema file, add to project and add a settings.json like the following:
|
I tried looking into this issue a bit. The problem arises for me when I'm trying to access a schema that requires you to be logged into a vpn. I found out that json languageserver resolves the schema correctly but when we run the exact same code in this project we get the self signed cert issue. What's weird is that literally the exact same arguments are passed into the xhr request for request-light but the json languageserver returns the schema but the yaml languageserver errors. I have no idea of vscode is doing something under the hood that makes their request succeed but I can't find anything. |
The only difference I can see is that vscode-json-languagefeatures does their calls to get the schemas from inside of the vscode extension rather than the languageserver. I tested:
inside of the vscode extension and everything resolves correctly. I'm guessing the reason why vscode-json-languagefeatures resolves the schema inside of the vscode extension to avoid this issue. Maybe we will have to adopt that for VSCode in order to get this to work. |
This issue should be fixed in 0.14.0! If there are still any issues please let me know. |
Hi,
I'm getting this error after installing the extension. http.proxy and http.proxyStrictSSL is setup.
Unable to load schema from 'https://gist.githubusercontent.com/JPinkney/ccaf3909ef811e5657ca2e2e1fa05d76/raw/f85e51bfb67fdb99ab7653c2953b60087cc871ea/openshift_schema_all.json': Unable to connect to https://gist.githubusercontent.com/JPinkney/ccaf3909ef811e5657ca2e2e1fa05d76/raw/f85e51bfb67fdb99ab7653c2953b60087cc871ea/openshift_schema_all.json through a proxy . Error: self signed certificate in certificate chain
Please advise.
The text was updated successfully, but these errors were encountered: