Vscode: Cannot install any extension

Created on 9 Aug 2019  路  13Comments  路  Source: microsoft/vscode


  • VSCode Version: 1.37.0 (user setup)
  • OS Version: win 10 1903

Steps to Reproduce:

1.the search of extension work fine
2.if open or download any extension, will failed


Does this issue occur when all extensions are disabled? yes
image

extensions needs more info

Most helpful comment

@abdolrhman
thanks for help
finally i solve the problem. when you told me "DNS", i try to put a "DNS" in router rather than "blank" and it is work
thanks 馃槉

All 13 comments

Help -> Toggle Developer Tools, any errors there?

yes
image

same !!!!!!!

@BeemenSameh Would be helpful if you can select and copy-paste those errors here. Thanks.

@octref

/C:/Users/beman/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1450 ERR An unknown error occurred. Please consult the log for more details.

/C:/Users/beman/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:5329 Error
extensionsWorkbenchService.install.then.t @ /C:/Users/beman/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:5329

/C:/Users/beman/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2478 Failed to install 'donjayamanne.python-extension-pack'.
onDidNotificationChange @ /C:/Users/beman/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:2478

/C:/Users/beman/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1450   ERR An unknown error occurred. Please consult the log for more details.

Are you connecting with a proxy?

I have same error, i dont use proxy,
i noticed that the one who posted this error from same country,

maybe the DNS, the internet service provider problem ??

@roblourens
no, i don't use proxy
all thing is alright even browser or when i search on extensions in vs code but if i want download any one, it will appear to me the error message "failed to install "
this appear after last update

@BeemenSameh. From your screenshot, are you trying to access this image? Can you check the "failed to load resource" url and put it here?

https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2019.8.29288/1565127378610/Microsoft.VisualStudio.Services.Icons.Default

When you open it in browser, or run the below curl command, what happens?

curl https://ms-python.gallerycdn.vsassets.io/extensions/ms-python/python/2019.8.29288/1565127378610/Microsoft.VisualStudio.Services.Icons.Default > python.png

@abdolrhman
thanks for help
finally i solve the problem. when you told me "DNS", i try to put a "DNS" in router rather than "blank" and it is work
thanks 馃槉

@BeemenSameh i said DNS :(

If you are able to repro it, provide us the logs from the following location

F1 -> View: Open View -> Log (Shared)

Also can you please try with previous release -

https://az764295.vo.msecnd.net/stable/2213894ea0415ee8c85c5eea0d0ff81ecc191529/VSCodeUserSetup-x64-1.36.1.exe

Would like to understand what caused this change.

Was this page helpful?
0 / 5 - 0 ratings