wrong region in S3 storage

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #195595
    ed13
    Participant

    Hi – i am getting this error:
    S3 settings test result: Failure: We could not successfully access or create such a bucket. Please check your access credentials, and if those are correct then try another bucket name (as another S3 user may already have taken your name).

    The error reported by S3 was: Aws\S3\Exception\S3Exception: AWS Error Code: AuthorizationHeaderMalformed, Status Code: 400, AWS Request ID: AFB4992A7B49BBEB, AWS Error Type: client, AWS Error Message: The authorization header is malformed; the region ‘us-east-1’ is wrong; expecting ‘us-west-1’, User-Agent: aws-sdk-php2/2.8.30 Guzzle/3.9.3 curl/7.49.1 PHP/5.6.24

    i had been storing backups in this location:
    s3://highersourcesites-wpbackups/robchriman ok but i needed to create backups for both development area and the remote machine (siteground) so i created a new bucket ie;
    s3://highersourcesites-wpbackups/siteground/robchrisman
    and then started seeing the above error.
    any suggestions?
    ed
    i also removed the se://highersourcesites-wpbackups/robchriman area in case the
    ‘robchrisman’ needed to be unique.
    can you clarify for me what i am doing wrong?
    thanks, ed

    #195913
    udadmin
    Keymaster

    Hi,

    This is usually caused by a too-restrictive bucket policy, which doesn’t allow UD to work out the bucket’s region. Can you post the bucket policy? (Presumably you have a custom one set up?)

    David

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘wrong region in S3 storage’ is closed to new replies.