Proxy Bug

Mads Kiilerich mads at
Sat Jan 21 20:00:17 CST 2012

Suminda Dharmasena wrote, On 01/21/2012 06:49 PM:
> Hi,
> I think there is a bug when using Hg (v2.0.2) behind a proxy.

Please _don't_ post to multiple lists at once. So if you want to reply 
then please only send to one of the lists.

But if you think you found a bug then it would be better to use the bug 
tracker anyway.

> Following are some errors I have got:
> pushing to https://sirinath:***
> using
> proxying through http://hopxy01:8080 <http://hopxy01:8080/>
> http auth: user sirinath, password ********
> sending capabilities command
> abort: error: _ssl.c:490: error:140770FC:SSL
> routines:SSL23_GET_SERVER_HELLO:unk
> nown protocol

Do you know for sure that your proxy allows https / CONNECT for you to 

> I tried another repo and got this:
> pushing to
> using
> proxying through http://hopxy01:8080 <http://hopxy01:8080/>
> sending capabilities command
> abort: HTTP Error 407: Proxy Authorization Required
> I had the proxy, username, password set up in the global file. The I 
> also did it in the repo settings also.

If your proxy credentials were configured correctly then they were 
rejected by the proxy.

It seems strange that the credentials apparently were accepted in the 
first example you gave ... but it might have been confused by 
fundamental problems in the standards regarding https connections 
through proxies that requires authentication.

We will need more information in order to say anything. The best next 
step would be if you could file it in the bug tracker and attach a 
wireshark trace of these two cases - change your password temporarily first.

Please also verify that you see the same behaviour with "--config 
ui.usehttp2=1" .


More information about the Mercurial-devel mailing list