Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Unable to download S3 files #15

Open
rpiskule opened this issue Feb 19, 2016 · 6 comments
Open

Unable to download S3 files #15

rpiskule opened this issue Feb 19, 2016 · 6 comments

Comments

@rpiskule
Copy link

Exception while trying to download object: AWS authentication requires a valid Date or x-amz-date header

@rtnewton1
Copy link

Exactly. I can't run an upload task either. It seems that AWS has changed there API, but this library had not kept up with it.

@fulghum
Copy link
Contributor

fulghum commented Jul 5, 2016

Sorry for the slow response on this one. Do you guys happen to have any HTTP wire logs from this error? The S3 API has remained backwards compatible since it's original release in 2006, so older SDK versions should work just fine. I'll see if we can repro the issue over on our side and find some more clues.

@GenghisChen
Copy link

I encountered the same problem and found clues in this thread: aws/aws-sdk-java#484
The problem is related to new Java releases and joda-time releases prior to 2.8.1

To solve it, i replaced the content of the /org/joda/time folder inside aws-java-sdk-ant-tasks-1.2.3.jar with the content of the latest joda-time.jar (2.9.4)

@rtnewton1
Copy link

Outstanging!

On Jul 15, 2016 12:48 PM, "Chen Levy" [email protected] wrote:

I encountered the same problem and found clues in this thread:
aws/aws-sdk-java#484 aws/aws-sdk-java#484
The problem is related to new Java releases and joda-time releases prior
to 2.8.1

To solve it, i replaced the content of the /org/joda/time folder inside
aws-java-sdk-ant-tasks-1.2.3.jar with the content of the latest
joda-time.jar (2.9.4)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#15 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADmBekG50qUNpsUVS11JrM-zyPhBVCp6ks5qV8fxgaJpZM4HeY44
.

@terraframe
Copy link

The fix mentioned in this ticket can be downloaded from:

http://nexus.terraframe.com/service/local/repositories/thirdparty/content/com/amazonaws/aws-java-sdk-ant-tasks/1.2.3-2/aws-java-sdk-ant-tasks-1.2.3-2.jar

@tylervz
Copy link

tylervz commented Feb 7, 2017

@terraframe thank you. Using that jar worked for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants