-
Notifications
You must be signed in to change notification settings - Fork 37
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
400 Bad Request respond from non default region #19
Comments
When you create a new S3 client object, use argument host:
|
Thank you for such a fast respond
None of them worked |
You are using I strongly recommend you to adapt your code to use Net::Amazon::S3 on version 0.80 (before this version, I can't recommend either!) |
C:\Users\cuser>cpan install Net::Amazon::S3 CPAN: Module::CoreList loaded ok (v5.20160121) but still i get |
's3-eu-central-1.amazonaws.com' seems wrong; have you tried
's3.eu-central-1.amazonaws.com' ?
…--
http://www.fastmail.com - A fast, anti-spam email service.
|
The problem is the Frankfurt region uses AWS signatures version 4, I don't believe this module implements them, yet. |
https://metacpan.org/release/LLAP/Net-Amazon-S3-0.81-TRIAL just released with V4 support - any testing you can do would be appreciated - please do open issue if you have any |
Hi
I am trying to download a file from few S3 buckets
Files from Location: US West (Oregon) (us-west-2) works fine (This is Amazone default region)
But when i try to get from Location: EU (Frankfurt) (eu-central-1) i get Amazon::S3: Amazon responded with 400 Bad Request
How do i tell this module my bucket is located in non default region?
There is no mention of this in the docs as far as i can see
my code
The text was updated successfully, but these errors were encountered: