-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
"Activating extension 'matklad.rust-analyzer' failed" #3280
Comments
Ah, restarting VS Code brings the prompt back up to install the language server. It seems if the download stream errors out, then the "download successful" flow is still kicked off, but doesn't have the right output available so all values are "null". This seems it could be related to the work done around #3092. |
Confirming that the root cause of the stream getting stuck and timing out is outside of rust-analyzer. Downloading manually from GitHub Releases also gets stuck. This might be a problem with my local network or with GitHub Releases. The problem about the "success" flow being kicked off when a download stream times out is likely the only problem rust-analyzer could address. |
Switched my laptop to tether from my phone, and was able to successfully download from GitHub. It must be because of an interaction with the local network here (on friend's WiFi). |
@yoshuawuyts, when you reloaded the VSCode did it fail with the same P.S. It's also helpful to see that the download took 5+ minutes (maybe we should not remove that log message as we did it in #3261 @matklad)? |
And I know where that circular JSON error comes from, though this should not be the cause of the problem (it just was an untested sanity-check path, i.e. |
3288: Quick fix circular json error when sanity-check fails r=matklad a=Veetaha Related issue: #3280 Co-authored-by: Veetaha <[email protected]>
Failed with:
|
Oddly, installing
Then reenabled the extension on VSCode and it downloaded successfully and installed successfully. Strange. |
@erayerdin |
@Veetaha I had been experiencing this issue for a week now. That's the strange part. Whatever, I have solved it at least (or the problem solved itself, idk). Someone else might provide more insight. |
Huh, I was getting this issue for a while and was completely puzzled. I'd get prompted to update but noticed 403 errors in the logs. Turns out, GitHub (accidentally?) rate limited traffic from my employer's network. Going off VPN resolved the issue. |
This is probably addressed now. GitHub will always be flaky from time to time, but a new issue would probably be better if we still do error handling wrong. |
I just updated to the latest rust-analyzer, which prompted the installation of the language server "2020-02-17".
During installation the progress bar didn't progress smoothly, but instead on different attempts got stuck at early stages of the download such as 5%, 14% or 20%. While I was trying to debug this I kept the devtools open, and to my surprise at some point the download did succeed. But with errors.
Screenshots
The text was updated successfully, but these errors were encountered: