-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
VS Code marketplace rate limit error #12840
Comments
@l0rd it is problem we discussed today. |
Full exception as reported by @benoitf: {
"$id":"1",
"innerException":null,
"message":"Anonymous usage from IP address ***** has exceeded our rate limits and is being blocked. Anonymous access from this IP address will be unblocked within the next 1 minute. You can also consider logging in to get unblocked. Logged in users have higher limits. Learn more: https://go.microsoft.com/fwlink/?LinkId=823950.",
"typeName":"Microsoft.TeamFoundation.Framework.Server.RequestBlockedException,Microsoft.TeamFoundation.Framework.Server",
"typeKey":"RequestBlockedException",
"errorCode":0,
"eventId":3000
} cc @slemeur |
The possible solution for this problem can range from a lazy caching mechanism (once we request one vs code extensions we don't request it anymore) to a vs code extension mirror (we pre-fetch all the extensions). In the short term, to mitigate the problem, we could look at these solutions:
|
Additional details for the assignee: |
I also hit this issue having just 1 or 2 plugins (I reproduced several times with a mix of Camel, Java and XML) in my stack. this is quite annoying and it was not easy to find the root cause. What about an even shorter-term solution which is reporting a better error message to user, inviting her/him to retry later pointing that there is a rate limit reached? |
The latest vsix have been "released" on github: |
@skabashnyuk @garagatyi @l0rd guys, I'm not very fluent with plugin versioning update process. Could you please clarify the policy? e.g. both xml and yaml plugins used in our registry are obsolete. Should we create dedicated folders with versioning? So, far I created eclipse-che/che-plugin-registry#113 just for url switch |
@ibuziuk problematic part is that we do not have proper ways for a user to use newer version of plugins in a workspace. So, we usually update just URL to the binary of the plugin. At this point of time I'm +1 to create new version for yaml and xml plugins. |
@garagatyi @l0rd so are you ok if UD would display 'n' versions of plugin atm once we add latest versions to the registry? |
@ibuziuk since you have done the first PR can you add the newest version of JDT LS as well? Hence adding new meta.yaml. |
@l0rd sure thing will do |
vscode-yaml 0.3.0 and vscode-redhat.java recent builds have now been attached to github releases |
Is usage of Github release artefact a temporary hack? |
@apupier yes, this might be temporary if we find a better way to avoid rate limit issues, so far there was no straight forward solution found |
@ibuziuk @apupier this is a temporary solution to mitigate a blocking problem. After Che 7 GA is released we should start working on a lazy caching mechanism or a VS Code Marketplace mirroring as described #12840 (comment). |
Includes changes required for naming convention and vs code marketplace rate limit error: - eclipse-che/che-plugin-registry#55 - eclipse-che/che#12840
@l0rd atm there are only 2 plugins that still use marketplace (node-debug / node-debug2), so I sent PR for updating prod (also includes naming convention changes) - openshiftio/saas-openshiftio#1255 Once merged I believe we can stop working on this issue at least till GA since the error should not appear with the updated registry. It might make sense to add some section in README to discourage referencing marketplace directly for the time being WDYT? |
@ibuziuk thanks makes sense |
Includes changes required for naming convention and vs code marketplace rate limit error: - eclipse-che/che-plugin-registry#55 - eclipse-che/che#12840
Sometimes hit this problem during installation of java debugger - microsoft/vscode-java-debug#583 |
The initial commit for PHP Intelephense Language Support extension. The aim is to create the `Releases` download source the extension `vsix` archives on GitHub in order to workaround the `VS Code marketplace rate limit error #12840` issue (eclipse-che/che#12840) Issue eclipse-che/che#12797 Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
@ibuziuk |
@benoitf I haven't tried but I believe any link with valid |
I mean, these links are generics, it's easy to have links for any vs code extension and it's like the final redirect of marketplace download so there is no limit rate |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Description
VS Code marketplace impose rate limiting on access to the extensions binaries.
PR eclipse-che/che-plugin-broker#35 makes broker do retries and send pretty error to Che but still doesn't prevent blocking of workspace start because of rate limiting.
This often happens when user sets many VS Code extensions in his workspace configuration or several users share public IP which gets blocked when access rate is too high.
It seems VS Code itself bypasses this problem, but I haven't found how. We need to investigate how exactly it is done.
Another possible improvement is not to download extensions when workspace plugins list doesn't change, so provisioning could be cached.
Related issues:
#12831
#12762
Reproduction Steps
OS and version:
Diagnostics:
The text was updated successfully, but these errors were encountered: