Mercruial ignoring http_proxy settings
Ton Plomp
tcplomp at gmail.com
Wed Dec 14 13:51:40 UTC 2011
I've run the command with --debug, and I see that that mercurial says it's
proxying...
I can't run any more tests today, but tomorrow I'll see if I can norrow
this a little bit more, any insight is welcomed.
Ton
2011/12/14 Martin Geisler <mg at aragost.com>
> Ton Plomp <tcplomp at gmail.com> writes:
>
> > Hi,
> >
> > I'm trying to connect to a mercurial repo via a proxy, setting the
> > proxy with TortoiseHG didin't work, so I tried to actively set the
> > http_proxy.host via the CMD with the following command:
> >
> > hg --config http_proxy.host=10.192.132.191:5865 --config
> > http_proxy.always=true incoming thuis
> >
> > MS-network logs shows that hg directly tries to connect to 'thuis'
> > instead of going through the proxy.
> >
> > I'm using the same proxy on another computer without any issues.
> >
> > The computer is running WinXP and connected to a windows domain (the
> > working computer as well).
> >
> > Is there anything I can try to debug this?
>
> Hi, I commented on your StackOverflow question, great to see you here!
>
> The only thing you can add is --debug. That will make Mercurial print
> some more information. I tested it here by adding
>
> [paths]
> foo = http://foobar
>
> [http_proxy]
> host = no-such-host
>
> to a .hg/hgrc file and then I get:
>
> $ incoming foo --debug
> using http://foobar/
> proxying through http://no-such-host:None
> sending capabilities command
> abort: error: Name or service not known
>
> That shows me that
>
> 1) the foo is correctly expanded to a HTTP URL
> 2) the proxy config is read and hg tries to use it
>
> --
> Martin Geisler
>
> aragost Trifork
> Professional Mercurial support
> http://mercurial.aragost.com/kick-start/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111214/f2fcf396/attachment-0002.html>
More information about the Mercurial
mailing list