[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] RequestTimeTooSkewed
From: |
Richard Scott |
Subject: |
[Duplicity-talk] RequestTimeTooSkewed |
Date: |
Thu, 9 Oct 2008 13:09:54 +0100 (BST) |
User-agent: |
SquirrelMail/1.5.1 |
Hi,
I've come across an intereseting problem with time syncronisation. If the clock
on your computer
is different to Amazon S3 you get this error message:
Traceback (most recent call last):
File "/usr/bin/duplicity", line 522, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 516, in with_tempdir
fn()
File "/usr/bin/duplicity", line 498, in main
full_backup(col_stats)
File "/usr/bin/duplicity", line 209, in full_backup
bytes_written = write_multivol("full", tarblock_iter, globals.backend)
File "/usr/bin/duplicity", line 149, in write_multivol
bytes_written += waiter()
File "/usr/lib/python2.5/site-packages/duplicity/asyncscheduler.py", line
154, in
__run_synchronously
ret = fn(*params)
File "/usr/bin/duplicity", line 143, in <lambda>
async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename:
put(tdp,
dest_filename),
File "/usr/bin/duplicity", line 97, in put
backend.put(tdp, dest_filename)
File "/usr/lib/python2.5/site-packages/duplicity/backends/botobackend.py",
line 148, in put
self.bucket = self.conn.create_bucket(self.bucket_name)
File "/usr/lib/python2.5/site-packages/boto/s3/connection.py", line 278, in
create_bucket
raise S3ResponseError(response.status, response.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>RequestTimeTooSkewed</Code><Message>The difference between the
request time and the
current time is too
large.</Message><ServerTime>2008-10-09T11:52:04Z</ServerTime><RequestId>F7C7A5B1E5EF7A7C</RequestId><MaxAllowedSkewMilliseconds>900000</MaxAllowedSkewMilliseconds><HostId>lTwXWbFdiq7z+Qj9wTMl0hK4ZCbAIrsNXKpcRfm/RwZrduYoL6gJcTTk6HIKwG5X</HostId><RequestTime>Thu,
09 Oct 2008 11:13:15 GMT</RequestTime></Error>
I'd not realised when I ran duplicity that the time on my computer was 45min
slow! :-(
I'm using duplicity-0.5.02 and boto-1.4c if it helps??
Would it be possible if this RequestTimeTooSkewed error message could be
displayed as something
human readable and then get duplicity to exit nicely?
Cheers,
Rich.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Duplicity-talk] RequestTimeTooSkewed,
Richard Scott <=