Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Server returned 404" when trying to install different versions of extensions in VS Code #99699

Closed
luabud opened this issue Jun 9, 2020 · 20 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions insiders-released Patch has been released in VS Code Insiders marketplace Microsoft VS Code Marketplace issues verified Verification succeeded
Milestone

Comments

@luabud
Copy link
Member

luabud commented Jun 9, 2020

  • 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: microsoft/vscode-python#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)

@sandy081
Copy link
Member

Which version are you trying to install?

@sandy081 sandy081 self-assigned this Jun 10, 2020
@sandy081 sandy081 added the info-needed Issue requires more information from poster label Jun 10, 2020
@sunbart
Copy link

sunbart commented Jun 10, 2020

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.

@Rutikhal
Copy link

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.

@Rutikhal
Copy link

my workaround to fix my issue Azure/azure-functions-python-worker#481 (comment)

@mgabeler-lee-6rs
Copy link

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

@rhymu8354
Copy link

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.

@luabud
Copy link
Member Author

luabud commented Jun 11, 2020

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.

@sandy081
Copy link
Member

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

@fiveisprime
Copy link
Member

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

@mgabeler-lee-6rs
Copy link

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

@darmawanaris
Copy link

darmawanaris commented Jun 18, 2020

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..

@bklynate
Copy link

bklynate commented Jun 18, 2020

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

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

@thomasrobertz
Copy link

Also happens for Nativescript 0.11.0

@Chupaka
Copy link

Chupaka commented Jun 23, 2020

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

@fiveisprime
Copy link
Member

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

@sandy081 sandy081 self-assigned this Jun 25, 2020
@sandy081 sandy081 added bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions labels Jun 25, 2020
@sandy081 sandy081 added this to the June 2020 milestone Jun 25, 2020
@Stropek
Copy link

Stropek commented Jun 26, 2020

Having the same problem with Python extension :(

VS Code: 1.46.1

image

@sandy081
Copy link
Member

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.

@ps-apalon
Copy link

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

@sandy081
Copy link
Member

Next stable release is planned for Thursday next week - Please follow our end game schedule here - #101289

@aryan29
Copy link

aryan29 commented Jul 5, 2020

Using vsocde-insiders 1.47.0 solved issue for me

@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions insiders-released Patch has been released in VS Code Insiders marketplace Microsoft VS Code Marketplace issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

16 participants