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

getting 403 when trying to sync files/running cycletest.sh #2

Closed
shekarkcb opened this issue Sep 7, 2012 · 4 comments
Closed

getting 403 when trying to sync files/running cycletest.sh #2

shekarkcb opened this issue Sep 7, 2012 · 4 comments
Labels

Comments

@shekarkcb
Copy link

When i run the script with glacier.cfg, i am getting below message -
command run is - time perl mtglacier.pl sync --config=./glacier.cfg --from-dir backups/ --to-vault=mytestvault --journal=journal.log --concurrency=3
and the response was ,
{"message":"Signature expired: 20120907T094027Z is now earlier than 20120907T094737Z (20120907T095237Z - 5 min.)","code":"InvalidSignatureException","type":"Client"}

Thanks.

@vsespb
Copy link
Owner

vsespb commented Sep 7, 2012

Hello. Sorry for late response, somehow I did not received email notification for this issue.

Amazon needs a timestamp for each request. This message means request time differs from real time a lot.
Most common reason for this is that your system clock is not accurate. Also make sure your timezone is correct.

@shekarkcb
Copy link
Author

Thanks for the reply.
When i run the date command on the machine, its giving below output.
cmd - date => o/p Mon Sep 10 10:59:12 IST 2012 , Is there any way to check my dat/timezone is correctly configured to take care of aws?

Thanks.

@vsespb
Copy link
Owner

vsespb commented Sep 10, 2012

You can use sites like http://time.is/ to check your time. Or you can ask any of your friends for correct time. Make sure "IST" is correct timezone for your location. Under linux you can synchronize time using NTP software.

Also, seems you are newbie in linux, so I must warn you - before using Amazon Glacier make sure you understand their pricing model - retrieving data back can be extremely expensive http://aws.amazon.com/glacier/faqs/#How_will_I_be_charged_when_retrieving_large_amounts_of_data_from_Amazon_Glacier

@shekarkcb
Copy link
Author

I think, the issue was with my time, it was behind 10mins from actual time of India - i corrected the same and now i can see mtglacier script working. Thanks for pointing out.

Thanks.

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

No branches or pull requests

2 participants