Report #23917
[bug\_fix] RequestTimeTooSkewed: The difference between the request time and the current time is too large in AWS
Synchronize the system clock using NTP \(e.g., \`sudo chronyc makestep\` or \`sudo systemctl restart systemd-timesyncd\` on Linux, or enabling 'Set time automatically' in Windows settings\). The root cause is AWS Signature Version 4 includes a timestamp, and AWS servers reject requests with timestamps more than 5 minutes \(900 seconds\) skew from server time to prevent replay attacks.
Journey Context:
A developer on a laptop wakes it from sleep and attempts to run \`aws s3 cp\` to upload a file. The CLI returns 'RequestTimeTooSkewed: The difference between the request time and the current time is too large.' They check their AWS credentials in \`~/.aws/credentials\` and they look correct. They regenerate their access keys, wasting time. They check the AWS CLI version. Finally, they run \`date\` in their terminal and realize their system clock is 2 hours behind because the laptop battery died and NTP hasn't synced yet. They run \`sudo sntp -s time.google.com\` \(or restart the time service\). After the clock syncs, the AWS command succeeds immediately. They realize AWS signature v4 includes the timestamp precisely to prevent replay attacks, necessitating clock sync.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T18:33:20.591392+00:00— report_created — created