S3: Unable to access european buckets, new authorization mechanism not supported AWS4-HMAC-SHA256
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Invalid
|
Medium
|
Unassigned | ||
Debian |
New
|
Undecided
|
Unassigned | ||
duplicity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Accessing a bucket that was created in the AWS console in the German location Frankfurt is not working, due to Amazon requiring some new authentication method.
I made a minor modification to the code as outlined in bug #1278529 to have the exception raised instead of displaying "No connection to backend".
To reproduce create a bucket in the Frankfurt location and try to access it using duplicity.
duplicity full -v9 --s3-european-
Exit code: 30
Using archive dir: /home/dave/
Using backup name: 251e8f41ea8795b
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Using temporary directory /tmp/duplicity-
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
action = commandline.
File "/usr/lib/
backup, local_pathname = set_backend(
File "/usr/lib/
globals.backend = backend.
File "/usr/lib/
return _backends[
File "/usr/lib/
self.
File "/usr/lib/
self.bucket = self.conn.
File "/usr/lib/
bucket = self.get_
File "/usr/lib/
bucket.
File "/usr/lib/
'', headers, **params)
File "/usr/lib/
response.
S3ResponseError: S3ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Error>
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.02 |
status: | New → In Progress |
This is a boto issue, not a duplicity issue. You will need to upgrade to at least boto 2.36.0. To do so:
$ sudo pip install --upgrade boto