Visual Studio Code "Error while fetching extensions. XHR failed"


來源:https://stackoverflow.com/questions/70177216/visual-studio-code-error-while-fetching-extensions-xhr-failed/70294449#70294449
1、so i find this

press f1
search user setting
click enter
search on user setting " proxy "
click enter
look for "use the proxy support for extensions."
change overide to on
maybe this can help you.

2、I had the same problem, and finally, today, I just resolved it.

All you need to do is enter to the json settings file from VSC

  1. Press F1
  2. Type User Settings
  3. Search for Proxy
  4. In proxy section, look for the title Http: Proxy Autorization
  5. Click on 'Edit in settings.json'
  6. Delete all brackets containing proxy data
  7. Save json file
    After that, just restart VSC You can also find the json find on %appdata%/Code/User/settings.json


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM