You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "brankogrb-db (via GitHub)" <gi...@apache.org> on 2026/06/15 08:29:13 UTC

[PR] Use path-style URL in resolve_bucket_region for dotted bucket names [arrow-rs-object-store]

brankogrb-db opened a new pull request, #752:
URL: https://github.com/apache/arrow-rs-object-store/pull/752

   ## Summary
   
   `resolve_bucket_region` unconditionally uses virtual-hosted-style URLs (`{bucket}.s3.amazonaws.com`). When the bucket name contains dots, this produces a hostname that doesn't match S3's `*.s3.amazonaws.com` wildcard TLS certificate (wildcards only cover a single DNS label), causing the TLS handshake to fail.
   
   This PR falls back to path-style (`s3.amazonaws.com/{bucket}`) when the bucket name contains a dot — the same heuristic the official AWS SDKs use.
   
   Closes #747


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Use path-style URL in `resolve_bucket_region` for dotted bucket names [arrow-rs-object-store]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb merged PR #752:
URL: https://github.com/apache/arrow-rs-object-store/pull/752


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Use path-style URL in `resolve_bucket_region` for dotted bucket names [arrow-rs-object-store]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #752:
URL: https://github.com/apache/arrow-rs-object-store/pull/752#issuecomment-4710978525

   Thank you @brankogrb-db 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org