S3Sync.net
February 02, 2014, 01:38:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Questions / Re: s3 403 error when using s3sync.rb on: December 15, 2007, 01:46:24 PM
yes

Code:
$ruby s3cmd.rb list Drop1
--------------------
Test.png


Thanks


2  General Category / Questions / Re: s3 403 error when using s3sync.rb on: December 14, 2007, 08:52:14 PM
Same error, Thanks
3  General Category / Questions / s3 403 error when using s3sync.rb 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?
4  General Category / Questions / Re: SSL Error on OSX 10.4 on: October 20, 2007, 09:43:58 PM
the shell script might not work right on mac?  Try the simpler one-cert method noted in the readme, might work better?

Tried that...

Code:
$ AWS_ACCESS_KEY_ID=xxxx
$ export AWS_ACCESS_KEY_ID
$ AWS_SECRET_ACCESS_KEY=xxxx
$ export AWS_SECRET_ACCESS_KEY
$ SSL_CERT_FILE=12345.0
$ export SSL_CERT_FILE

$ ruby s3sync.rb -d -r --ssl --delete /Users/user/Documents/ mybucket:/1234mybucket

SSL Error: certificate verify failed
No result available
99 retries left
etc...

$ ^C


any more ideas?  I have tried many certs including the exact one in the README.txt with no success.

5  General Category / Questions / SSL Error on OSX 10.4 on: October 19, 2007, 10:43:41 PM
Hello,

Using ubuntu no problem at all using OSX I am having a problem

Code:
#!/bin/bash
# script to check s3 buckets
cd /Users/simon/s3/s3sync
export AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXX
export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXX
export SSL_CERT_DIR=/Users/xxxxx/s3/s3sync/certs

/usr/local/bin/ruby s3cmd.rb --ssl listbuckets

I am using the certs generated from http://mirbsd.mirsolutions.de/cvs.cgi/~checkout~/src/etc/ssl.certs.shar

Code:
$ sh ssl.certs.shar

I am getting the following error:
Code:
SSL Error: certificate verify failed
99 retries left

I have tried multiple certs, directly pointed to a specific cert (used the one in the current README) with no luck.

ruby version
Code:
ruby 1.8.6 (2007-03-13 patchlevel 0) [universal-darwin8.0]

Using the latest s3sync.
OSX 10.4.10

Any thoughts?




Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!