Anyone got the AWS S3 storage backend working on their #Pixelfed instance? I'm getting permission denied error in the worker log. But the credentials/bucket policy works fine using the aws cli.

Follow

@maxheadroom check cloudtrail 馃槈

Tootle for Mastodon 1 0 0

@ohookins I did already. But can't tell why it's not working. Credentials seem to be used. But still it gets a 403 response.

@maxheadroom does it use its own S3 request creation or the AWS SDK under the hood? If the former, maybe it鈥檚 not signing properly. Or an outdated SDK trying to use v2 signing instead of v4 if you are using Frankfurt region.

@ohookins yeah, I might have to dig into the code. As far as I can see its using AWS SDK. But would need to confirm.

@maxheadroom I did look at the code and it鈥檚 a bit confusing. They are using Flysystem but apart from listing the dependency, there鈥檚 no code referencing it. Or do you need to write some code yourself to provide the storage backend?

@ohookins yeah, its confusing. But somehow it must be used as I see the credentials in the Requests on CloudTrail.

@maxheadroom it鈥檚 buried in laravel support library called illuminate鈥 but do you get any access denied errors for unexpected types of request?

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 馃悩 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!