The issue seems to be certificate related. 1. Press F1 Asking for help, clarification, or responding to other answers. For me , 'XHR failed' error appears when the proxy settings between your PC system and vs code are conflict. Details in this blog.If you find value in this platform and are able to contribute, please contact us at [email protected]. I also have sometimes to work behind a corporate firewall, and the following worked for me with VS Code 1.66.1 : I faced the same problem. Contents hide 1 Use a direct internet connection 2 Turn on automatic proxy detection 3 Ignore certificate errors in VSCode 4 Disable JS source maps 5 Change your DNS 6 Install the extension offline using VSIX file Use a direct internet connection Content Discovery initiative April 13 update: Related questions using a Review our technical responses for the 2023 Developer Survey, VS code error installing extensions net::ERR_PROXY_CONNECTION_FAILED, How to associate a file extension with a certain language in VS Code, Downloading typescript definition file in Visual Studio Code from behind a proxy, VSCode can't detect the installation only when installing the C# extension, python corporate firewall proxy 407 authentication required error. Users have reported that when they try to install an extension, especially behind a proxy network, they are presented with XHR Failed error. XHR Failed indicates that a few XHR requests may have been failed or interrupted while VSCode sends and receives extension information from the server. Try downloading the extension from VS Code. Web1.Check PC system proxy settings. Did the Golden Gate Bridge 'flatten' under the weight of 300,000 people in 1987? Solution Updated on 2023-01-11 GMT+08:00 Symptom Or Possible Cause The disk space of /home/ma-user/work is insufficient. I'm using a network provided by XFinity and the DNS is automatically set to comcast DNS. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. I am using Windows 10 and behind a corporate firewall. XHR failed", https://code.visualstudio.com/#alt-downloads, How a top-ranked engineering school reimagined CS curriculum (Ep. Identify blue/translucent jelly-like animal on beach, Folder's list view has different sized fonts in different folders. To learn more, see our tips on writing great answers. Same problem, and Help-Toggle Developer Tools-Console show: net::ERR_CONNECTION_RESET. Tried reboot,reinstall,reset network,change DNS,change proxy click enter. Try downloading the extension from VS Code. How I Solved XHR Failed Error on visual studio code - YouTube How to Fix Error While Fetching Extensions. XHR Failed in I fixed this by reinstall System Installer version from: https://code.visualstudio.com/#alt-downloads, it seems a network/file permission problem I guess. I changed the DNS server to be 8.8.8.8 and solved it. The Error Error while fetching extensions. XHR failed, is an error that is invoked whenever you are coding in visual studio code. Given below is the snippet of the error you might get: "Error while fetching extensions. XHR failed" I would like to share with you the steps I took to fix the Error while fetching extensions.