aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

aws s3 recursive copy errors out

Open manivmtc opened this issue 1 year ago • 0 comments

Describe the bug

The command aws s3 cp local_folder s3://some-bucket/ --recursive
failed with the following message:
An error occurred (RequestTimeTooSkewed) when calling the CreateMultipartUpload operation: The difference between the request time and the current time is too large.

Expected Behavior

The copy should succeed or the error message should provide ways to mitigate or solve the issue

Current Behavior

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

Reproduction Steps

This could be reproduced perhaps by messing a bit with the ntpdate program

Possible Solution

  1. Either the clockskew should be true by default as several users have suggested previously. OR
  2. There should be a way to set the correctClockSkew property as documented in javascript sdk

Additional Information/Context

No response

CLI version used

ws-cli/2.15.43 Python/3.11.8 Linux/5.15.0-88-generic exe/x86_64.ubuntu.20 prompt/off

Environment details (OS name and version, etc.)

Ubuntu 20.04.4 LTS Codename:focal

manivmtc avatar May 02 '24 09:05 manivmtc