3
1

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.

sls deployしたら ServerlessError: Signature expired が出たときの対処

Posted at

#はじめに

sls deployを実行した後に、エラーが発生しました。

  Serverless Error ---------------------------------------
 
  ServerlessError: Signature expired: 20180412T100757Z is now earlier than 20180412T101229Z (20180412T101729Z - 5 min.)
 
  Stack Trace --------------------------------------------
 

AWSにデプロイするときにクライアント側の時刻が現在時刻と10分以上差がありました。
その為、Signature expiredが発生しました。
ということで、時刻同期を行いました。

#開発環境

  • VirtualBox 5.2.8 r121009
  • ubuntu 14.04

#対処
以下のコマンドを実行します。

$ sudo ntpdate -v ntp.nict.jp

これで、時刻が同期されましたので、再度デプロイを実行すればOKです。

3
1
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
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?