rundeck-plugins / rundeck-s3-log-plugin

Store execution logs in Amazon S3 buckets
Apache License 2.0
32 stars 23 forks source link

Doesn't work with buckets in eu-central-1 region #9

Closed Vayu closed 8 years ago

Vayu commented 8 years ago

eu-central-1 region requires AWS4-HMAC-SHA256 authorization and old aws-sdk versions have some problems with it.

SEVERE: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
AmazonS3Exception: Status Code: 400, AWS Service: Amazon S3, AWS Request ID: 56CDD23A45443AE4, AWS Error Code: InvalidRequest, AWS Error Message: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256., S3 Extended Request ID: ...

Updating to latest aws-sdk would fix the problem, e.g. #8

lcacciagioni commented 8 years ago

Same issue over here seems to be related to the use of the sigv4 from amazon.

Apr 14 12:39:51 lala java[30007]: 2016-04-14 12:39:51,686 ERROR LogFileStorageService - Storage request [ID#19:*] error: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
Apr 14 12:39:51 lala java[30007]: 2016-04-14 12:39:51,690 ERROR LogFileStorageService - Storage request [ID#19:*] FAILED 1 attempts, giving up
gschueler commented 8 years ago

please try release 1.0.1

lcacciagioni commented 8 years ago

Nice this seems to be fixed!!!! Thanks a lot!!!