[Box Backup] Connection fails during backup to remote server

Matt Brown boxbackup@fluffy.co.uk
Sun, 13 Apr 2008 16:13:36 +0100


Hi Chirs,

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:36 hercules Box Backup (bbstored)[27413]: NOTICE:  
Starting daemon, version 0.11rc2, config: /etc/box/bbstored.confApr 13  
15:22:46 hercules Box Backup (bbstored)[27413]: WARNING: Message from  
child process 27422: Incoming connection from x.x.x.x port 41260
Apr 13 15:22:47 hercules Box Backup (bbstored)[27422]: NOTICE: Login  
from Client ID 0x00000001 Read/Write
Apr 13 15:22:47 hercules Box Backup (bbstored)[27422]: Sending stream,  
size 40
Apr 13 15:22:47 hercules Box Backup (bbstored)[27422]: Receiving  
stream, size 49
Apr 13 15:22:47 hercules last message repeated 3 times
Apr 13 15:22:48 hercules Box Backup (bbstored)[27422]: Sending stream,  
size 89
Apr 13 15:22:48 hercules Box Backup (bbstored)[27422]: Receiving  
stream, size 49
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:57:32 hercules Box Backup (bbstored)[27422]: ERROR: Error in  
child process, terminating connection: BackupStore  
ReadFileFromStreamTimedOut (4/21)

Here are the logs from the client (Orion):

Apr 13 15:22:40 orion Backup (bbackupd)[10407]: Incoming connection  
from local (UNIX socket)
Apr 13 15:22:40 orion Backup (bbackupd)[10407]: Connection from  
command socket
Apr 13 15:22:40 orion Backup (bbackupd)[10407]: NOTICE: Beginning scan  
of local files
Apr 13 15:22:40 orion Backup (bbackupd)[10407]: Opening connection to  
server 'hercules.xxxxxxxxxxx...
Apr 13 15:22:41 orion Backup (bbackupd)[10407]: Connection made, login  
successful
Apr 13 15:22:41 orion Backup (bbackupd)[10407]: Not deleting unused  
entries - none in list
Apr 13 15:22:41 orion Backup (bbackupd)[10407]: NOTICE: About to  
notify administrator about event backup-start, running script '/etc/ 
box/bbackupd/NotifySysadmin.sh backup-start'
<snip> list of files being synced.
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)
Apr 13 15:59:10 orion Backup (bbackupd)[10407]: ERROR: Failed to  
upload file: /home/matt/3aitweb.tar.gz: caught exception: Connection  
TLSWriteFailed (Probably a network issue between client and server.)  
(7/33)
Apr 13 15:59:10 orion Backup (bbackupd)[10407]: ERROR: SSL error  
during Write: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write  
retry
Apr 13 15:59:10 orion Backup (bbackupd)[10407]: WARNING: Exception  
thrown: ConnectionException(Conn_TLSWriteFailed) at  
SocketStreamTLS.cpp(442)
Apr 13 15:59:10 orion Backup (bbackupd)[10407]: WARNING: Suppressing  
duplicate notification about backup-error
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.

Regards

Matt