aws-cli
aws-cli copied to clipboard
aws s3 recursive copy errors out
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
- Either the clockskew should be true by default as several users have suggested previously. OR
- There should be a way to set the
correctClockSkewproperty 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