Summary
After upgrading from 3.4.0 to 3.5.0, I am unable to add new profile pics.
Steps to reproduce
- Upgrade from 3.4.0 to 3.5.0.
- Upload user profile picture
Expected behavior
Profile picture successfully upload
Observed behavior
Original s3 endpoint set to "s3.amazonaws.com" in 3.4.0 and integration worked fine.
User receives "Could not upload profile image" error message
Server logs show:
[details: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.]
When changing the storage endpoint to the aws listed endpoint xxx.s3-website-us-west-2.amazonaws.com (other variants tried), the error changes to:
[details: Amazon S3 endpoint should be 's3.amazonaws.com'.]
Config file appears correct (bucket redacted):
"AmazonS3Bucket": "xxx",
"AmazonS3Region": "us-west-2",
"AmazonS3Endpoint": "s3.amazonaws.com",
"AmazonS3SSL": true