[Bug]: Profile Picture not loading
Description and Error Message
Description
The profile picture in Coolify does not load when Cloudflare R2 is configured as the storage backend.
The frontend generates a URL to the stored avatar image, but the request fails with an HTTP 400 Bad Request response from the Cloudflare R2 endpoint.
Error Message
Browser request: GET https://[REDACTED-R2-ENDPOINT]/[REDACTED-BUCKET]/avatars/[REDACTED-PATH]/avatar.jpg?v=[REDACTED]
Response: HTTP/1.1 400 Bad Request Content-Type: application/xml Server: cloudflare
The request reaches Cloudflare R2 successfully, but the object request is rejected.
Expected Behavior
The profile picture should load correctly from the configured Cloudflare R2 bucket and be displayed in the Coolify dashboard.
The generated URL should point to a valid publicly accessible object or correctly authenticate against the S3-compatible storage endpoint.
Steps to Reproduce
- Configure Coolify storage to use Cloudflare R2 as the S3-compatible storage provider.
- Upload or configure a profile picture/avatar.
- Open the Coolify dashboard.
- The profile picture request is generated.
- The browser request to the R2 endpoint fails with HTTP 400 Bad Request.
- The profile picture is not displayed.
Example Repository URL
No response
Coolify Version
v4.3.21
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04.4 LTS
Screenshots / Visuals
Additional Information
No response
Source: coollabsio/coolify