-
schneider
- Contributor
- Offline
-
- Posts: 11
- Joined: Wed Jun 26, 2013 12:32 pm
-
michaeld
- Contributor
- Offline
-
- Posts: 17
- Joined: Mon Dec 01, 2014 11:38 am
Information and discussion related to the Kognitio on Hadoop product
S3 Connector error - Authorization
by schneider » Sun Aug 06, 2017 1:40 am
Hi I get the following error when trying to connect into my S3 bucket. in eu-west2 region (london). Can you advise?
T_2017-08-06_00:29:21_UTC: PI AWS(0x54000000): s3cli_list_part(): http_response 400, ecode -4, AWS error code "InvalidRequest", message "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256."
T_2017-08-06_00:29:21_UTC: PI AWS(0x54000000): s3cli_list_part(): http_response 400, ecode -4, AWS error code "InvalidRequest", message "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256."
Re: S3 Connector error - Authorization
by michaeld » Mon Aug 07, 2017 6:03 pm
Hi,
Could you try setting the region explicitly in the target string? For example, in the connector:
CREATE CONNECTOR kognitioeu
SOURCE s3
TARGET 'accesskey AGFFGADHFHE8EXAMPLE
secretkey "seDLghYES/tRIu67g/fdsGHFWHGEXAMPLEKEY"
bucket Kognitio-eu
proxy "proxy:8080" region eu-west-2'
If you don't specify the region, the connector will try connecting with AWS signature version 2, which some regions don't support. The region can also be specified in the target string of the external table.
Regards,
Mike
Could you try setting the region explicitly in the target string? For example, in the connector:
CREATE CONNECTOR kognitioeu
SOURCE s3
TARGET 'accesskey AGFFGADHFHE8EXAMPLE
secretkey "seDLghYES/tRIu67g/fdsGHFWHGEXAMPLEKEY"
bucket Kognitio-eu
proxy "proxy:8080" region eu-west-2'
If you don't specify the region, the connector will try connecting with AWS signature version 2, which some regions don't support. The region can also be specified in the target string of the external table.
Regards,
Mike
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest