Created
January 27, 2015 12:49
-
-
Save prcongithub/5dc5e11b23ab16af1aea to your computer and use it in GitHub Desktop.
AWS Time difference fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It's due to difference in time on your server and Amazon SES. | |
1. Check your linux server time by | |
> date | |
2. Check Amazon SES time by | |
> wget https://email.us-east-1.amazonaws.com --no-check-certificate --server-response | |
if this time difference is more than 300 seconds, then you get this error on sending email from Amazon SES, to solve this use ntpdate on your linux server | |
> sudo /usr/sbin/ntpdate 0.north-america.pool.ntp.org 1.north-america.pool.ntp.org 2.north-america.pool.ntp.org 3.north-america.pool.ntp.org | |
Again check the time difference by using above 2 commands. | |
If time difference is < 300 seconds . | |
It's done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment