Vscode: "Server returned 404" when trying to install different versions of extensions in VS Code

Created on 9 Jun 2020  路  20Comments  路  Source: microsoft/vscode




  • 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


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)

bug extensions insiders-released marketplace verified

Most helpful comment

The marketplace team has an idea of what's going on and they're looking into a fix.

All 20 comments

Which version are you trying to install?

Same thing happens to me. (same Win & VSCode versions as luabud)

This doesn't happen while installing, but before - it happens when VSCode tries to get the list of available versions to show under the "Select Version to Install" popup. (At least that's what I assume is happening)

The action sequence is:

  1. Click on the Manage button of the extension in the Extensions list
  2. Select "Install Another Version..." from the menu
  3. The "Select Version to Install" prompt appears, with a loading indicator running at the bottom of it
  4. After a few seconds, the "Server returned 404" error notification appears and the "Select Version to Install" prompt disappears.

The same for me. I had an issue today with Azure Functions local dev (python worker) in VSCode and I noticed that was update 8th of June of Python extension, to troubleshoot I wanted to install previous version of this extension but having error described here.

I'm seeing this error with vscode 1.45.1 and 1.46.0 (Linux Debian amd64) with _all extensions_.

Running under code --verbose, I get the attached log snippet (I trimmed everything before I hit the "install another version" and after it reported the "404" error. Spot checking the URLs it says it hits I'm not getting any 404s in my browser, so not sure where the error is coming from.

try-get-go-versions.log

I've started seeing this with vscode 1.45.1 on Windows, but only for one extension (CMake Tools) which I had to revert to an earlier version due to a breaking bug. Now I'm locked into the version I have, or to update to the latest which is broken for me.

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.

@fiveisprime Seems Marketplace is returning 404s for the valid URIs.

The marketplace team has an idea of what's going on and they're looking into a fix.

This is now working for me for _some_ extensions, but not all. Not sure if this is a CDN issue or what?

I got this problem too when i want to install another version of terraform extension.

VSCode version : 1.46.0
OS : 16.04 xenial

Seems the issue "Server returned 404" still happening..

Currently experiencing this issue as well... with the Go language plugin

Screen Shot 2020-06-18 at 12 51 05 PM

Also happens for Nativescript 0.11.0

VSCode 1.46.1, still 404. @fiveisprime, any news from marketplace team?

Reached out again this morning and I'll let you know what I hear back. Sorry for the issues. :(

Having the same problem with Python extension :(

VS Code: 1.46.1

image

Added a fix in VS Code to ignore those versions which throw error (Eg: 404). So now you can see the list of versions even though some fail.

@sandy081 do you have any ETA on when this will actually be "fixed" for everyone?

Next stable release is planned for Thursday next week - Please follow our end game schedule here - https://github.com/microsoft/vscode/issues/101289

Using vsocde-insiders 1.47.0 solved issue for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

philipgiuliani picture philipgiuliani  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

villiv picture villiv  路  3Comments

curtw picture curtw  路  3Comments

vsccarl picture vsccarl  路  3Comments