aws-toolkit for eclipse:运行awsconsoleapp问题?

txu3uszq  于 2021-06-03  发布在  Hadoop
关注(0)|答案(1)|浏览(328)

我是aws新手,当我尝试在eclipse中运行awsconsoleapp.java时,出现以下错误。我已经正确设置了访问id和密钥。

===========================================
    Welcome to the AWS Java SDK!
    ===========================================
    Caught Exception: Request has expired. Timestamp date is 2013-07-09T06:24:57.628Z
    Reponse Status Code: 400
    Error Code: RequestExpired
    Request ID: xxxxxx-xxx-xxxxxx-xxxxxxx
    Caught Exception: Request has expired. Timestamp date is 2013-07-09T06:25:00.216Z. Current date is 2013-07-22T07:27:27Z
    Reponse Status Code: 400
    Error Code: RequestExpired
    Request ID: xxxxx--xxxx-xxxx-xxxx-xxxxxxxxx
    Error Message:    The difference between the request time and the current time is too large.
    HTTP Status Code: 403
    AWS Error Code:   RequestTimeTooSkewed
    Error Type:       Client
    Request ID:       xxxxxxxxxxx

提前谢谢,谁能告诉我要做什么改变才能正常运行。。。

1zmg4dgp

1zmg4dgp1#

请在本地机器上检查时间戳。以及与服务器示例时间戳匹配的。两个时间戳应该是相同的,那么只有它才能正常工作。

相关问题