Add S3 credentials region support

Description

The S3 support for Cloud Sync appears to default to us-east-1, which is not a valid region in AWS GovCloud. When I attempt to connect, I get the following error:

An error occurred (AuthorizationHeaderMalformed) when calling the ListBuckets operation: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-gov-east-1'

Selecting the "no region" option does not help.

Competition Assessment

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk 
September 11, 2019 at 2:09 PM

Vladimir Vinogradenko 
September 11, 2019 at 1:58 PM

thank you!

Jim Dishaw 
September 11, 2019 at 1:33 AM

Without the "region = us-gov-east-1" I get an error that is different in content but essentially the same as in the bug report:

[
2019/09/10 21:29:45 ERROR : : error listing: InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.
status code: 403, request id: 98FE90A8651DFA63, host id: hZGAspVviPpYtZFBM7q0Dr4L4wZufoDmu4L6ka4umzMMqIB3xU8CHZyBsXoLZybjE95Q2bsKo5M=
]

 

When I add the "region = us-gov-east-1" line I can see the buckets and when I specify a bucket name I can see the contents of the bucket.

Vladimir Vinogradenko 
September 10, 2019 at 7:14 AM

as GovCloud access is restricted, I have to ask you to help. Please create file rclone.conf with following contents:

and then run

Will it show same error?

Will the error go away if you add

to that file?

If it works, will

list files in your bucket?

Thank you.

Jim Dishaw 
September 5, 2019 at 5:24 PM

I just updated to 11.2-U5 (to see if this was fixed in the current release) and got the same error. 

 
[EFAULT] 2019/09/05 13:17:28 ERROR : : error listing: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-gov-east-1' status code: 400, request id: 6D3545AA19DCE4AC, host id: lETV+0ssgZOn8mOMoUlB423Mm6lTuzWkyehZ7o3slhl3T2rN6M12YO4IKodgTcfHyr5Krf5jSjo=
 

I have attached the debug

Complete

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created August 31, 2019 at 1:42 AM
Updated July 1, 2022 at 4:44 PM
Resolved October 30, 2019 at 5:06 PM