s3cmd to get files from S3 to EC2 I was getting this error "The difference between the request time and the current time is too large" and the command got terminated.
Found out that the time on EC2 instance was laging too much and wondered about the cause of the difference. Searching on web I could make out that the EC2 instance uses a software clock and it introuduces few seconds lag each day, which piles to this huge difference. Then I had to re-set the time to make the file tranfer work.
on command line set the data as below:
sudo date 062610252013.20
sets date and time to Jun 26 10:25:20 2013 (MMDDhhmmYYYY.ss)
It can also be done by configuring an NTP Server to auto sync the time.
Hope this helps.