How to fix "Error While Fetching Extensions. XHR Failed" error in VSCode [FIXED]

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • In this video, I'll show you how to fix the error: "Error While Fetching Extensions. XHR Failed" in visual studio code. This error usually occurs due to proxy issues, and due to this error we cannot search for extensions online.
    In this video, we will see three methods to fix: "error while fetching extensions. XHR Failed" error in vscode.
    Command: netsh int ip set dns "Local Area Connection" static 8.8.8.8
    ☕Buy me a coffee: www.buymeacoff...
    🌐Connect with me:
    - TikTok: tiktok.com/@thecodecity
    - Twitter: / thecodecity
    - Instagram: / thecodecity
    - Website: thecodecity.com
    Video Topics:
    - Change Proxy mode in visual studio code to fix "error while fetching extension. XHR failed"
    - Fix the xhr failed error using flush DNS
    - Delete cache in vscode to fix the error: "error while fetching extension. XHR ailed."
    After the video, you'll be able to flush dns, change proxy mode and remove cache to try and fix this issue in vscode, if you are still having problems, let me know in the comments below.

Комментарии • 32

  • @JasaiklanGads
    @JasaiklanGads 2 месяца назад +13

    I apply that but nothing change, still can not searching extensions

  • @anatamires5865
    @anatamires5865 День назад

    You are an angel, thank you very much, you helped me a lot!!!

  • @swatikutwal2420
    @swatikutwal2420 8 месяцев назад +4

    It's showing "the configured DNS server is incorrect or does not exist." After entering the given command....what should I do?

  • @aldoroman4732
    @aldoroman4732 Месяц назад

    The last solution worked for me, thanks man!!!

  • @muhammadazharhussein
    @muhammadazharhussein 12 дней назад

    Thanks you man, its help a lot

  • @papiasingharoy6748
    @papiasingharoy6748 3 месяца назад

    Yes , it worked the fallback option thank you it's now relief after so many videos

  • @uyennguyen986
    @uyennguyen986 11 дней назад

    Thank you so much! Your video helped me a lots! Thank you!

    • @TheCodeCity
      @TheCodeCity  7 дней назад

      Thanks for watching, glad it helped!

  • @davidpraise3547
    @davidpraise3547 2 месяца назад

    The last method worked for me.
    Thank you.

  • @santiagodevrel
    @santiagodevrel Месяц назад

    Thanks man! the flush DNS + fallback worked for me!

  • @theavazov
    @theavazov 3 месяца назад

    thanks bro, setting proxy to fallback helped me on mac

  • @thegamers.u4142
    @thegamers.u4142 5 месяцев назад

    love u bro made my vs code work now i can do coding in my holidays
    😀😀😀😀😀😀

  • @gobelin77
    @gobelin77 3 месяца назад +1

    Just autorizing VSCode to over pass basic win 7 Firewall, fix it in my system
    Go to :
    1; Contrôl Pannel
    2; Windows Firewall
    3; "Allow a program through Windows firewall" locate your programm and autorize it
    But great video thank you

  • @Developer-el4sj
    @Developer-el4sj 2 месяца назад

    Thank you bro, problem was in dns

  • @ssjvenom8498
    @ssjvenom8498 2 месяца назад

    after using all method it didn't worked . can anyone tell what should i try ??

  • @gianfrancoomarleivasantill5178
    @gianfrancoomarleivasantill5178 Месяц назад

    Thank you!

  • @olgaorlova1285
    @olgaorlova1285 2 месяца назад

    flushing helped me thanks !

  • @dhoadhoashwopno2877
    @dhoadhoashwopno2877 Месяц назад

    I am trying 1.45 hour but it doesn’t work😢
    Please help brother

    • @lbrianl9613
      @lbrianl9613 Месяц назад

      Translate this: Probablemente cambiaste la politica de seguridad de windows si te suena algún comando como este: Set-ExecutionPolicy -< debes cambiarlo a Restricted nuevamente, si te tirá error abre CMD as Admin and then use Set-ExecutionPolicy -Scope CurrentUser. and Change it. saludos

  • @ShioriPlayz
    @ShioriPlayz 7 дней назад

    in my laptop still the same

  • @DungVan-bw8bw
    @DungVan-bw8bw 3 месяца назад

    Thanks u bro

  • @user-oy4uc8of4l
    @user-oy4uc8of4l 3 месяца назад

    video did not work

  • @sridgegaming7634
    @sridgegaming7634 4 месяца назад

    Thanks dear ❤

    • @TheCodeCity
      @TheCodeCity  4 месяца назад

      You're welcome! glad it helped!

  • @Dark.Nexus_9
    @Dark.Nexus_9 4 месяца назад

    none worked tbh

  • @prakhargarg4166
    @prakhargarg4166 3 месяца назад

    thanku bro

  • @yashphatale5939
    @yashphatale5939 4 месяца назад

    Unexpected token '#', "#include

    • @monikaa67
      @monikaa67 Месяц назад

      Same ... ky apka error sahi ho gya??

  • @Developer-el4sj
    @Developer-el4sj 2 месяца назад

    Thank you bro, problem was in dns