Max-duration flag doesnt finish download after time assigned

What is the problem you are having with rclone?

--max-duration flag will stop once it reaches the value i assigned but doesnt finish the file it was being downloaded.. It just hangs

What is your rclone version (output from rclone version)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

rclone v1.53.3

  • os/arch: linux/arm
  • go version: go1.15.5

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)

rclone copy drive:/SSB local:/disks/HDD/-PiDownloaded/RcloneDownloaded --max-duration 1m --error-on-no-transfer --transfers 1  --progress

The rclone config contents with secrets removed.

[drive]
type = drive
client_id = 
client_secret = 
scope = drive
token = {"access_token":""}
team_drive = 

[local]
type = local

[driveJ]
type = drive
client_id = 
client_secret = 
scope = drive
token = {"access_token":""}

A log from the command with the -vv flag

rclone: Version "v1.53.3" starting with parameters ["rclone" "copy" "drive:/SSB" "local:/disks/HDD/-PiDownloaded/RcloneDownloaded" "--max-duration" "1m" "--error-on-no-transfer" "--transfers" "1" "--progress" "-vv"]
2021/01/13 15:01:00 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
2021/01/13 15:01:00 DEBUG : Creating backend with remote "drive:/SSB"
2021/01/13 15:01:01 DEBUG : fs cache: renaming cache item "drive:/SSB" to be canonical "drive:SSB"
2021/01/13 15:01:01 DEBUG : Creating backend with remote "local:/disks/HDD/-PiDownloaded/RcloneDownloaded"
2021/01/13 15:01:01 DEBUG : fs cache: renaming cache item "local:/disks/HDD/-PiDownloaded/RcloneDownloaded" to be canonical "/disks/HDD/-PiDownloaded/RcloneDownloaded"
2021-01-13 15:01:01 INFO  : Local file system at /disks/HDD/-PiDownloaded/RcloneDownloaded: Transfer session deadline: 2021/01/13 15:02:01
2021-01-13 15:01:02 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=61379086685, userRateLimitExceeded)
2021-01-13 15:01:02 DEBUG : pacer: Rate limited, increasing sleep to 1.473635673s
2021-01-13 15:01:02 DEBUG : pacer: Reducing sleep to 0s
2021-01-13 15:01:02 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=61379086685, userRateLimitExceeded)
2021-01-13 15:01:02 DEBUG : pacer: Rate limited, increasing sleep to 1.237366794s
2021-01-13 15:01:02 DEBUG : pacer: Reducing sleep to 0s
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:         3.7s^C
pi@raspberrypi:~ $ 

Im honestly not sure why i have a limit bc i havnt done much upload/downloading the past couple days. If i dont use the flag, i can still download a video file from my drive without being 'limited'

Can you show a log with it hanging please?

And when it has hung, press CTRL-\ and rclone will print a backtrace of what it is doing.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.