Skip to content

Instantly share code, notes, and snippets.

@HariSekhon
Last active May 19, 2022 10:49
Show Gist options
  • Save HariSekhon/a3bdfd44268cb80dc1b725219f7cc9f5 to your computer and use it in GitHub Desktop.
Save HariSekhon/a3bdfd44268cb80dc1b725219f7cc9f5 to your computer and use it in GitHub Desktop.
Terraform GitHub Rate Limit hit, hanging for impractically long periods of time
2022-05-18T19:06:46.951+0100 [DEBUG] provider.terraform-provider-github_v4.20.0: 2022/05/18 19:06:46 [DEBUG] Rate limit 60 reached, sleeping for 9m32.048878s (until 2022-05-18 19:16:19.000001 +0100 BST m=+572.590692663) before retrying
...
# Another run today:
...
2022-05-19T10:40:44.995+0100 [DEBUG] provider.terraform-provider-github_v4.20.0: 2022/05/19 10:40:44 [DEBUG] Rate limit 60 reached, sleeping for 59m42.004336s (until 2022-05-19 11:40:27.000001 +0100 BST m=+3599.364499530) before retrying
...
@HariSekhon
Copy link
Author

HariSekhon commented May 19, 2022

For integrations/terraform-provider-github#1153

Notice it's hitting the limit for unauthenticated users even though I am using auth for private repos, and the 1 hour delay on the second attempt the next day before it even tries to continue running... this is what's causing huge delays and the run to never finish even after hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment