What is the problem you are having with rclone?
Copy to S3 stopped functioning as of 12/28/2020
I've tried with 3 different bucket-acl types:
default ""
public-read-write
public-read
I've tried the --s3-no-check-bucket flag, --s3-server-side-encryption aws:kms, and --s3-v2-auth (separately of course) and they all produce the same error more or less. v2-auth gives a 400 status code instead of 403.
People with similar problems all seemed to have them fixed by new releases but I'm on the newest stable past where their issues were resolved so I'm a bit stumped.
What is your rclone version (output from rclone version
)
1.53.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 20.04
Which cloud storage system are you using? (eg Google Drive)
AWS S3
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy -P ./test2.txt remote:XXX/XX/XXX
The rclone config contents with secrets removed.
type = s3
provider = AWS
env_auth = false
access_key_id = XXXXXX
secret_access_key = XXXXXX
region = eu-central-1
acl = public-read
A log from the command with the -vv
flag
2021/01/07 13:50:40 DEBUG : rclone: Version "v1.53.3" starting with parameters ["rclone" "copy" "-vv" "-P" "./test2.txt" "XXXX" "--dump" "responses" "--retries" "1"]
2021/01/07 13:50:40 DEBUG : Creating backend with remote "./test2.txt"
2021/01/07 13:50:40 DEBUG : Using config file from "/home/XXXX/.config/rclone/rclone.conf"
2021/01/07 13:50:40 DEBUG : fs cache: adding new entry for parent of "./test2.txt", "/home/XXXXX"
2021/01/07 13:50:40 DEBUG : Creating backend with remote "XXXXX"
2021/01/07 13:50:40 DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
2021/01/07 13:50:40 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021/01/07 13:50:40 DEBUG : HTTP REQUEST (req 0xc0005fbc00)
2021/01/07 13:50:40 DEBUG : HEAD /XXXXX HTTP/1.1
Host: s3.eu-central-1.amazonaws.com
User-Agent: rclone/v1.53.3
Authorization: XXXX
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20210107T005040Z
2021/01/07 13:50:40 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021/01/07 13:50:41 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021/01/07 13:50:41 DEBUG : HTTP RESPONSE (req 0xc0005fbc00)
2021/01/07 13:50:41 DEBUG : HTTP/1.1 403 Forbidden
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Thu, 07 Jan 2021 00:50:40 GMT
Server: AmazonS3
X-Amz-Id-2: V4mAY7Kezg5y+RgwPK9R5s68/UtXF9iPauS5w7b9MkB5ZG10hr6bjsYWiVPG4DwHunsRZo3FN8Q=
X-Amz-Request-Id: FCB33A798DA488BA
2021/01/07 13:50:41 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021/01/07 13:50:41 DEBUG : fs cache: renaming cache item "XXXXX/" to be canonical "XXXXXX"
2021-01-07 13:50:41 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021-01-07 13:50:41 DEBUG : HTTP REQUEST (req 0xc0000e8400)
2021-01-07 13:50:41 DEBUG : HEAD /XXXX/test2.txt HTTP/1.1
Host: s3.eu-central-1.amazonaws.com
User-Agent: rclone/v1.53.3
Authorization: XXXX
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20210107T005041Z
2021-01-07 13:50:41 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021-01-07 13:50:41 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021-01-07 13:50:41 DEBUG : HTTP RESPONSE (req 0xc0000e8400)
2021-01-07 13:50:41 DEBUG : HTTP/1.1 404 Not Found
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Thu, 07 Jan 2021 00:50:40 GMT
Server: AmazonS3
X-Amz-Id-2: 5DNu19IKQ0Lns+ZDiMqTs21W5TPxpGM0OO+pVVuzCQ1wyzSB/BibiaxoCAdq6hOenAIq+o+4ZTo=
X-Amz-Request-Id: 018D5C126FDFC902
2021-01-07 13:50:41 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021-01-07 13:50:41 DEBUG : test2.txt: Need to transfer - File not found at Destination
2021-01-07 13:50:41 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021-01-07 13:50:41 DEBUG : HTTP REQUEST (req 0xc0000e8900)
2021-01-07 13:50:41 DEBUG : PUT /XXXXX HTTP/1.1
Host: s3.eu-central-1.amazonaws.com
User-Agent: rclone/v1.53.3
Content-Length: 156
Authorization: XXXX
X-Amz-Acl: public-read
X-Amz-Content-Sha256: 270d7010e28541d025cba79779722247d464e2edd8b448b42fdf618a477e0432
X-Amz-Date: 20210107T005041Z
Accept-Encoding: gzip
2021-01-07 13:50:41 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021-01-07 13:50:41 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021-01-07 13:50:41 DEBUG : HTTP RESPONSE (req 0xc0000e8900)
2021-01-07 13:50:41 DEBUG : HTTP/1.1 403 Forbidden
Connection: close
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Thu, 07 Jan 2021 00:50:40 GMT
Server: AmazonS3
X-Amz-Id-2: YoPE5XoHAs/OXOrj76HpuzBv1EIElPEAG67I3GIYKSNhubnsuUkhJW95xJCyNQXUHG5NaF5TfXo=
X-Amz-Request-Id: 9588882026159369
f3
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>9588882026159369</RequestId><HostId>YoPE5XoHAs/OXOrj76HpuzBv1EIElPEAG67I3GIYKSNhubnsuUkhJW95xJCyNQXUHG5NaF5TfXo=</HostId></Error>
0
2021-01-07 13:50:41 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021-01-07 13:50:41 ERROR : test2.txt: Failed to copy: AccessDenied: Access Denied
status code: 403, request id: 9588882026159369, host id: YoPE5XoHAs/OXOrj76HpuzBv1EIElPEAG67I3GIYKSNhubnsuUkhJW95xJCyNQXUHG5NaF5TfXo=
2021-01-07 13:50:41 ERROR : Attempt 1/1 failed with 1 errors and: AccessDenied: Access Denied
status code: 403, request id: 9588882026159369, host id: YoPE5XoHAs/OXOrj76HpuzBv1EIElPEAG67I3GIYKSNhubnsuUkhJW95xJCyNQXUHG5NaF5TfXo=
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.7s
2021/01/07 13:50:41 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.7s
2021/01/07 13:50:41 DEBUG : 2 go routines active
2021/01/07 13:50:41 Failed to copy: AccessDenied: Access Denied
status code: 403, request id: 9588882026159369, host id: YoPE5XoHAs/OXOrj76HpuzBv1EIElPEAG67I3GIYKSNhubnsuUkhJW95xJCyNQXUHG5NaF5TfXo=