AWSのPython SDK(Boto)で以下のエラーが出たり
<?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05\
/"><Error><Type>Sender</Type><Code>SignatureDoesNotMatch</Code><Message>Signature ex\
pired: 20160521T123018Z is now earlier than 20160521T130541Z (20160521T132041Z - 15 \
min.)</Message><Detail/></Error><RequestId>2cfb54a3-b648-5c18-9e36-1b19d4a1aa41</Req\
uestId></ErrorResponse>
AWSのCLIで以下のエラーが出た
A client error (RequestTimeTooSkewed) occurred when calling the ListObjects operation: The difference between the request time and the current time is too large.
原因は、OSの時刻が遅れていたためだった。1時間はハマった・・・
ちなみにバージョンは以下の通り
- aws-cli/1.10.32 Python/2.7.5 Linux/3.10.0-229.el7.x86_64 botocore/1.4.22
- boto (2.40.0)