Bug#537042: rtorrent: "Could not parse bencoded data" error message when proxy can't connect to tracker
Hi. On Jul 14 2009, hha...@gmail.com wrote: > I'm running rtorrent with tracker communication going through a squid > proxy. If squid cannot connect to the tracker (Connection refused), it > returns a 503 Service Unavailable error. > > rtorrent, in turn, doesn't recognise this error and tries to parse the > proxy's error page as a bencoded response, and fails in doing that. > Instead, it should display a more meaningful error message. Can you reproduce this using the newer version of rtorrent (from testing/unstable)? If you can, could you please show what page squid is sending to rtorrent (just try to telnet to squid'd port and ask it for the announce page that rtorrent would would contact)? Thanks, Rogério Brito. -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#537042: rtorrent: "Could not parse bencoded data" error message when proxy can't connect to tracker
Package: rtorrent Version: 0.7.9-2.2 Severity: minor *** Please type your report below this line *** I'm running rtorrent with tracker communication going through a squid proxy. If squid cannot connect to the tracker (Connection refused), it returns a 503 Service Unavailable error. rtorrent, in turn, doesn't recognise this error and tries to parse the proxy's error page as a bencoded response, and fails in doing that. Instead, it should display a more meaningful error message. -- System Information: Debian Release: 5.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages rtorrent depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libcurl37.18.2-8lenny2 Multi-protocol file transfer libra ii libgcc1 1:4.3.2-1.1 GCC support library ii libncursesw55.7+20081213-1 shared libraries for terminal hand ii libsigc++-2.0-0c2a 2.0.18-2 type-safe Signal Framework for C++ ii libssl0.9.8 0.9.8g-15+lenny1 SSL shared libraries ii libstdc++6 4.3.2-1.1The GNU Standard C++ Library v3 ii libtorrent100.11.9-1.1 a C++ BitTorrent library ii libxmlrpc-c31.06.27-1A lightweight RPC library based on rtorrent recommends no packages. rtorrent suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org