Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS authentication requires a valid Date or x-amz-date header #271

Open
sjernigan opened this issue Apr 14, 2016 · 2 comments
Open

AWS authentication requires a valid Date or x-amz-date header #271

sjernigan opened this issue Apr 14, 2016 · 2 comments

Comments

@sjernigan
Copy link

Version 2.3.0 of the plugin.
I can create a repo successfully but when I try to create a snapshot, I get the stack trace below. I believe bucket and IAM roles/policies are correct. I've enabled bucket logging but haven't seen anything yet. Any thoughts?

[snapshots ] [Gabriel Summers] failed to create snapshot [aws_backup2:snapshot_1]
org.elasticsearch.snapshots.SnapshotCreationException: [aws_backup2:snapshot_1] failed to create snapshot
at org.elasticsearch.repositories.blobstore.BlobStoreRepository.initializeSnapshot(BlobStoreRepository.java:253)
[stuff deleted]
Caused by: java.io.IOException: Failed to get [snapshot-snapshot_1]
at org.elasticsearch.common.blobstore.support.BlobStores.syncWriteBlob(BlobStores.java:60)
[stuff deleted]
Caused by: 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: <id_here>), S3 Extended Request ID: <id_here>=
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:820)

@sjernigan
Copy link
Author

see this issue ##233

@bnm22
Copy link

bnm22 commented Sep 1, 2018

+1

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

No branches or pull requests

2 participants