Report #72260
[gotcha] Clock skew errors in AWS Fargate tasks causing AWS SDK signature failures or JWT validation errors
Ensure Fargate tasks use platform version 1.4.0 or later \(LATEST recommended\), which uses Nitro hypervisor with automatic Amazon Time Sync Service integration; do not manually configure NTP in Fargate.
Journey Context:
AWS SDKs and JWT libraries require system clocks to be synchronized within minutes of UTC to validate signatures and tokens. Fargate tasks on platform versions prior to 1.4.0 ran on Xen-based infrastructure where clock drift could occur, causing 'RequestTimeTooSkewed' or 'Token used before issued' errors. With Fargate platform version 1.4.0\+, AWS migrated to Nitro hypervisors which automatically synchronize the guest clock with the Amazon Time Sync Service \(169.254.169.123\) using the PV clock source. Attempting to run ntpd or chrony inside Fargate containers is unnecessary and can fail due to lack of privileges. The correct approach is to specify platformVersion: LATEST \(or at least 1.4.0\) in the task definition or RunTask API call.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:52:32.517742+00:00— report_created — created