-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Can not update extensions due to "Error: Server returned 404" (rust-analyzer) #149518
Comments
I've met the same problem. When I clicked the button VS Code Version: 1.67.1(universal) |
Version: 1.67.1 same issue here. not sure if its related but happened at the same time i messed with the rust extensions. i thought |
I have faced the same problem. It seems that the change in the Marketplace identifier of rust-analyzer from |
Version: 1.67.1 I got the same problem when use |
Same problem here. Having rust-analyzer installed prevents any extension update. |
Hey @sandy081 is it possible to escalate this? It's becoming a security issue. People suffering from this are not receiving any extension updates and are falling behind on extension security patches. Thanks! There might be a temporary fix that someone on the marketplace side could do for rust-analyzer specifically, though fixing the root causes in vscode would be fantastic as well. |
Fully agree that this is a security issue; users have no way to know that their auto updates are not working. There is no indication that updates are even available. |
I see some more symptoms in my installation. I see different behavior between just opening the extension page or first searching for the extension and then opening the page. Using the pre-release version also seems not to cause issues with updates. More details are here rust-lang/rust-analyzer#12305 (comment) |
In my case, I can't even install the extension. I've just setup a codespace but I receive a "Server returned 404" error when trying to install rust-analyzer. |
@isidorn Would you be able to triage this one given your activity in the rust-analyzer and marketplace repos? |
@rlabrecque Apologies that I did not notice this. Will investigate soon. Are there any simple steps to reproduce? |
It seems I am not able to install release versions of this extension at all |
Marketplace CDN is returning 404 for following request
Marketplace is returning above URL indeed when querying for this extension |
Here are the issues I noticed:
Root cause is that Marketplace when requested for latest versions, is returning Irrespective of that, an error while updating one extension shall not prevent other extensions. |
Looking into it |
The extension was recently transferred to a new publisher 'rust-lang' and there is a step that got missed from the publisher end. I will reach out to the publisher and discuss on this. |
Yes - it fixes the update. |
I updated to the latest rust-analyzer version The latest rust-analyzer release contains the PR "internal: Publish universal VSIX to make VS happy" rust-lang/rust-analyzer#12349 |
@jonasbb I assume the latest version for universal is not yet published to marketplace, the latest version for universal is still 0.2.853 on marketplace |
@SaiKanth007 The last two releases (release and pre-release) are based on the above linked PR. The release |
Publishing the universal VSIX failed in https://github.com/rust-lang/rust-analyzer/runs/6549037342?check_suite_focus=true#step:19:36 with an Maybe we should make sure to put the universal VSIX first in the list? |
@SaiKanth007 just informed me he is investigating. We should have more details soon. |
It seems like this error is coming from the This is a workaround. Sorry about this. |
Would we have to do that only once, or every time? I don't know whether we have access there. |
Another workaround as @lnicola suggests - publishing universal first before other versions should work. And yes, you should only need to do this once. We want you to keep your nice automatic flow. |
internal: Try to publish the universal VSIX before the other ones CC microsoft/vscode#149518 (comment)
@isidorn that appears to have failed in an interesting way in https://github.com/rust-lang/rust-analyzer/runs/6559062568?check_suite_focus=true. |
@lnicola thanks a lot for trying. I suggest to try to upload the universal version directly via Marketplace UI then. And I apologise again for the issue, it seems like the combination of platform specific extensions and renaming the extension publisher uncovered quite some issues on our side. |
AFAIK neither of us has access, so that might be problematic. And yeah, don't worry, we've had some fun with platform-specific extensions before. |
@lnicola I will drop you and Alexey an email. We have an idea. |
rust-analyzer extension team has published an universal version which fixed this issue in VS Code stable. Hence closing this. Thanks a lot @lnicola for your active involvement in getting this issue fixed. Very much appreciated 👏 |
Wait, how did it fix the issue? Publishing the Alpine VSIX failed right afterwards. |
Fix for this issue needed any universal version >
This seems to be a different unrelated issue which shall be looked at separately. |
Thanks everybody for tackling this weird issue. Community please let us know if somebody can still reproduce this problem. |
Update: publishing went through! The Marketplace still has a minor issue where it's only showing the pre-release versions (because they're higher than the stable ones), but that's not a new problem. |
Hey guys, I accidentally removed my rust-analyzer and now I cannot install it for the same reason. Is this supposed to be fixed? |
@sesameJar did you try restarting Code afterwards? |
Still had a similar issue, I upgraded to latest VS Code (1.68.1) and it works now. |
Steps to Reproduce:
Uninstalling rust-analyzer 0.2.853 resolved this for me.
Expectations:
Developer Tools Console output:
The text was updated successfully, but these errors were encountered: