I'm using the aws-sdk-php
, the SesClient specifically, i've deployed an app in a customer server (hosted in DreamHost) and I'm getting this error:
Signature not yet current: 20130909T170846Z is still later than 20130909T170823Z (20130909T170323Z + 5 min.)
I'm guessing the server time is misconfigured, I'm trying to reach DH support to check on that, i bet that will take a while.
Any other ideas? The app has been deployed many times before and i've never seen this error.
I had the similar issue. I was running my CI server from an Ubuntu EC2 instance and that has the time out of sync. I synchronised the time with NTP suing
sudo ntpdate ntp.ubuntu.com
It started working fine.
If you are using windows, just set the current time and time zone automatically. It will resolve the issue.
I had the same issue recently. I did the following
sudo ntpd -q -g
The -g
option is needed if your clock is way out of sync. It forces ntpd
to continue till it's in sync.
I just encountered the same problem with a Django app deployed to AWS. The site error was really vague, but the error log that was emailed to me said, "JSONResponseError: JSONResponseError: 403 Forbidden {'message': 'Signature not yet current: 20150224T185106Z is still later than 20150224T185033Z (20150224T184533Z + 5 min.)'}" after a file path that pointed to Boto and Elastic Transcoder. Do the following on the server:
ntpq -p
will tell you if you have ntp installedsudo apt-get install ntp
sudo service ntp stop
sudo ntpdate -s us.pool.ntp.org
will align your server's time with atomic clocks in the U.S. (this will need to be adjusted to your country)sudo service ntp start
Good luck! You can read more here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html#configure_ntp
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With