On Wed, Oct 10, 2007 at 02:02:27PM -0700, Cameron Dale wrote: > On 10/10/07, Julian Gilbey <[EMAIL PROTECTED]> wrote: > > Sometimes when downloading packages with http://localhost:9988/blah > > lines in sources.list, aptitude waits, saying "Connecting to server", > > and then eventually complains that the connection timed out. Other > > times it works fine. > > > > Why should this be? > > It's hard to know why this would be, as it could occur for many > reasons: if the download completely failed, or if the download is just > proceeding too slowly. The error messages from aptitude are very > limited, so to find out the real reason you'll need to look in the log > file (/var/log/debtorrent/debtorrent-client.log). Try and find some > relevant lines near where the error happened (it might help to search > for the name of the package you were trying to download). If you can > send the relevant sections of the log file to me, I might be able to > help more.
Ah, just happened to me again, but this time a different error: Err http://localhost testing/main Sources 502 Bad Gateway In the apt-access.log file is: 127.0.0.1 - - [11/Oct/2007:20:32:31] "GET /ftp.uk.debian.org/debian/dists/testing/main/binary-i386/Packages.gz HTTP/1.1" 502 29 "-" "Debian APT-HTTP/1.3 (0.7.6)" In the debtorrent-client.log file is lots of stuff like this: 2007-10-11 20:32:31,958 MainThread DebTorrent.HTTPCache INFO download completed for: http://security.debian.org/dists/lenny/updates/main/source/Sources.gz 2007-10-11 20:32:31,959 MainThread DebTorrent.HTTPHandler INFO sending response: HTTP 502 Bad Gateway (29 bytes) 2007-10-11 20:32:31,960 MainThread DebTorrent.HTTPHandler INFO 11: HTTP GET /security.debian.org/dists/lenny/updates/contrib/source/Sources.gz HTTP/1.1 2007-10-11 20:32:31,961 MainThread DebTorrent.HTTPHandler DEBUG Host: localhost:9988 2007-10-11 20:32:31,961 MainThread DebTorrent.HTTPHandler DEBUG Connection: keep-alive 2007-10-11 20:32:31,961 MainThread DebTorrent.HTTPHandler DEBUG If-Modified-Since: Sun, 08 Apr 2007 07:19:27 GMT 2007-10-11 20:32:31,961 MainThread DebTorrent.HTTPHandler DEBUG User-Agent: Debian APT-HTTP/1.3 (0.7.6) 2007-10-11 20:32:31,963 MainThread DebTorrent.HTTPCache INFO cache miss: /var/cache/debtorrent/security.debian.org/dists/lenny/updates/contrib/source/Sources.gz 2007-10-11 20:32:31,963 MainThread DebTorrent.HTTPCache DEBUG queueing request for security.debian.org/dists/lenny/updates/contrib/source/Sources.gz 2007-10-11 20:32:31,963 MainThread DebTorrent.HTTPCache DEBUG starting thread to download /dists/lenny/updates/contrib/source/Sources.gz 2007-10-11 20:32:31,964 CacheRequest(security.debian.org) DebTorrent.HTTPCache DEBUG sending request GET /dists/lenny/updates/contrib/source/Sources.gz, {'User-Agent': 'DebTorrent/T-0.1.4.1'} 2007-10-11 20:32:31,964 CacheRequest(security.debian.org) DebTorrent.HTTPCache ERROR error accessing http server Traceback (most recent call last): File "/var/lib/python-support/python2.4/DebTorrent/HTTPCache.py", line 189, in _request self.connection.request('GET', self.url, None, self.headers) File "httplib.py", line 804, in request self._send_request(method, url, body, headers) File "httplib.py", line 821, in _send_request self.putrequest(method, url, **skips) File "httplib.py", line 717, in putrequest raise CannotSendRequest() CannotSendRequest 2007-10-11 20:32:32,022 MainThread DebTorrent.HTTPCache INFO download completed for: http://security.debian.org/dists/lenny/updates/contrib/source/Sources.gz HTH, Julian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

