aws-ant-tasks icon indicating copy to clipboard operation
aws-ant-tasks copied to clipboard

doesn't work with Java 1.8.0u60+

Open pstanton opened this issue 7 years ago • 2 comments

Error. The file that failed to upload was: myfile.zip: com.amazonaws.services.s3.model.AmazonS3Exception: AWS authentication requires a valid Date or x-amz-date header (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 57AA61B01343B3F5), S3 Extended Request ID: yVPcAUGXiavNSweucDwg5LW0oxGXsuD7M+h/amOFPagsg6qlxjDmLRkBfjIqYGnR2IWM7n8qf7k=

The same build with the same keys works on Java 1.7

pstanton avatar Mar 20 '18 06:03 pstanton

seems to be the same issue: https://stackoverflow.com/questions/32058431/aws-java-sdk-aws-authentication-requires-a-valid-date-or-x-amz-date-header/37694343

This library embeds the aws sdk version 1.9.24 which no longer works with the latest java.

Apparently v 1.11.52+ is required.

pstanton avatar Mar 20 '18 06:03 pstanton

https://github.com/aws/aws-sdk-java/issues/484

pstanton avatar Mar 21 '18 03:03 pstanton