Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct "endpoint" definition #4

Open
tarekbazine opened this issue Mar 26, 2021 · 1 comment
Open

Correct "endpoint" definition #4

tarekbazine opened this issue Mar 26, 2021 · 1 comment

Comments

@tarekbazine
Copy link

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 )

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 😕

@willynganga
Copy link

Thank you for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants