robotnix icon indicating copy to clipboard operation
robotnix copied to clipboard

429 "Short term server-time rate limit exceeded" when cloning

Open MatthewCroughan opened this issue 7 months ago • 4 comments

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: 

MatthewCroughan avatar Jun 04 '25 10:06 MatthewCroughan

im receiving similar errors

mahmoodsh36 avatar Sep 22 '25 23:09 mahmoodsh36

Same...

It proves to only show itself intermittently though

x10an14 avatar Sep 26 '25 21:09 x10an14

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.

puffnfresh avatar Nov 08 '25 01:11 puffnfresh

You need to limit the amount of parallel downloads using -j in order to avoid rate-limiting. I usually use 2-4.

Atemu avatar Nov 14 '25 10:11 Atemu