Protected Links
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6
Back to this add-on's main page
View Other Add-ons From Yuri Salimovskiy
Support for Asia Pacific
Support Request
Tyssen
|
Posted: 20 November 2012 06:51 AM |
|
|
|
I’m getting this error when trying to download links (with 0 byte files downloaded):
Message: S3::getObject(bucketname, https://s3-ap-southeast-1.amazonaws.com/bucketname/file_name.mp3): [PermanentRedirect] The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
which I’m guessing is because my endpoint for ap-southeast isn’t set correctly.
I’ve tried modifying mcp.protected_links.php like so:
$endpoints = array( '' => lang('us'), 's3-eu-west-1.amazonaws.com' => lang('eu'), 's3-ap-southeast-1.amazonaws.com' => lang('ap') );
but it’s not saving the value to the database. I’ve also tried adding s3-ap-southeast-1.amazonaws.com manually to the endpoints column in the database but it hasn’t changed anything.
So I guess adding support for another region is a bit more complicated than that. ;)
|
|
|
Yuri Salimovskiy
|
Posted: 21 November 2012 12:32 PM |
# 1
|
|
Developer
|
Please grab the latest version (just released). It has support for all S3 endpoints.
|
|
|