[Box Backup] Connection fails during backup to remote server

Chris Wilson boxbackup@fluffy.co.uk
Sun, 13 Apr 2008 16:17:25 +0100 (BST)


Hi Matt,

On Sun, 13 Apr 2008, Matt Brown wrote:

> As promised, here is the start of testing with the two servers. The 
> remote server is a 1 & 1 server using the firewall they supply, running 
> Ubuntu x64 Dapper 6.06 LTS the client is Ubuntu x86 Dapper 6.06 LTS.
> 
> I have recreated the account on the remote server and here is the logs 
> from the remote server (Hercules):
> 
> Apr 13 15:22:48 hercules Box Backup (bbstored)[27422]: Receiving stream, size
> uncertain
> Apr 13 15:22:49 hercules last message repeated 9 times
> Apr 13 15:24:33 hercules last message repeated 4 times
> Apr 13 15:57:32 hercules Box Backup (bbstored)[27422]: WARNING: Exception
> thrown: BackupStoreException(ReadFileFromStreamTimedOut) at
> BackupContext.cpp(479)

...

> Apr 13 15:24:27 orion Backup (bbackupd)[10407]: Uploading complete file:
> /home/matt/3aitweb.tar.gz
> Apr 13 15:59:10 orion Backup (bbackupd)[10407]: WARNING: Exception thrown:
> ConnectionException(Conn_TLSWriteFailed) at SocketStreamTLS.cpp(442)

First of all, this looks like a classic SSL timeout. Did you enable the 
SslKeepAliveTime option in your client config? If not, don't do it yet, it 
would be helpful to debug the other issue first:

> Apr 13 15:59:10 orion Backup (bbackupd)[10407]: ERROR: Exception caught
> (Connection TLSWriteFailed (Probably a network issue between client and
> server.) 7/33), reset state and waiting to retry...
> Apr 13 15:59:20 orion Backup (bbackupd)[10407]: NOTICE: File statistics: total
> file size uploaded 127939748, bytes already on server 0, encoded size 70796099
> 
> A total of 68MB was transferred before the connection died on this occasion.

Did the client retry after this (about 100 seconds later) or not?

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\ _/_/_/_//_/___/ | We are GNU : free your mind & your software |