Level 15
Super super late to this post, but if anyone bumps into this issue, it seems like the fix is to change the region to "default"
Source is here:
https://www.linode.com/community/questions/19536/object-storage-upload-problem
I am using Laravel S3 drive to upload files to Linode Object storage.
My config is like this:
FILESYSTEM_DRIVER=s3
AWS_ACCESS_KEY_ID=hidden-my-access-key-id
AWS_SECRET_ACCESS_KEY=hidden-my-access-key-secret
AWS_DEFAULT_REGION=ap-south-1
AWS_BUCKET=bucket-name
AWS_URL=https://bucket-name.ap-south-1.linodeobjects.com
AWS_ENDPOINT=ap-south-1.linodeobjects.com
But when my Laravel app tries to upload the file I get the below error:
[2021-08-23 14:03:25] local.ERROR: Error executing "PutObject" on "bucket-name/favicons/mZp2jj4CPXJcLqC2OtEtIPTIw5ysOQmNoJVtdHHf.ico"; AWS HTTP error: Client error: `PUT bucket-name/favicons/mZp2jj4CPXJcLqC2OtEtIPTIw5ysOQmNoJVtdHHf.ico` resulted in a `403 Forbidden` response:
<?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><RequestId>tx000000000000000c8d673-006123 (truncated...)
SignatureDoesNotMatch (client): - <?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><RequestId>tx000000000000000c8d673-006123aaad-3441a35-default</RequestId><HostId>3441a35-default-default</HostId></Error>
Any idea what is broken?
Please or to participate in this conversation.