[
https://issues.apache.org/jira/browse/OAK-8347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17180588#comment-17180588
]
Miroslav Smiljanic commented on OAK-8347:
-----------------------------------------
Seems that path based access has to be explicitly enabled with [S3
builder|https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/AmazonS3Builder.html#enablePathStyleAccess--].
Default behaviour described there:
_The default behaviour is to detect which access style to use based on the
configured endpoint (an IP will result in path-style access) and the bucket
being accessed (some buckets are not valid DNS names). Setting this flag will
result in path-style access being used for all requests._
> S3DataStore should use virtual-host-style access
> ------------------------------------------------
>
> Key: OAK-8347
> URL: https://issues.apache.org/jira/browse/OAK-8347
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: blob-cloud
> Affects Versions: 1.12.0
> Reporter: Matt Ryan
> Priority: Major
>
> AWS has announced that they are moving from a path-based model for
> addressable storage to a virtual-host model (see [0]). S3DataStore is
> implemented using the path-based model, and should update to use the
> virtual-host model before the old format is deprecated.
> [0] -
> https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)