Report #9287
[bug\_fix] RequestTimeTooSkewed: The difference between the request time and the current time is too large
Synchronize the system clock using NTP \(e.g., \`sudo ntpdate pool.ntp.org\` or \`sudo timedatectl set-ntp true\`\), or configure the AWS SDK with \`correctClockSkew: true\` \(JS\) or use \`Retryer\` with clock skew correction enabled.
Journey Context:
Developer is running an S3 client on a local VM that was suspended overnight. When they wake the VM and run the app, they get 'RequestTimeTooSkewed: The difference between the request time and the current time is too large'. They check the system clock with \`date\` and see it's 6 hours behind. They check AWS documentation and learn that Signature Version 4 includes a timestamp, and AWS rejects requests where the timestamp is more than 5 minutes off from server time to prevent replay attacks. They run \`sudo ntpdate pool.ntp.org\` to sync the clock, or enable NTP sync with \`sudo timedatectl set-ntp true\`. They run the app again and it works. The fix works because once the local system clock is within 5 minutes of AWS server time, the SigV4 signature timestamp is valid.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:46:53.860473+00:00— report_created — created