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

S3 sometimes returns buckets from the wrong region - investigate #30

Open
Randgalt opened this issue May 24, 2024 · 0 comments
Open

S3 sometimes returns buckets from the wrong region - investigate #30

Randgalt opened this issue May 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Randgalt
Copy link
Member

Ad hoc testing shows the following scenario:

  • Perform s3 ls to get list of root buckets
  • The buckets are not always in the requested region
  • Find a bucket not in the region and try to get details: s3 ls s3://<bucket>
  • S3 will return a 301 without a Location header. The only signal is the presence of the x-amz-bucket-region header that's a different region than the requested region.

Figure out the right way to handle this. Currently, it's a 500 because Jetty generates an error when the Location header is missing.

@Randgalt Randgalt added the bug Something isn't working label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant