AFAIK there are no rate limits for uploading objects, at least none that rclone will run into
AFAIK there are no rate limits for uploading objects, at least none that rclone will run into
rclone or r2 gave upr2 bucket with rclonerclone copy File.zip r2:/copyto as well but that didn't workforcePathStyle: true or else when using PUTObjectCommand, it yeilds: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your secret access key and signing method. The documentation example should be updated to reflect it, if this is actually the case. I can confirm using the forcePathStyle set to Force fixes the issue for me.https://dev.name-of-my-app.com just fine.localhost to the prod bucket just fine. BUT, when I try to PUT from https://app.name-of-my-app.com, I get a 403 CORS error like this...https://app.name-of-my-app.com does not even though it's in the AllowedOrigins array. Appreciate any help y'all have.SignatureDoesNotMatch then it isn't a failure due to CORS, it would have failed anyways.app.name-of-my-app.com , which is pointing to the same server as localhost, and when I PUT to the presigned URL, there is a 403.rclone. What's the time unit of rclone link --expire? Is it seconds?d at the end, for example --expire 1d becomes 86400 seconds (1 day) whereas --expire 1 is 1 second


rclonerclonercloner2r22023/10/21 17:52:57 ERROR : Attempt 1/3 failed with 1 errors and: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, HeadObjectInput.Key.
2023/10/21 17:52:57 ERROR : Attempt 2/3 failed with 1 errors and: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, HeadObjectInput.Key.
2023/10/21 17:52:57 ERROR : Attempt 3/3 failed with 1 errors and: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, HeadObjectInput.Key.
2023/10/21 17:52:57 Failed to copyto: InvalidParameter: 1 validation error(s) found.
- minimum field size of 1, HeadObjectInput.Key.[r2]
type = s3
provider = Cloudflare
access_key_id = ***
secret_access_key = ***
region = auto
endpoint = https://***.r2.cloudflarestorage.com/bucket-namerclone copy File.zip r2:/copytoforcePathStyle: trueSignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your secret access key and signing method.https://dev.name-of-my-app.com[
{
"AllowedOrigins": [
"http://localhost:3000",
"https://dev.name-of-my-app.com"
],
"AllowedMethods": [
"PUT",
"GET"
],
"AllowedHeaders": [
"*"
]
}
][
{
"AllowedOrigins": [
"http://localhost:3000",
"https://app.name-of-my-app.com"
],
"AllowedMethods": [
"PUT",
"GET"
],
"AllowedHeaders": [
"*"
]
}
]localhosthttps://app.name-of-my-app.comhttps://app.name-of-my-app.comAccess to XMLHttpRequest at 'https://...r2.cloudflarestorage.com/path/to/uploaded/file.txt?X-Amz-Algorithm=...' from origin 'https://app.name-of-my-app.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.AllowedOriginsSignatureDoesNotMatch<Error>
<Code>SignatureDoesNotMatch</Code>
<Message>The request signature we calculated does not match the signature you provided. Check your secret access key and signing method. </Message>
</Error>app.name-of-my-app.comrclone link --expire?d--expire 1d--expire 1