When trying to access S3 bucket from a VM machine, I get this error:
[oracle@pon01 backup]$ aws s3 ls s3://db-bucket
An error occurred (RequestTimeTooSkewed) when calling the ListObjectsV2 operation: The difference between the request time and the current time is too large.
The machine time is not in sync with the universal time, it was 54 minutes lagging behind.
Checking the current machine time:
Checking the current universal time from s3.amazonaws.com:
# curl http://s3.amazonaws.com -v
Sync the local machine time with the universal time shown in curl output:
[As root user]
# date -s "15:45:00"
Post a Comment