Skip to content

Correct "endpoint" definition Β #4

@tarekbazine

Description

@tarekbazine

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 πŸ˜•

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions