add some debugging info for if your clock is skewed

This commit is contained in:
Matthew Hooker 2016-10-02 17:32:57 -07:00
parent bddb2c25f2
commit 7a1b84cec1
1 changed files with 10 additions and 0 deletions

View File

@ -155,3 +155,13 @@ work, but specifics will depend on your use-case.
]
}
```
### Checking that system time is current
Amazon uses the current time as part of the [request signing
process](http://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html). If
your system clock is too skewed from the current time, your requests might
fail. If you suspect your system's date is wrong, you can compare it against
http://www.time.gov/. On Linux/OS X, you can run the `date` command to get the
current time. If you're on Linux, you can try setting the time with ntp by running
`sudo ntpd -q`.