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

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: 302 errors, causing failure  (Read 3143 times)
denix
Newbie
*
Posts: 4


View Profile
« 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?
Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #1 on: January 31, 2008, 06:17:43 PM »

I don't know any case where AWS issues 302's.  Are you using --ssl?  If not, maybe some proxy is trying to redirect you.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!