When I tried to upload my file, I got an error about the endpoint. It seems I can't use the built in endpoint '.s3.amazonaws.com' and instead need to use '.s3-us-west-2.amazonaws.com' but only "temporarily" which makes me think I'm supposed to use the original endpoint at some later point?... This is likely an Amazon S3 issue but I'm wondering how the heck I'm supposed to detect this in code to compensate for it. I find it weird that it's telling me which endpoint to use but not automatically just using that endpoint instead.
Error object here:
AmazonS3Exception Object
(
[_attributes:protected] => Array
(
)
[_messageTemplate:protected] =>
[_responseHeaders:protected] =>
[message:protected] => Please re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.
[string:Exception:private] =>
[code:protected] => 500
[file:protected] => /home/iopener/app/Plugin/AmazonS3/Lib/AmazonS3.php
[line:protected] => 312
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/iopener/app/Plugin/AmazonS3/Lib/AmazonS3.php
[line] => 161
[function] => handleResponse
[class] => AmazonS3
[type] => ->
[args] => Array
(
[0] => HttpSocketResponse Object
(
[body] =>
TemporaryRedirectPlease re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.1716E8A80AC22993fastbulletin-imagesfP2WdnwjT0UacHgA3U5/O0P5Ndl9b5Ul+6C6OkIWhT72XMTSXTg10ujEZjQv7ZSRfastbulletin-images.s3-us-west-2.amazonaws.com
[headers] => Array
(
[x-amz-request-id] => 1716E8A80AC22993
[x-amz-id-2] => fP2WdnwjT0UacHgA3U5/O0P5Ndl9b5Ul+6C6OkIWhT72XMTSXTg10ujEZjQv7ZSR
[Location] => https://fastbulletin-images.s3-us-west-2.amazonaws.com/10/4481650606-wheel.png
[Content-Type] => application/xml
[Transfer-Encoding] => chunked
[Date] => Wed, 30 Jul 2014 23:12:40 GMT
[Connection] => close
[Server] => AmazonS3
)
[cookies] =>
[httpVersion] => HTTP/1.1
[code] => 0
[reasonPhrase] =>
[raw] => HTTP/1.1 307 Temporary Redirect
x-amz-request-id: 1716E8A80AC22993
x-amz-id-2: fP2WdnwjT0UacHgA3U5/O0P5Ndl9b5Ul+6C6OkIWhT72XMTSXTg10ujEZjQv7ZSR
Location: https://fastbulletin-images.s3-us-west-2.amazonaws.com/10/4481650606-wheel.png
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Wed, 30 Jul 2014 23:12:40 GMT
Connection: close
Server: AmazonS3
1c9
TemporaryRedirectPlease re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.1716E8A80AC22993fastbulletin-imagesfP2WdnwjT0UacHgA3U5/O0P5Ndl9b5Ul+6C6OkIWhT72XMTSXTg10ujEZjQv7ZSRfastbulletin-images.s3-us-west-2.amazonaws.com
0
When I tried to upload my file, I got an error about the endpoint. It seems I can't use the built in endpoint '.s3.amazonaws.com' and instead need to use '.s3-us-west-2.amazonaws.com' but only "temporarily" which makes me think I'm supposed to use the original endpoint at some later point?... This is likely an Amazon S3 issue but I'm wondering how the heck I'm supposed to detect this in code to compensate for it. I find it weird that it's telling me which endpoint to use but not automatically just using that endpoint instead.
Error object here:
AmazonS3Exception Object
(
[_attributes:protected] => Array
(
)
TemporaryRedirectPlease re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.1716E8A80AC22993fastbulletin-imagesfP2WdnwjT0UacHgA3U5/O0P5Ndl9b5Ul+6C6OkIWhT72XMTSXTg10ujEZjQv7ZSRfastbulletin-images.s3-us-west-2.amazonaws.com
[headers] => Array
(
[x-amz-request-id] => 1716E8A80AC22993
[x-amz-id-2] => fP2WdnwjT0UacHgA3U5/O0P5Ndl9b5Ul+6C6OkIWhT72XMTSXTg10ujEZjQv7ZSR
[Location] => https://fastbulletin-images.s3-us-west-2.amazonaws.com/10/4481650606-wheel.png
[Content-Type] => application/xml
[Transfer-Encoding] => chunked
[Date] => Wed, 30 Jul 2014 23:12:40 GMT
[Connection] => close
[Server] => AmazonS3
)
x-amz-request-id: 1716E8A80AC22993
x-amz-id-2: fP2WdnwjT0UacHgA3U5/O0P5Ndl9b5Ul+6C6OkIWhT72XMTSXTg10ujEZjQv7ZSR
Location: https://fastbulletin-images.s3-us-west-2.amazonaws.com/10/4481650606-wheel.png
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Wed, 30 Jul 2014 23:12:40 GMT
Connection: close
Server: AmazonS3
1c9
TemporaryRedirectPlease re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests.1716E8A80AC22993fastbulletin-imagesfP2WdnwjT0UacHgA3U5/O0P5Ndl9b5Ul+6C6OkIWhT72XMTSXTg10ujEZjQv7ZSRfastbulletin-images.s3-us-west-2.amazonaws.com
0