Hi there. Just an FYI incase someone stumbles on this in future (probably not but hey maybe it will be me).

If you are trying to add an S3 container you may get the error message "‘The difference between the request time and the current time is too large" from AWS in the Storage API create container page. StorageAPI will give you an additional error message that seems to indicate the container name is incorrect. Its the AWS message which is correct though unclear in its meaning.

The meaning is that the Drupal servers clock and AWS's clock are more than 15 minutes out. I was trying to use Storage on an old server that hadn't had a reboot in a while and was running an older Ubuntu LTS. So I needed to update the clock and set a cron job to keep it in sync.

As root
# ntpdate ntp.ubuntu.com
# echo "ntpdate ntp.ubuntu.com" > /etc/cron.daily/ntpdate && chmod 755 /etc/cron.daily/ntpdate

Comments

Perignon’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Assigned: Unassigned » Perignon
Issue summary: View changes
Status: Active » Fixed

Thanks. I've updated the online documentation here on D.O

  • Perignon committed 437edb6 on 7.x-1.x
    Issue #2002236: Add S3 container: "The difference between the request...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Perignon’s picture

Issue tags: +Storage API 7.x-1.7