#Keep Getting "Download failed - Got status code 429"

1 messages · Page 1 of 1 (latest)

robust rose
#

Since yesterday, I keep getting this response from Github in what seems to be very randomly. I am able to download a few add-ons, but others just keep getting the same (as shown in the log). I haven't been hitting GitHub hard by any means (not knowingly at least!), I even waited overnight in case the 429 would go away, but it didn't happen.

Any ideas of what might be going on, and how to fix it?

Here's an example of what I see in my logs:

`This error originated from a custom integration.

Logger: custom_components.hacs
Source: custom_components/hacs/base.py:709
integration: HACS (documentation, issues)
First occurred: 3:08:29 PM (30 occurrences)
Last logged: 3:24:56 PM

Download failed - Got status code 429 when trying to download https://raw.githubusercontent.com/bramkragten/weather-card/v1.5.0/dist/weather-card.js
Download failed - Got status code 429 when trying to download https://raw.githubusercontent.com/Clooos/Bubble-Card/v3.0.4/dist/bubble-card.js
Download failed - Got status code 429 when trying to download https://raw.githubusercontent.com/Clooos/Bubble-Card/v3.0.4/dist/bubble-card.js.LICENSE.txt
Download failed - Got status code 429 when trying to download https://raw.githubusercontent.com/Clooos/Bubble-Card/v3.0.4/dist/bubble-pop-up-fix.js
Download failed - Got status code 429 when trying to download https://raw.githubusercontent.com/Clooos/Bubble-Card/v3.0.4/dist/bubble-modules-example.yaml
Traceback (most recent call last):
File "/config/custom_components/hacs/base.py", line 709, in async_download_file
raise HacsException(
...<2 lines>...
)
custom_components.hacs.exceptions.HacsException: Got status code 429 when trying to download https://raw.githubusercontent.com/thomasloven/lovelace-card-mod/v3.4.5/card-mod.js`

gray sequoia
#

GitHub seems to think your IP address is making too many calls to their endpoints.

robust rose
#

Right, but I am not (not knowingly at least), that's my problem! Could there be something happening in the background I'm not seeing that's generating all these GitHub calls? If so, is there a way to tell? I can't think of anything else I'm running on my house that would be hitting GitHub constantly.

limpid yarrow
#

If you just loaded HACS custom integration, it makes a lot of calls to GitHub to load the list to filter thru.
Try again in a hour or two.

gray sequoia
random dragon
#

Or just

apk add tcpdump
tcpdump -i any -s 1024 port 53
robust rose
#

I'll give tcpdump a try and see. Is there such a thing as limits per repo in GitHub? I just tried downloading something else from HACS and that worked, but went back and tried Bubble-Card and got the same 429 error again. I'd imagine limits are set by IP, regardless of the repo you are hitting, but perhaps that particular repo is giving problems?

gray sequoia
#

I just tested those files, two rounds back to back, and didn't get limited. but it's also been hours

robust rose
#

Thanl you @gray sequoia! I just tried it now (several hours later) and still getting a 429 from GitHub...it's got to be something else then, perhaps son sort of regional limit or something like that (I'm based in Chile). Oh well...I guess I'll give it a couple of days and try again to see what happens. Thank you everyone!