On 7/27/07, Debarshi 'Rishi' Ray <debarshi.ray@xxxxxxxxx> wrote:
> is yum's https proxy support broken? or am I doing this wrong? > > in /etc/yum.conf , I've added this line > > proxy=http://160.0.234.1:8080 You need to put a slash at the end. Try: proxy=http://160.0.234.1:8080/ Otherwise you might like to consult: http://debarshiray.multiply.com/journal/item/30 Good luck, Debarshi
its still not working a little test with a python script using urlgrabber yields the same error .. a bug in urlgrabber? yum uses urlgrabber to grab downloads right? import urlgrabber import os os.environ['https_proxy'] = 'http://160.0.234.1:8080/' urlgrabber.urlgrab('https://161.0.2.218/pub/mirror/repos/fedora_i686/repodata/repomd.xml') [kagesenshi@Hikari tmp]$ python testurlgrab.py Traceback (most recent call last): File "testurlgrab.py", line 8, in <module> urlgrabber.urlgrab('https://161.0.2.218/pub/mirror/repos/fedora_i686/repodata/repomd.xml') File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 597, in urlgrab return default_grabber.urlgrab(url, filename, **kwargs) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 927, in urlgrab return self._retry(opts, retryfunc, url, filename) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 845, in _retry r = apply(func, (opts,) + args, {}) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 913, in retryfunc fo = URLGrabberFileObject(url, filename, opts) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1001, in __init__ self._do_open() File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1068, in _do_open fo, hdr = self._make_request(req, opener) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1178, in _make_request raise new_e urlgrabber.grabber.URLGrabError: [Errno 14] HTTP Error 400: Server: squid/2.5.STABLE11 Mime-Version: 1.0 Date: Thu, 26 Jul 2007 17:11:35 GMT Content-Type: text/html Content-Length: 1137 Expires: Thu, 26 Jul 2007 17:11:35 GMT X-Squid-Error: ERR_UNSUP_REQ 0 X-Cache: MISS from Network-Box Proxy-Connection: close
-- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list
-- Mohd Izhar Firdaus Bin Ismail Amano Hikaru 天野晃 「あまの ひかる」 http://fedoraproject.org/wiki/MohdIzharFirdaus http://blog.kagesenshi.org 92C2 B295 B40B B3DC 6866 5011 5BD2 584A 8A5D 7331 -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list