Rich Rodecker’s blog on flash, flex, actionscript, javascript, and php, with a dash of randomness
Amazon S3 “RequestTimeTooSkewed” error
I was trying to connect to S3 today, and both Transmit and Forklift were giving me connection errors:
XML:
-
<Error>
-
<Code>RequestTimeTooSkewed</Code>
-
<Message>The difference between the request time and the current time is too large.</Message>
-
<MaxAllowedSkewMilliseconds>900000</MaxAllowedSkewMilliseconds>
-
<RequestId>68532E845A05B015</RequestId>
-
<HostId>FfoBOO+7Kh+0Aa35f+Oa0P+Beeym+10LNyLVTGI3VgEHkVjotak8+L1QHaWOsIaf</HostId>
-
<RequestTime>Fri, 22 Jan 2010 00:10:57 GMT</RequestTime>
-
<ServerTime>2010-01-21T23:53:58Z</ServerTime>
-
</Error>
The problem: my system clock was manually set 15 minutes fast. The s3 api will check the request time against the time on the server to see if it's been too long, and if it has, it returns the above error. Fixing the time solved it.
| Print article | This entry was posted by rich on January 21, 2010 at 4:03 pm, and is filed under flash. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |