Anyone else having issues with Github today?
"failed with 403: rate limit exceeded" when diff generation at deploy - seems quite frequent at the moment.
Do you know offhand if the requests you make to github are credentialed? If I recall correctly, unauthenticated requests have much lower rate limits than those with credentials. I can't deploy to Dimagi-managed environments without credentials, since we tag deploy commits (which require write access), but I think for third-party environments, you might not even get prompted for credentials.
Anyways, if not, I believe you can either set a GITHUB_TOKEN
environment variable, or add it to a local config.py
, which you can make by copying and renaming this file in the same directory (more details in that file). You can see how this is referenced in github.py
I'm just doing a standard deploy from a monolith server so Ansible is handling those requests I guess. That said, this is a mirror of an existing server at a new IP and DNS address that I'm using for troubleshooting so I'm not sure if there's anything in there that might cause it. I don't normally have issues deploying but perhaps there's something I've missed. I'll keep an eye on it. Thanks Ethan!