sbj
Well-known member
I get this error:
I assume this is because it tries to use
My bucket's url doesn't have a prefix at all but it tries to apply that hence why it can't resolve it.
What to do here?
PHP:
Aws\S3\Exception\S3Exception: Error executing "PutObject" on "MY_S3_IP_ADDRESS/data/avatars/o/0/5.jpg";
AWS HTTP error: cURL error 6: Could not resolve host: data.MY_S3_IP_ADDRESS;
Unknown error (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) src/addons/XFAws/_vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php:191
I assume this is because it tries to use
data
as prefix in the url because it says "Could not resolve host: data.MY_S3_IP_ADDRESS"My bucket's url doesn't have a prefix at all but it tries to apply that hence why it can't resolve it.
What to do here?