0 votes

Hi, I installed the AWS cli. Getting an error message for this AWS command

aws s3 ls s3://mybucket

Error message: 

An error occurred (RequestTimeTooSkewed) when calling the ListObjectsV2 operation: The difference between the request time and the current time is too large.

How can I solve this?

by (111 points)

1 Answer

0 votes

Use these commands given below. Hope this will solve the issue.

service ntp stop

ntpdate -s 0.amazon.pool.ntp.org

service ntp start

by (147 points)