Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

All of my .json files have problems loading reference/schema from schemastore.azurewebsites.net

I'm working in VS Code and started getting this error yesterday. All of my json files have this error, not just a few. If I remember right there was an update to the program yesterday or the day before. Did the update break something or reset a setting that I forgot I had set?

When looking this up, people are talking about downloading the schema and using it locally, but I would prefer not to have to do that and would instead like to find out why this broke?

I am using a proxy, but as far as I know that hasn't changed. Here's the exact error I'm getting.

Problems loading reference 'https://schemastore.azurewebsites.net/schemas/json/package.json': Unable to load schema from 'https://schemastore.azurewebsites.net/schemas/json/package.json': Unable to connect to https://schemastore.azurewebsites.net/schemas/json/package.json. Error: connect ECONNREFUSED 168.62.224.13:443

like image 388
kjw Avatar asked Mar 01 '18 18:03

kjw


People also ask

How do I open a VSC JSON file?

In Visual Studio Code, use shortcut Ctrl + Shift + P to open the Command Palette and type Open launch. json . And it will open the launch.

How do I open user settings in Vscode?

To open the Settings editor, use the following VS Code menu command: On Windows/Linux - File > Preferences > Settings. On macOS - Code > Preferences > Settings.


1 Answers

I'm behind my company's proxy which I don't know the details because it's everything automatic, and this problem have bug me for some time.

I'm not sure whether this is an universal solution but according to this issue, the http.proxySupport setting is defaulting to "override". I turn this setting off and the errors disappeared.

    "http.proxySupport": "off" 
like image 191
Rafael Medeiros Avatar answered Sep 21 '22 13:09

Rafael Medeiros