403 Forbidden when connecting to S3 bucket
I tried many ways to launch duplicity but it always fails returning me error "403 Forbidden".
Launch params are:
duplicity full --s3-use-new-style --s3-european-
What I have tried:
1) To run duplicity on Freebsd 9.3 and Debian 7.7 (same error)
2) To run both on physical & virtual machines (same error). Physical machine has dedicated IPv4 address while virtual used NATed internal address
3) Changed exception handling to view full error message on line 573 of boto / s3 / connection.py (added 'raise' instead of default value bucket=none). Before doing this, I was getting non-informative error "No connection to backend" and after it became "403 Forbidden"
4) Checked and confirmed ntp is running, server time was correct on all servers.
5) Checked libssl version - using latest one
6) Run boto without duplicity . I was able to create new bucket and new file (key) in this bucket (S3 Frankfurt). This means that probably reason of the error is in duplicity, not in boto.
7) Run duplicity using a. duply b. command line c. bash script
8) Put boto config in ~/.aws/credentials and /etc/boto.cfg
9) Put duply config in ~/.duply/
10) Put AWS access & secret key directly in command line, e.g. URL s3+http://
11) Created new bucket via web. --s3-european-
12) Run duplicity from bash script in which I specified AWS access & secret key
export AWS_ACCESS_
export AWS_SECRET_
13) Created different AWS power users to test different Access & Secret keys
I still cannot find solution. Please help me! Below is full error log:
root@host1:
Traceback (most recent call last):
File "/usr/local/
with_
File "/usr/local/
fn()
File "/usr/local/
action = commandline.
File "/usr/local/
backup, local_pathname = set_backend(
File "/usr/local/
globals.backend = backend.
File "/usr/local/
return _backends[
File "/usr/local/
self.
File "/usr/local/
self.bucket = self.conn.
File "/usr/local/
bucket = self.get_
File "/usr/local/
return self.head_
File "/usr/local/
raise err
S3ResponseError: S3ResponseError: 403 Forbidden
And my duply profile conf is:
GPG_PW=
TARGET='s3+http://
TARGET_USER='**'
TARGET_PASS='***'
SOURCE=
VERBOSITY=9
Thank you in advance!
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Duplicity Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: