“rate limit exceeded”

Since I have installed some of Wander’s apps, I have a problem with Obtainium and Github. Probably because Wander’s apps are frequently updated, when I want to update via Obtainium I get the notification “rate limit exceeded” for new versions and I can’t update them. I also can’t add new apps in Obtainium.

Solutions?

2 Likes

This usually means that Obtainium has hit GitHub’s temporary request limit. You might have to wait for the limit to reset. Does it tell you how long it takes to reset?

1 Like

Sometimes it says 2 minutes, sometimes 43 minutes, sometimes nothing at all, this changes. I’ve now changed the minimum age for updates to 14 days, so the newest updates should be excluded.

2 Likes

Sorry for the trouble, @kiss_less. That’s on my side of things: I push each fix as it’s ready, so the apps update often, and a lot of releases means a lot of checks for Obtainium. Your 14-day minimum age is a sensible fix, and it’s fine to keep.

There’s another way that lets you keep getting updates quickly. GitHub only lets an app check about 60 times an hour without logging in, and about 5,000 with a free token. Obtainium has a field in its settings for a GitHub personal access token. A token with no permissions ticked is enough, since these repos are public. Checking for updates a little less often helps too.

I’ll put a note about this on the install page at wanderthe.dev as well.

2 Likes

Thank you for the informations. I will use Obtainium less and hope, it will work that way. I looked at the idea with the personal access token in the GitHub Docs, and that is too complicated for me, being just a user of android apps, I don’t have an account at GitHub.

2 Likes

No worries at all, and you don’t need a token. Checking less often is the right call. You can also update by hand: the releases page on GitHub needs no account, so you can download the newest APK and open it to install over the old one. Thank you for trying the apps.

2 Likes