Skip to content

fix: set explicit S3 region to skip MinIO auto-detection#569

Merged
ex3ndr merged 1 commit intoslopus:mainfrom
maiqigh:fix/s3-region-compat
Feb 13, 2026
Merged

fix: set explicit S3 region to skip MinIO auto-detection#569
ex3ndr merged 1 commit intoslopus:mainfrom
maiqigh:fix/s3-region-compat

Conversation

@maiqigh
Copy link
Copy Markdown

@maiqigh maiqigh commented Feb 11, 2026

MinIO client calls GetBucketLocation API (?location) to auto-detect the bucket region, but non-AWS S3-compatible stores (e.g. Alibaba Cloud OSS) do not support this API and return NoSuchKey.

Setting the region explicitly makes the client skip the auto-detection request entirely. Defaults to us-east-1 (S3 standard default) and can be overridden via S3_REGION env var.

MinIO client calls GetBucketLocation API (?location) to auto-detect
the bucket region, but non-AWS S3-compatible stores (e.g. Alibaba
Cloud OSS) do not support this API and return NoSuchKey.

Setting the region explicitly makes the client skip the auto-detection
request entirely. Defaults to us-east-1 (S3 standard default) and can
be overridden via S3_REGION env var.
@ex3ndr ex3ndr merged commit ef7984a into slopus:main Feb 13, 2026
leeroybrun added a commit to happier-dev/happier that referenced this pull request Feb 14, 2026
@slopus slopus deleted a comment from happier-bot Feb 17, 2026
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

Successfully merging this pull request may close these issues.

2 participants