1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AWS SDKでSignatureDoesNotMatchがでたり、AWS CLIでRequestTimeTooSkewedがでた。原因はOS時刻遅れ

Last updated at Posted at 2016-05-21

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)
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?