rpi-update: Rate Limit exceeded

Hello,

GitHub has a rate limit in place for API requests. When I do rpi-update it says I have hit this limit.

 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7635  100  7635    0     0  20220      0 --:--:-- --:--:-- --:--:-- 26058
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** No hash received from github: https://api.github.com/repos/Hexxeh/rpi-firmware/git/refs/heads/master
{
  "message": "API rate limit exceeded for X.X.X.X. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
  "documentation_url": "https://developer.github.com/v3/#rate-limiting"
}

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 19 (3 by maintainers)

Most upvoted comments

I don’t think the issue is fixed until a personal access token can be provided.

I’m not upset, was just trying to figure out what’s going on. And I’m just working with a single Pi.

Apparently the issue was caused by a BitBar plugin which pulls GitHub notifications every 30 seconds, which was running on a different computer in the same LAN. Even though this plugin was using an access token to authenticate to the GitHub API, temporarily disabling it and waiting until the rate limit state reset allowed me to run rpi-update without any issues.

@darkwinternight Feel free to submit a pull request that allows an access token to be specified.

Why was this closed? I just ran into this issue.