Open coretemp opened 6 years ago
Hitting this sometimes as well. Sometimes it's enough to just run the same command again immediately but other times it's a forced coffee break. I feel like it happens more often in NixOps than in Terraform for example but that's hardly a scientific observation 😅
some services will also report how many hits you have done, how many remain in your quota, and when it resets, in an http header, and you can then limit yourself to avoid hitting them, that could also be looked into
but a quick glance at the aws headers shows no such tips being hidden in the reply
This issue is blocked by https://github.com/NixOS/nixops/issues/504.
NixOps doesn't cope with rate limits.
NixOps could output the amount of requests being done to the various APIs and produce a report on such failure which could then be sent to AWS support immediately.
In my case running the exact same command (nixops deploy) again worked.
NixOps could also try a bit harder. E.g. run three times in a row with 5 seconds in between before raising the white flag.