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
posted @ 2022-04-08 15:59  ERP街上最靓的仔  阅读(3124)  评论(0)    收藏  举报