Hi there — did you ever resolve this?
I’m hitting the exact same symptom on Discourse + S3 (avatars only):
Could not find file in the store located at url: //<bucket>.s3.dualstack.<region>.amazonaws.com/original/1X/<hash>.jpeg
A few details on my setup, in case it matches yours:
-
enable_s3_uploads = true
, objects live atoriginal/*
andoptimized/*
(nouploads/default
prefix) -
Access via CloudFront (OAC), bucket itself is private
-
The object does exist at that key; CDN URL works
-
Error occurs only for avatar processing
-
(Possible wrinkle) uploads are encrypted with SSE-KMS
If you found the root cause or a fix (policy change, KMS permissions, bucket path alignment, etc.), could you share what worked? Thanks!