-
-
Notifications
You must be signed in to change notification settings - Fork 83
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 upload and region error #515
Comments
We are planning to switch to AWS CLI SDK, I think this will be addressed with that change. See: #479 |
Hi @cmillet2127, based on a discussion in the minio-js repo I think the crawler should work as-is and minio-js will autodiscover the bucket if you use |
This should address the issue of connecting to buckets stored outside us-east-1 (#515) while the switch from Minio client to AWS SDK is being worked on (#479) Co-authored-by: Mattia <[email protected]>
The change in #543 has broken it for me in the 'eu-central-1' region. Now I'm getting an error:
After going back to 1.1.0 Beta 5, it's working fine. This is my env configuration:
Perhaps just adding a STORE_REGION variable would be a better solution? @ikreymer @tw4l |
@RomanSmolka agreed, that seems like a safer solution. This probably needs testing with a lot more S3 providers, which we just don't have resources to do. Making this customizable seems like the most flexible/safe option. @cmillet2127 @mguella would that work for you also? |
Yes, it seems good solution. |
…-east-1 by default fixes #515 dependency: update get-folder-size in storage.js to latest, fix type errors
defaults to us-east-1 for minio compatibility fixes #515
Hello,
I made some tests with S3 upload. It works very well with a bucket stored in us-east-1, but doesn't work for other regions, in my case eu-west-3.
I try to analyze the code, and it seems it failed in MinIO call in util/storage.ts line 90:
where the region can optionnally be provided, otherwise us-east-1 is used by default.
The region can be extracted from the STORE_ENDPOINT_URL. example : https://<bucket>.s3.<region>.amazonaws.com/<bucket>/
Best regards
The text was updated successfully, but these errors were encountered: