#support

Resolving Linode S3 Error in Config

TLDR chintan encountered a Linode S3 error and was able to resolve it by modifying the endpoint format in the config.

Powered by Struct AI
Jun 19, 2023 (6 months ago)
chintan
Photo of md5-5160a496f51f350885fb9a7bc6b8004b
chintan
02:23 AM
Hello, getting following error when specifying Linode S3
2023.06.19 01:58:05.205134 [ 7 ] {} <Error> Application: DB::Exception: Bucket or key name are invalid in S3 URI

in following config
clickhouse:
  coldStorage:
    enabled: true
    # Set free space size on default disk in bytes
    defaultKeepFreeSpaceBytes: "10485760" # 10MiB
    type: s3
    endpoint: https://<bucket_name>.
    accessKey: <access_key>
    secretAccess: <secretaccess>

Any help appreciated... Thanks
12:47
chintan
12:47 PM
I was able resolved issue by passing endpoint into following format
type: s3
endpoint: <bucket_name>/<key_name>/
accessKey: <access_key>
secretAccess: <secretaccess>