Title: Response code: 403 Post by: robstead on April 03, 2008, 03:52:06 AM Hello,
I would be grateful for some help. I'm using S3Sync to backup 6.5GB of wav files to a European bucket. Everything appears to work but I then get this: local node object init. Name:OUT22-20080219-100829-1203415700.3355.wav Path:/var/spool/asterisk/monitor/OUT22-20080219-100829-1203415700.3355.wav Size:1415084 Tag:912d4a04de10c0f01cb41863205a21eb nextPage: trixbox/OUT22-20080219-100828-1203415700.3355.wav Trying command list_bucket lfsbackups max-keys 200 prefix trixbox/ marker trixbox/OUT22-20080219-100828-1203415700.3355.wav delimiter / with 100 retries left Response code: 403 S3 command failed: list_bucket max-keys 200 prefix trixbox/ marker trixbox/OUT22-20080219-100828-1203415700.3355.wav delimiter / With result 403 Forbidden <?xml version="1.0" encoding="UTF-8"?> <Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><RequestId>A6636550401DE6E5</RequestId><AWSAccessKeyId>055BY9Y5ZD98KRMS6PG2</AWSAccessKeyId><HostId>IahGpjKNoEYX2p6ayeskQWwesbGjNGti6yZ4vfQYXH8HQ6HYtKAA2hxWwl72Jtj6</HostId></Error> S3 ERROR: #<Net::HTTPForbidden:0xb7deeefc> /usr/bin/s3sync/s3sync.rb:289:in `+': can't convert nil into Array (TypeError) from /usr/bin/s3sync/s3sync.rb:289:in `s3TreeRecurse' from /usr/bin/s3sync/s3sync.rb:332:in `s3TreeRecurse' from /usr/bin/s3sync/s3sync.rb:313:in `each' from /usr/bin/s3sync/s3sync.rb:313:in `s3TreeRecurse' from /usr/bin/s3sync/s3sync.rb:345:in `main' from /usr/bin/s3sync/thread_generator.rb:79:in `call' from /usr/bin/s3sync/thread_generator.rb:79:in `initialize' from /usr/bin/s3sync/thread_generator.rb:76:in `new' from /usr/bin/s3sync/thread_generator.rb:76:in `initialize' from /usr/bin/s3sync/s3sync.rb:266:in `new' from /usr/bin/s3sync/s3sync.rb:266:in `main' from /usr/bin/s3sync/s3sync.rb:724 Can anyone point me in the right direction on how to either fix or identify what the problem is? Thanks, Rob Title: Re: Response code: 403 Post by: robstead on April 04, 2008, 10:49:46 AM Some follow-up information...
I also receive the 'AWS Access Key Id you provided does not exist in our records.' error when I used Bucket Explorer so I guess something is wrong at the Amazon end. I'm now trying again but using a US bucket which I created using s3sync. Previously I created the European bucket using Bucket Explorer. Rob Title: Re: Response code: 403 Post by: robstead on April 12, 2008, 02:50:11 AM I'm pleased to say using a US bucket worked.
Thanks for this very useful tool. Rob |