2

我是 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

在此先感谢,谁能告诉我要进行哪些更改才能正常运行...

4

1 回答 1

2

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

于 2013-07-23T07:44:16.063 回答