I got this problem while using the S3 client through the AWS factory like:
$this->aws=Aws::factory(array(
'key' => $this->key,
'secret' => $this->secret,
'region' => Region::US_WEST_2
));
return $this->aws->get('s3');
After much investigation (namely this thread: tpyo/amazon-s3-php-class#46 ) I decided it was down to specific region.
I could not change the endpoint directly so I mimicked the default region using:
$s3->setRegion('us-east-1');
And it worked again.
Is this a bug? I have noticed that bucket no longer needs regions, my bucket is a very old one so it is not new.
I got this problem while using the S3 client through the AWS factory like:
After much investigation (namely this thread: tpyo/amazon-s3-php-class#46 ) I decided it was down to specific region.
I could not change the endpoint directly so I mimicked the default region using:
And it worked again.
Is this a bug? I have noticed that bucket no longer needs regions, my bucket is a very old one so it is not new.