S3Sync.net
February 02, 2014, 01:25:44 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 / Report Bugs / Re: unrescued exception on: June 16, 2008, 07:24:02 PM
Thanks Ferrix,

I've upgraded to 1.2.6 and it seems to work fine, although I've been unable to replicate the "Connection reset by peer" error, so it's hard to verify that your fix solves the problem. For now I'll assume it works.
2  General Category / Report Bugs / Re: unrescued exception on: June 09, 2008, 11:14:11 PM
We've been using s3sync for months now - it's a great script. Thanks for the hard work.

I have seen this error occur a few times recently as well. I am using v1.2.4, executing the following command:

Code:
s3sync.rb -v --ssl  -r /backups/daily server-backups:

A sample error message:

Code:
/usr/lib/ruby/1.8/net/http.rb:586:in `connect': Connection reset by peer (Errno::ECONNRESET)
       from /usr/lib/ruby/1.8/net/http.rb:586:in `connect'
       from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
       from /usr/lib/ruby/1.8/net/http.rb:548:in `start'
       from /home/bin/s3sync/S3_s3sync_mod.rb:55:in `make_http'
       from /home/bin/s3sync/s3try.rb:62:in `S3tryConnect'
       from /home/bin/s3sync/s3try.rb:69:in `S3try'
       from /home/bin/s3sync/s3sync.rb:284:in `s3TreeRecurse'
       from /home/bin/s3sync/s3sync.rb:345:in `main'
       from /home/bin/s3sync/thread_generator.rb:79:in `call'
       from /home/bin/s3sync/thread_generator.rb:79:in `initialize'
       from /home/bin/s3sync/thread_generator.rb:76:in `new'
       from /home/bin/s3sync/thread_generator.rb:76:in `initialize'
       from /home/bin/s3sync/s3sync.rb:266:in `new'
       from /home/bin/s3sync/s3sync.rb:266:in `main'
       from /home/bin/s3sync/s3sync.rb:724

Sync Complete.

I've just upgraded to v1.2.5 but as far as I can tell this new version includes the no md5 option with no other fixes.

I found this thread: http://developer.amazonwebservices.com/connect/thread.jspa?threadID=11975#45396, where greg says:
Quote
The first one seems self-explanatory.  I'm not catching connection resets.

Greg, would it be possible to implement a fix so if this error occurs, the sync script attempts to retry (as it does when it encounters 500 Internal Server errors)?

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