403 proibido para miniaturas no s3 ao executar com CDN

We use the official Docker hosting setup on AWS based on GitHub - aws-samples/aws-cdk-for-discourse: AWS CDK for Discourse.

The general CDN setup works fine, e.g. images are delivered fine via CDN URL.

However the initial “32x32” request seems to go to the S3 bucket URL which yields a 403.

image

Did I miss a configuration bit or is it a bug?

2 curtidas

That’s not official, as it’s an AWS project using a bitnami image for Discourse which we explicitly do not recognize as an official standard install of Discourse, making this outside of the scope of installs that we support here.

Not a bug as it’s not running the app the way we intend it to be ran, but it may be fixed with a config change. Maybe open an issue about this on the sample repository ?

1 curtida

The referenced project uses the official Docker image.
image

No Bitnami - I would not have used that in the first place either :wink:

I am going to dig into it and report an issue either there, or here.

1 curtida

Oh, sorry I went by what is written in the project README.md

Good luck. Please update here if you find any clues.

Pull request for README incoming :wink:

I found the issue. I restored a backup from another system.

2 curtidas

What was broken then?

1 curtida

Somehow it used the s3 URL for the default Discourse system user avatar image. I did not spend time fixing it because I am still in progress of regularly recreating the environments due to some testing activities.

2 curtidas

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.