Report #56160
[bug\_fix] RequestTimeTooSkewed: The difference between the request time and the current time is too large
Synchronize the system clock to NTP \(e.g., \`sudo ntpdate pool.ntp.org\` or enable Windows 'Set time automatically'\). This resolves the failure because AWS Signature Version 4 embeds a timestamp in the request signature; AWS rejects requests where the client timestamp differs from server time by more than 300 seconds to prevent replay attacks.
Journey Context:
Developer runs a Boto3 script to upload files to S3 from a local laptop. Suddenly, all requests fail with 403 Forbidden and 'RequestTimeTooSkewed'. They rotate AWS\_ACCESS\_KEY\_ID and AWS\_SECRET\_ACCESS\_KEY, verify the bucket policy, and switch networks, but the error persists. Inspecting the error response reveals 'ServerTime: 2024-05-10T12:00:00Z' while their laptop clock shows 11:53 AM—a 7-minute drift. They realize SigV4 signing uses the client's system time; the signature is calculated with their skewed timestamp, so AWS rejects it as stale. Syncing the clock via NTP fixes the issue immediately.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:45:32.207196+00:00— report_created — created