profile
viewpoint

Ask questionsXHR Failed on trying to install plugins via Visual Studio code

<!-- Do you have a question? Please ask it on http://stackoverflow.com/questions/tagged/vscode. -->

<!-- Use Help > Report Issues to prefill these. -->

  • VSCode Version: 1.16.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. When trying to install a plugin, i get an error XHR Failed.
  2. Also when i try to download the extensions manually and try to install it via the options "install from VSIX", it fails silently.
  3. I am behind a proxy network.
microsoft/vscode

Answer questions mohamed-mokhtar

i got same problem and solved it by doing that

  1. Go to : Control Panel\Network and Internet\Network Connections
  2. Choose your connection network and ( right click on it then choose properties )
  3. Select " Internet Protocol Version 4 (TCP/IPv4) and then click on properties in the bottom of this section
  4. At General section click on " Use the following DNS Server address : "
  5. Make " Preferred DNS server : 8.8.8.8 "
  6. Make " Alternate DNS server : 8.8.4.4 "
  7. Restart VS code
useful!

Related questions

the terminal process terminated with exit code #259 hot 7
The terminal shell CWD &#34;/c:/User...&#34; does not exist - vscode hot 4
Insiders - We cannot connect to the Extensions Marketplace hot 4
Bad message: Cannot launch program 'c:\...'; setting the 'outFiles' attribute might help. hot 3
Show offending file path, when "Tokenization is skipped for long lines for performance reasons. The length of a long line can be configured via `editor.maxTokenizationLineLength`." hot 3
launch: program ''does not exist hot 2
format code alt + shift + f hot 2
Corrupt ZIP: end of central directory record signature not found hot 2
"Initializing JS/TS Language Features" appears every time I open a JS file hot 2
dart is not recognized as internal or external command hot 2
Logitech MX Master: Horizontal scrolling via scroll wheel doesn't work hot 2
VS Code doesn't read Git packed-refs hot 2
Is it possible to use wsl bash php for php.validate.executablePath hot 2
Error message: Sorry, Java IntelliCode Support has problem, for more details, please view Output hot 2
Git Fetch fails with Missing or invalid credentials hot 2
source:https://uonfu.com/
Github User Rank List