ユーザーのカスタムアバターをリクエストすると500が返される

I tried to upload a custom avatar, it could be succesfully uploaded, but when requesting https://example.com/user_avatar/example.com/example_user/96/11_2.png, it just returned 500 error. The default anonymous avatar has no this error.

Latest master Discourse branch.
Cloudflare R2 is used as my S3 storage.

Are you on an unsupported-install?

In any case 500 alone isn’t sufficient information. Please share the related log info and someone might help you.

「いいね!」 2

Of course. By the way, I have used Cloudflare R2 (S3-compatible) to store upload content, when I checked out files in the bucket, the avatar file was actually there, but clients could not access it with https://example.com/user_avatar/example.com/example_user/96/11_2.png, it’s so weird.

In production.log, I found this line:

Processing by UserAvatarsController#show as PNG
  Parameters: {"hostname" => "example.com", "username" => "example_user", "size" => "288", "version" => "12_2"}
Completed 418  in 599ms (Views: 4.1ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.4ms)

This may be related to:

Could be an S3 issue with the latest version :thinking:.

(post deleted by author)

Okay, wish it is just a problem belong to the current nightly version.