-
Hello, I have some cogs and a MosaicJSON for these cogs in a private non-aws S3. I have defined the following environment variables in order to make titiler be able to access the private S3:
Now, when I try to access a cog file using the following endpoint titiler is successful:
But when I try to access the mosaic json using the following endpoint I get
How could I fix that? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
After all, seems like one needs to pass a custom client to So, what I did was to create an environment variable with the non-aws endpoint url and the endpoint's protocol like,
|
Beta Was this translation helpful? Give feedback.
After all, seems like one needs to pass a custom client to
MosaicTilerFactory
because the boto3 client can not read the endpoint s3 from an environment variable.So, what I did was to create an environment variable with the non-aws endpoint url and the endpoint's protocol like,
S3_ENDPOINT_WITH_PROTOCOL=https://mydomainname.com
and then add a custom client to theMosaicTilerFactory
like: