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
Rate limit reached #842
Comments
|
For many cases it wouldn't be necessary, for that case maybe pausing yay like we do when the db lock is in place is the best solution EDIT: This is a rate-limit on 24h , not on burst |
|
Hmm. It seems this build entered a dependency cycle somehow. For instance grep for |
|
If that's due to the provides searching, you could try with |
|
For many cases what wouldn't be necessary? What is pausing anything going to do? The AUR is rate-limited -- you get 4000 requests per 24-hour period, and unless you want to pause yay for a day I'm not sure what solution you are visualizing. The problem uncovered by the build in question seems to be that yay manages to submit far too many API requests in rapid succession. That's what a rate limit deals with, after all. Those loops and provides queries look suspicious... (The rate limit was initially established to prevent abuse like running |
Indeed, that seems to be the case. Would you consider automatically adding |
Sure, it is pointless after all. It was kind of a known bug that there can be some funkiness with self providing dep cycles. I never thought about adding Yay should be caching rpc requests though, so it sounds like there may be another bug there sadly. |
|
Hmm, just thought that maybe using |
|
That's true. Maybe actually fixing the infinite loop when dep cycles are hit should just be done instead. |
|
Using (But I don't really get the point of supporting them to begin with, the AUR is not feature-compatible with actual binary repos and I wouldn't expect replaces to work either.) |
What if that suitable package is itself? The problem occurs with dep cycles that provide something and also depend on it. Package |
|
With #866 the depsolver should again no longer be able to get stuck in a loop. |
|
Thanks! |
|
This is still happening to me. It's just happening on every operation. It's happeed a few times and I don't know what caused it EDIT: I rebooted and the problem remains. There are no pending updates |
|
The same to me. |
|
I just encountered this problem too. |
|
Same as @list17 |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
The same to me. |
|
Solved with provides changes. New RPC endpoint and new engine should bring this under control |
Affected Version
yay v9.0.1 - libalpm v11.0.1
Issue
When a lot of packages with alternative are installed with
--noconfirm, the install can fail with "Rate limit reached".Steps to reproduce
It may or may not happen depending on your connection.
Output
"Rate limit reached"
https://builds.sr.ht/~delthas/job/17160
The text was updated successfully, but these errors were encountered: