Google Drive is rate limiting transfers of large files. Rclone stops upload and waits, then starts the upload from the start. Google rate limits at the exact progress again. This causes continuous uploads and failures, which keeps the rate limiting up. And this looks seems to go on until manual intervention, which requires deletion of the file.
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.2
os/version: ubuntu 22.04 (64 bit)
os/kernel: 5.15.0-1052-oracle (aarch64)
os/type: linux
os/arch: arm64 (ARMv8 compatible)
go/version: go1.21.6
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
googleapi: got HTTP response code 429 with body: <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>Sorry...</title><style> body { font-family: verdana, arial, sans-serif; background-color: #fff; color: #000; }</style></head><body><div><table><tr><td><b><font face=sans-serif size=10><font color=#4285f4>G</font><font color=#ea4335>o</font><font color=#fbbc05>o</font><font color=#4285f4>g</font><font color=#34a853>l</font><font color=#ea4335>e</font></font></b></td><td style="text-align: left; vertical-align: bottom; padding-bottom: 15px; width: 50%"><div style="border-bottom: 1px solid #dfdfdf;">Sorry...</div></td></tr></table></div><div style="margin-left: 4em;"><h1>We're sorry...</h1><p>... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.</p></div><div style="margin-left: 4em;">See <a href="https://support.google.com/websearch/answer/86640">Google Help</a> for more information.<br/><br/></div><div style="text-align: center; border-top: 1px solid #dfdfdf;"><a href="https://www.google.com">Google Home</a></div></body></html>
As I understand, Rclone stores files as chunks as there's no way to fetch an offset from a file. But I am confused why Rclone starts upload from the beginning upon failure.
This is causing the loop up upload, rate limit. And the upload gets rate limited at the exact transfer size (around 2.1 GB) and any file larger than this gets stuck in this loop.
Is there a way to avoid this problem?
I don't understand why Google is even rate limiting authenticated sessions.
No, I am not using any VPN. But I think this infinite loop has been happening for days before I could notice, which might have labelled the IP as suspicious.
Update regarding the problem, no noticeable difference.
Since I had manually deleted all tasks and the loop was stopped for around 10 hours, I thought the rate limit might have cooled.
But the first retry of the same file immediately brought back the problem.
This is the exact place it gets stuck again and again in infinite loop.
Is there any way to pause transfer and resume instead of abandoning 71% of the progress made? Because the retry works well after 5 minutes just to fail once again.
I tailed the debug log. The rate limit 429 happens almost evert second, but rclone seems to keep uploading. But rclone seems to quit the task after some time altogether (maybe after time delay or N errors). Any manual control over this behavior with any parameter?
If I could find the old post it explained it well, but if you have burst 1 and max 10 per second. It can save that burst and you get 11 in a second. I never wanted to break the per second limit so I would set the burst to 0 to ensure I never went
Is there any documentation on per second limit (For Google Drive) ? I am using my own API keys, not the rclone default one for drive since it would provide higher limit.