-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
Problem installing addons #2186
Comments
During addon installation is This warning message is important and I will change message severity from WARNING to FATAL.
|
@tmszi thanks for explanation. I don't understand why I exceeded the number of request, there is still some problem related to #2137 ? I try to install addons immediately after the compilation. I agree to switch WARNING to FATAL since addons installation will fail. Is it possible to use standard http request instead GitHub API server? |
Rate limit exceeded error, is GitHub REST API server limitation (number of allowed request per hour per your computer ip address), it is not bug in our code. The solution is to pay money GitHub to increase the limit, or PR #2140.
|
@tmszi thanks a lot for the clear explanation. Now I have fully understand! I tried with grass-7.8.7RC1 tag but it doesn't work, however I tested #2140 (#2140 (comment)_ ) and it work properly, now the problem remain |
Yes you are right. I backported this PR #2139 into Git dev branch releasebranch_7_8, releasebranch_8_0, which means this bug is solved (if you hit GitHub REST API server rate limit during compilation process, it will be handled correctly) with PR #2139 and a fix will be included in the next official grass-7.8.7RC2 and grass-8.0.1 release. Actually PR #2140 is only for GRASS GIS 8.1 dev release. Is there a chance that you would compile GRASS GIS 7.8 from the Git dev branch releasebranch_7_8 and GRASS GIS 8.0 from the Git dev branch releasebranch_8_0? Or if you want use official release grass-7.8.7RC1, or grass-8.0.0 I prepare patch for you.
Could you wait if GitHub REST API rate limit is freed, please? I plan to change this message
so that there is a time when it will be possible to make request/response from GitHub REST API server again, something like that.
|
@tmszi do you know what the limit is? Is there a scenario when you compile without git and don't hit the limit given 500 modules? I don't think it's likely somebody would be paying for the access. It just seems to me this whole thing is very complicated and nobody will be able to use it, or? |
BTW: Not sure if it helps, just FYI. |
For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the person making requests.
No it's not. But solution could be use authenticated user. User-to-server requests are limited to 5,000 requests per hour and per authenticated user. But I think we would get over it pretty quickly anyway. Another solution could be #2140.
I meant if GRASS GIS GitHub repo would be promoted to GitHub Enterprise account (which is paid) which has higher limit for authenticated user 15,000 API calls per hour.
I agree with you, but we are currently dependent on a proprietary remote GitHub REST API solution. |
I fully support the #2140 solution
This the worst of part of all the problem. We are using to much this proprietary solution, first for code, after for discussions and now also in the code, I'm a little bit worried if Github will change it's rules... |
We definitively lack an exit strategy. However, there are practices we can follow to minimize the issue, for example source code in Git is easy to transfer elsewhere, or it is at least well-defined and common issue, while API calls sprinkled in the source code are tricky. |
With #2895 this issue should be less likely to show up (if it shows up at all). #2895 uses |
Is this still an issue? |
Closing as no response from author, and outdated |
Describe the bug
Impossible to install addon from g.extension
To Reproduce
Steps to reproduce the behavior:
Running g.extension on Singularity file have an error on github server, it seems something similar to #2137
I'm not able to reproduce on my own laptop
Expected behavior
The addons is installed correctly
System description (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: