Title: s3 403 error when using s3sync.rb Post by: rhevelo on December 14, 2007, 01:54:49 PM Strange problem with s3sync.
Code: $ ./s3cmd.rb --ssl listbuckets Drop1 Drop2 $./s3ync.rb -r --ssl /Drop1/ mybucket:/Drop1 S3 command failed: list_bucket max-keys 200 prefix /Drop1 delimiter / With result 403 Forbidden S3 ERROR: #<Net::HTTPForbidden:0x50f208> ./s3sync.rb:286:in `+': can't convert nil into Array (TypeError) from ./s3sync.rb:286:in `s3TreeRecurse' from ./s3sync.rb:342:in `main' from ./thread_generator.rb:79:in `call' from ./thread_generator.rb:79:in `initialize' from ./thread_generator.rb:76:in `new' from ./thread_generator.rb:76:in `initialize' from ./s3sync.rb:263:in `new' from ./s3sync.rb:263:in `main' from ./s3sync.rb:721 The obvious being bad credentials but the s3cmd works fine. If I export the credentials and remove the .yml file the error remains the same and s3cmd still works properly. Any ideas? Title: Re: s3 403 error when using s3sync.rb Post by: ferrix on December 14, 2007, 07:01:58 PM Try ./s3ync.rb -r --ssl /Drop1/ mybucket:Drop1
Title: Re: s3 403 error when using s3sync.rb Post by: rhevelo on December 14, 2007, 08:52:14 PM Same error, Thanks
Title: Re: s3 403 error when using s3sync.rb Post by: ferrix on December 15, 2007, 10:12:09 AM So you can list that bucket using s3cmd and the same creds?
Title: Re: s3 403 error when using s3sync.rb Post by: rhevelo on December 15, 2007, 01:46:24 PM yes
Code: $ruby s3cmd.rb list Drop1 -------------------- Test.png Thanks Title: Re: s3 403 error when using s3sync.rb Post by: ferrix on December 16, 2007, 07:50:45 PM I am totally stumped.
If you want to temporarily grant me <-------- access to your test bucket I can try and repro the problem here. |