429 "Short term server-time rate limit exceeded" when cloning
Just trying to build an image once results in Google rate limiting the IP. I haven't found a way to provide an API key or token.
remote: [type.googleapis.com/google.rpc.RequestInfo]
remote: request_id: "4acc0f88c0dc49ea804ba85a64d64ba1"
fatal: unable to access 'https://android.googlesource.com/kernel/prebuilts/6.6/x86-64/': The requested URL returned error: 429
remote: RESOURCE_EXHAUSTED: Resource has been exhausted (e.g. check quota)
remote: [type.googleapis.com/google.rpc.QuotaFailure]
remote: violations {
remote: subject: "ip/*"
remote: description: "Short term server-time rate limit exceeded"
remote: }
remote:
im receiving similar errors
Same...
It proves to only show itself intermittently though
One trick is to use the -k flag and try again a few times. The third time I ran with that, it succeeded.
A different solution would be to add mirrors, e.g. I know that LineageOS has some GitHub repositories which provide some of these commits.
You need to limit the amount of parallel downloads using -j in order to avoid rate-limiting. I usually use 2-4.