From: SourceForge.net <no...@so...> - 2005-06-09 17:21:11
|
Bugs item #1217563, was opened at 2005-06-09 16:13 Message generated for change (Comment added) made by haggai You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112078&aid=1217563&group_id=12078 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Apt-proxy and http_proxy Initial Comment: Hi! I moved from Debian's Woody apt-proxy to Debian's Sarge apt-proxy. apt-proxy-v1tov2 converted my old apt-proxy.conf configuration file to apt-proxy-v2.conf new format. I usually use a HTTP Proxy server with user authentication to fetch packages from Debian repositories. wget works properly. In the new configuration file I use: http_proxy = http://nameuser:passworduser@httphost:hostport When I try to apt-get from a client, it hangs on client's side and later I receive "Connection failed". On server side I receive this error in the log file: 2005/06/09 15:56 CEST [Channel,0,10.26.226.231] [Fetcher.activate] (debian) servers:4/debian/dists/stable/main/binary-i386/Packages.gz 2005/06/09 15:56 CEST [Channel,0,10.26.226.231] Unhandled error in Deferred: 2005/06/09 15:56 CEST [Channel,0,10.26.226.231] Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 557, in requestReceived self.process() File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 1375, in process self.fetch() File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 1454, in fetch (dummyFetcher, 0, running,), None) File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 205, in addCallbacks self._runCallbacks() --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 338, in _runCallbacks self.result = callback(self.result, *args, **kw) File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 1422, in fetch_real fetcher = dummyFetcher.apEndTransfer(fetcher_class) File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 463, in apEndTransfer fetcher = fetcher_class(req) File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 317, in __init__ self.activate(request) File "/usr/lib/python2.3/site-packages/apt_proxy/apt_proxy.py", line 553, in activate (self.proxy_host, self.proxy_port) = request.factory.http_proxy.split(':') exceptions.ValueError: unpack list of wrong size Is it an authentication problem with Http proxy server? With the previous version it worked without problems. thank you in advance, riccardo ---------------------------------------------------------------------- >Comment By: Chris Halls (haggai) Date: 2005-06-09 19:21 Message: Logged In: YES user_id=161154 Hi it looks like you have this problem: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309288 Do you have special characters (: or @) in the proxy password? Can you replace them with another special character as a workaround for the problem? Thanks Chris ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112078&aid=1217563&group_id=12078 |