Report #15662
[bug\_fix] RequestTimeTooSkewed: The difference between the request time and the current time is too large
Synchronize the system clock with NTP \(e.g., \`ntpdate\` or \`chronyc\`\), or enable the SDK's built-in clock skew correction \(e.g., \`correctClockSkew: true\` in AWS SDK JS v2 or setting \`clockSkew\` in v3\). Root cause: AWS Signature Version 4 embeds the current timestamp in the signature; if the client clock differs from AWS server time by more than 5 minutes, the request is rejected to prevent replay attacks.
Journey Context:
Developer runs a local script on their laptop to upload files to S3. Suddenly all requests fail with 'RequestTimeTooSkewed'. They regenerate AWS access keys twice, check IAM policies, and verify the bucket policy is unchanged. They even try a different network. Finally, they notice their laptop's clock is set to yesterday due to a failed dual-boot time sync. They sync the clock with time.apple.com, and uploads immediately resume without any code changes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T00:44:52.156349+00:00— report_created — created