profile
viewpoint

Ask questions"Server returned 404" when trying to install different versions of extensions in VS Code

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->

<!-- Use Help > Report Issue to prefill these. -->

  • VSCode Version: 1.45.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Open the extensions view and install the Python extension (or the Docker extension)
  2. Click to install a different version of the extension
  3. See the "Server returned 404" notification prompt

<!-- Launch with code --disable-extensions to check. --> Does this issue occur when all extensions are disabled?: No

The issue was originally filed here: https://github.com/Microsoft/vscode-python/issues/12217, but it can also be reproduced with the Docker extension.

image

Log (Window):

[2020-06-09 10:59:40.899] [renderer1] [error] Server returned 404: Error: Server returned 404
    at Object.t.asJson (file:///C:/Users/luabud/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1839:954)
    at file:///C:/Users/luabud/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2030:39
    at async Promise.all (index 13)

microsoft/vscode

Answer questions luabud

Which version are you trying to install?

I don't get to select a version, just by clicking on "Install version..." it throws that error.

image

I tried it with previous versions of the Python extension just in case, but that didn't change. And again, that can be reproduced with other extensions e.g. Docker and CMake Tools as said here. It's not happening to all extensions for me, it's working with the C/C++ extension.

useful!

Related questions

the terminal process terminated with exit code #259 hot 7
XHR Failed on trying to install plugins via Visual Studio code
The terminal shell CWD &#34;/c:/User...&#34; does not exist - vscode hot 4
Insiders - We cannot connect to the Extensions Marketplace hot 3
Bad message: Cannot launch program 'c:\...'; setting the 'outFiles' attribute might help. hot 3
Show offending file path, when "Tokenization is skipped for long lines for performance reasons. The length of a long line can be configured via `editor.maxTokenizationLineLength`." hot 3
launch: program ''does not exist hot 2
format code alt + shift + f hot 2
Corrupt ZIP: end of central directory record signature not found hot 2
"Initializing JS/TS Language Features" appears every time I open a JS file hot 2
dart is not recognized as internal or external command hot 2
Logitech MX Master: Horizontal scrolling via scroll wheel doesn't work hot 2
VS Code doesn't read Git packed-refs hot 2
Is it possible to use wsl bash php for php.validate.executablePath hot 2
Git Fetch fails with Missing or invalid credentials hot 2
Github User Rank List