I am using Rclone in remote api mode and using '/sync/copy' to transfer files in async mode.
When I remove internet connection from machine and run "rclone copy" command in command line the retry looks to be fine -
Command : rclone copy awso9dl:o9datalake/targetaws/test1.txt awso9dl:o9datalake/targetaws/test1_copy6.txt --log-level DEBUG --log-file=D:\logs\log4.txt --retries 3 --retries-sleep 10s
I can see 3 retry attempts in logs as it cant reach remote -
But when I test same thing with remote mode with asycn request submitted, whatever the retry count I pass it just takes 120 to 150 seconds and job fails.
I dont see any retry logic related debug logs in log file.
Below is the command with I run remote mode rclone -
rclone.exe rcd --rc-no-auth --rc-job-expire-duration=60m --rc-addr=localhost:5574 --log-level DEBUG --log-file=D:\logs\remotelog10
.txt --retries 10
And below the request sent to rclone for copy - http://localhost:5574/sync/copy
{
"srcFs": "awso9dl:o9datalake/targetaws",
"dstFs": "awso9dl:o9datalake/targetaws_mh01/a5",
"_filter" : {
"IncludeRule" :
},
"_async" : true
}
Hi,
Tested with latest Rclone 'rclone v1.68.2'.
Behavior is same.
I can see 3 (or defined) retries in logs properly but not seeing this behavior with remote mode.
(One difference I am seeing v1.63.1 v/s latest is , async job was giving finished=true with success=false status after almost 120+ seconds in Rclone 1.63.1 but now in latest Rclone its giving the finished=true status in within few milli seconds)