A Blog Of Random Coding Techniques & Experiments Robert Askam

[SOLVED] AWS Error Type: client, AWS Error Message: The difference between the request time and the current time is too large. Post [SOLVED] AWS Error Type: client, AWS Error Message: The difference between the request time and the current time is too large. 2 weeks ago

Our production server was forced to restart and once it was back online we had issues with AWS file uploads and retreival. Getting the error "AWS Error Type: client, AWS Error Message: The difference between the request time and the current time is too large. " to fix this I ran.

date -u
, this will check what the actual date is set at. If incorrect which ours was run.
ntpdate -q 0.rhel.pool.ntp.org
If you get
ntpstat: command not found
then run
yum install ntp ntpdate npt-doc
Re run
ntpdate -q 0.rhel.pool.ntp.org
and now it should all be in sync.