Open rezib opened 8 years ago
When syncing from some servers, clara repo sometimes show Connection refusederrors:
clara repo
Connection refused
# clara -d repo sync calibre8 clara - DEBUG - ['/usr/bin/clara', 'repo', 'sync', 'calibre8'] clara - DEBUG - The suites to sync are: calibre8-security wheezy/updates wheezy-updates calibre8 wheezy. clara - DEBUG - utils/run: debmirror --diff=none --method=http --nosource --ignore-release-gpg --ignore-missing-release --arch=i386,amd64 --host=dist.calibre.edf.fr --root=calibre8/calibre-security --dist=calibre8-security --section=main,contrib,non-free,main/debian-installer /admin/public/http/mirror/calibre8/new/calibre8-security rsync: failed to connect to dist.calibre.edf.fr (10.122.34.11): Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9] Warning: failed to use rsync to download extra files. clara - DEBUG - utils/run: debmirror --diff=none --method=http --nosource --ignore-release-gpg --ignore-missing-release --arch=i386,amd64 --host=dist.calibre.edf.fr --root=calibre8/debian-security --dist=wheezy/updates --section=main,contrib,non-free,main/debian-installer /admin/public/http/mirror/calibre8/new/wheezy/updates rsync: failed to connect to dist.calibre.edf.fr (10.122.34.11): Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9] Warning: failed to use rsync to download extra files.
It seems reprepro tries to connect using rsync protocol first, which is wrong since the --method=http is given in parameter.
reprepro
--method=http
Tested on Debian wheezy with reprepro 4.12.5-1.
This is a longstanding problem with debmirror: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625696
We could use the idea pointed in the message 2625696#25 but this changes an ugly message for another one.
When syncing from some servers,
clara repo
sometimes showConnection refused
errors:It seems
reprepro
tries to connect using rsync protocol first, which is wrong since the--method=http
is given in parameter.Tested on Debian wheezy with reprepro 4.12.5-1.