Re: Unable to complete sync using ftpsync : Sync step 2 went wrong

Philip Hands <[email protected]>
Newsgroups gmane.linux.debian.user.mirrors
Message-ID <[email protected]>
Oscar Ricardo Silva <[email protected]> writes:

> Thank you for the suggestion but unfortunately, that didn't fix it. I 
> compiled rsync 3.1.1 (the latest) and ran ftpsync using that version but 
> still got the same error:
>
>
> rsync: connection unexpectedly closed (265158 bytes received so far) 
> [sender]

Could it be that some router near your end is not capable of passing all
data patterns?

I have certainly had it in that past (many years ago, admittedly) where a
Cisco router in a BT exchange had been left in a state where a
particular sequence of bytes would provoke it to go into a debugging
state, and that would then drop the packet containing that sequence, and
so kill the TCP stream.

I'd guess that if that were the case you'd be seeing other TCP failures,
but perhaps you're not noticing that because they're shorter-lived, and
automatically retried.

You could try using wireshark, tcpdump or whatever, to capture the
traffic from these sessions, and see what's going on when it fails.  If
the problem is with the data you're sending not getting through, you
will see the last packet being resent repeatedly, and can then focus on
what these last packets have in common.

Our fix at the time was to tunnel everything via a UDP VPN, and then
write a program that would provoke the problem in one packet and shout
at BT for a couple of months until they finally called in someone with a
clue ;-)

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY
signature.asc (application/pgp-signature, 818 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWOadOAAoJENBLo6ABJdXALNEQAKP4xTCPlHe3VvymEYZhTHm7
IEIJiV1o4cvvf0Hf0E3xTNlnRVyp7PnJtW/LLQcKxv9a/sK51UP312CyAZOMa2cC
jF6qEhNsCOV5mqLSnbsnPZHywE0pqGUcQQ7CRsPgAaCCp5UhJzzESS8YznfRpW3i
GCv56kD6vBOznvMTstfTolsT/ZcfWYFmKGua7qFo9X6dAFnoxW8I7/TgcjM2/qZB
R8sjiV312y+i6Qkseg0RHpYYLbAn7USDkKJISWtVi/WjqLUtl19VFQs2s0ltc8SQ
NYfai1/T99zpzq8aGyG5qCG/oR9vq8478m8ErSRsP/WzqpOF7akOkk3951UazFlu
np9b6ns8ZQaNYstSwUc53MK36lS/Wu8MZKEGIMu5w1Sg1MgdLnQsw7rrC3a9XcRT
iOB8XkrB+ET/knzkPEuFt0PWAflozuVhxWbxE8j6bn/IFUQTzvnnpyGVV36OD5Kx
P/JvZaDgw/V2M+0FmAuXAesaqj/OEQLo92FIpbVpl2lKcxetl0RkSf+8+kxM1/XN
Uk1FIoLDGblcjR/egyTrJDWZ765spJIItOVQlR0crHK1SzSDuNz7Q803cQH1d80Z
i2jXF9e1wjv9wNA6Ff8k9oAdLOXwKr2lRGx1YR/tECj+JD9nfi3lO5FAeLDWgwUu
4XMekhJM+hp8xjrzPaMO
=g4UF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.