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