coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: S3 Storage config does not allow deep buckets

Open codingmatty opened this issue 1 year ago • 0 comments

Description

When trying to setup an S3 Store, I'm trying to direct it to a deep bucket like app-name/database-backups, but it looks like the input is being encoded, so validation attempts to hit app-name%2Fdatabase-backups.

Minimal Reproduction (if possible, example repository)

  1. Go to Teams -> S3 Storages (Also this was really hard to find)
  2. Input relevant information, but in the bucket input try to use a deep bucket
  3. Notice the validation shows that its trying to hit the wrong url

Exception or Error

Reason: Error executing "ListObjectsV2" on "https://s3.us-east-1.amazonaws.com/app-name%2Fdatabase-backups?list-type=2&prefix=&delimiter=%2F"; AWS HTTP error: Client error: `GET https://s3.us-east-1.amazonaws.com/app-name%2Fdatabase-backups?list-type=2&prefix=&delimiter=%2F` resulted in a `403 Forbidden` response:

Version

4.0.0-beta.258

codingmatty avatar Apr 15 '24 13:04 codingmatty