S3Sync.net
February 02, 2014, 01:26:12 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 / 302 errors, causing failure on: January 31, 2008, 09:46:55 AM
Hi,

Everything's been working fine for a while, but this morning my backup failed with the following error:

Code:
S3 command failed:
list_bucket max-keys 200 prefix admin/admin/New Docs and Labels/WWS2000 V2.6/cd design/ delimiter /
With result 302 Found
S3 ERROR: #<Net::HTTPFound:0x8560934>
./s3sync.rb:289:in `+': can't convert nil into Array (TypeError)
        from ./s3sync.rb:289:in `s3TreeRecurse'
        from ./s3sync.rb:332:in `s3TreeRecurse'
        from ./s3sync.rb:313:in `each'
        from ./s3sync.rb:313:in `s3TreeRecurse'
        from ./s3sync.rb:332:in `s3TreeRecurse'
        from ./s3sync.rb:313:in `each'
        from ./s3sync.rb:313:in `s3TreeRecurse'
        from ./s3sync.rb:332:in `s3TreeRecurse'
         ... 9 levels...
        from ./thread_generator.rb:76:in `initialize'
        from ./s3sync.rb:266:in `new'
        from ./s3sync.rb:266:in `main'
        from ./s3sync.rb:724

I've re-run the backup, but the same thing happened, although in a different place:

Code:
S3 command failed:
list_bucket max-keys 200 prefix admin/admin delimiter /
With result 302 Found
S3 ERROR: #<Net::HTTPFound:0xb7a65e34>
./s3sync.rb:289:in `+': can't convert nil into Array (TypeError)
        from ./s3sync.rb:289:in `s3TreeRecurse'
        from ./s3sync.rb:345: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:266:in `new'
        from ./s3sync.rb:266:in `main'
        from ./s3sync.rb:724

I've updated to the latest s3sync, but that didn't help.

Any ideas?
2  General Category / Closed Bugs / AWS_CALLING_FORMAT: SUBDOMAIN does not work in yml file on: December 20, 2007, 05:46:33 AM
See thread: http://s3sync.net/forum/index.php?topic=100.0

If specifying AWS_CALLING_FORMAT: SUBDOMAIN in s3config.yml, s3sync/s3cmd fails. It says 403 Forbidden (SignatureDoesNotMatch)

If I specify it on the command line (AWS_CALLING_FORMAT=SUBDOMAIN ./s3cmd.rb createbucket mybucket EU) it works. Unless it is also specified in the yml file, in which case it fails.
3  General Category / Feature Requests / Inactivity timeout on: December 20, 2007, 05:42:53 AM
We live out in the sticks, and our DSL connection is slow and flaky, and occasionally drops and has to resync.

If we are running a long transfer in s3sync, it hangs and never resumes. However, s3sync stays running, idle.

I have a nightly cron job that checks if s3sync is running, and if it isn't, starts it to do a backup. This works fine unless s3sync is hung, in which case nothing ever happens until I manually kill it.

I realise a workaround would be to have the cron job kill s3sync and run it again, but I'm sometimes dealing with large (>1Gb) files and would prefer not to have it start them over. However, sometimes the transfer of all changed-stuff takes over a day, which is why I'm having to do the check for a running s3sync in the first place.

It would be nice if s3sync would just die if it hadn't transferred anything for a minute or two. That way I wouldn't have to sort it out by hand every time it hangs.
4  General Category / Questions / Re: How to choose storage location in Amazon S3 on: December 11, 2007, 05:54:35 AM
update: checked and confirmed: aws_calling_format: SUBDOMAIN in s3config.yml yields a 403 (forbidden, Error: SignatureDoesNotMatch)

I have this problem also.

This works:
AWS_CALLING_FORMAT=SUBDOMAIN ./s3cmd.rb createbucket mybucket EU
but only if I remove
AWS_CALLING_FORMAT: SUBDOMAIN
from s3config.yml. Otherwise it fails with 403 Forbidden (SignatureDoesNotMatch)
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!