[Python-apps-team] Bug#613403: reopened: hg clone fails with https site behind an http proxy

Виталий Виталий
Tue Mar 1 15:32:08 UTC 2011


> What environment variables are you using? To what are you setting them?
> Are you using any extensions? hgsubversion is known to ignore
> http_proxy, for example.

No, I'm not using any extensions, I simply clone a googlecode HG
repository.

This is very strange, I also could not reproduce this bug on other machine
that has direct Internet access. This runs OK:

iptables -A OUTPUT -p tcp --dport 443 -j DROP
http_proxy=http://95.31.10.190:3128 https_proxy=http://95.31.10.190:3128
strace hg clone https://mediawiki4intranet.googlecode.com/hg/
mediawiki4intranet

But when I'm trying this at work (proxy.custis.ru:3128 is an intranet
proxy, port 443 is closed on the router), it fails and strace looks very
strange - it seems hg connects to the proxy and starts tunnel connection,
but then also tries to connect directly (see attached strace.gz).
This command fails:
http_proxy=http://proxy.custis.ru:3128/
https_proxy=http://proxy.custis.ru:3128/ hg clone
https://mediawiki4intranet.googlecode.com/hg/ mediawiki4intranet

-- 
With best regards,
     Vitaliy Filippov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace.gz
Type: application/x-gzip
Size: 24956 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20110301/1a1a82fc/attachment-0001.bin>


More information about the Python-apps-team mailing list