After upgrading to Discourse v2.2.0.beta7, users reported that custom avatars were replaced with default gray icons, though newly uploaded avatars displayed correctly. Initial suggestions included waiting 24 hours for image optimization or checking Sidekiq queues, but the issue persisted. Investigation revealed the problem was specific to the Azure Blob Storage plugin, which incorrectly handled S3 endpoint redirections — for example, URLs pointing to eu-west-3 were failing, while eu-west-2 worked. vinothkannans confirmed this via S3 error responses and submitted a PR to fix the issue, adding new test coverage in the plugin. The regression was not caused by user configuration or S3 changes, but by a bug in how the plugin resolved storage endpoints. schungx and Wildweasel confirmed the behavior across different sites, and sam helped diagnose by requesting file system checks and URL examples. The fix is pending merge, and users affected by this regression should monitor the PR for updates.
By the way, I experience another problem with links of pictures from Imgur or Flickr. The display is broken after 15 minutes and replaced by an unreachable item icon.
<Error>
<Code>PermanentRedirect</Code>
<Message>
The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
</Message>
<Endpoint>libertysim.s3.dualstack.eu-west-2.amazonaws.com</Endpoint>
<Bucket>libertysim</Bucket>
<RequestId>5353DFE7A14AB123</RequestId>
<HostId>
QDQ3mKgq95kH92AloN1gH+LwGIgP9FWq77ck5yHVKSoIXx14nqiGN3u5gjOwxegfd9zVb7nN0J4=
</HostId>
</Error>
As per the above response from S3 if I change the hostname to libertysim.s3.dualstack.eu-west-2.amazonaws.com then the URL is working. I’m not sure how it’s messed up. But it doesn’t look like a problem from Discourse side.