Open tarekbazine opened 3 years ago
From the article https://thepro.io/post/spring-boot-and-digitalocean-spaces-for-file-storage-Q1
Considering a public DO space endpoint that looks like https://bucketname.region.endpoint you should be able to extract bucket name, region and endpoint as follows https://appname.fra1.digitaloceanspaces.com ( Bucket Name / region / Enpoint )
Considering a public DO space endpoint that looks like https://bucketname.region.endpoint you should be able to extract bucket name, region and endpoint as follows
https://appname.fra1.digitaloceanspaces.com ( Bucket Name / region / Enpoint )
It results in : digitaloceanspaces s3 with root cause java.net.UnknownHostException: .digitaloceanspaces.com
digitaloceanspaces s3 with root cause java.net.UnknownHostException: .digitaloceanspaces.com
so endpoint should be: [region].digitaloceanspaces.com ex : fra1.digitaloceanspaces.com
endpoint
[region].digitaloceanspaces.com
fra1.digitaloceanspaces.com
thanks for the article.
PS : this might be caused by a change in the AWS java sdk 😕
Thank you for this.
From the article https://thepro.io/post/spring-boot-and-digitalocean-spaces-for-file-storage-Q1
It results in :
digitaloceanspaces s3 with root cause java.net.UnknownHostException: .digitaloceanspaces.com
so
endpoint
should be:[region].digitaloceanspaces.com
ex :fra1.digitaloceanspaces.com
thanks for the article.
PS : this might be caused by a change in the AWS java sdk 😕