[issue3267] http2 not working with proxy + ssl
Wagner Bruna
bugs at mercurial.selenic.com
Tue Feb 14 14:16:21 UTC 2012
New submission from Wagner Bruna <wagner.bruna+mercurial at gmail.com>:
$ hg inc --traceback https://hg01.codeplex.com/tortoisehg
INFO:mercurial.httpclient:495:sending GET request for
/tortoisehg?cmd=capabilities to hg01.codeplex.com on port 443
INFO:mercurial.httpclient:375:Connecting to http proxy localhost:8213
INFO:mercurial.httpclient:404:CONNECT (for SSL) to hg01.codeplex.com:443 via
proxy succeeded.
Traceback (most recent call last):
File "/home/wbruna/hg/hg/stable/mercurial/dispatch.py", line 87, in _runcatch
return _dispatch(req)
File "/home/wbruna/hg/hg/stable/mercurial/dispatch.py", line 683, in _dispatch
cmdpats, cmdoptions)
File "/home/wbruna/hg/hg/stable/mercurial/dispatch.py", line 465, in
runcommand
ret = _runcommand(ui, options, cmd, d)
File "/home/wbruna/hg/hg/stable/mercurial/dispatch.py", line 737, in
_runcommand
return checkargs()
File "/home/wbruna/hg/hg/stable/mercurial/dispatch.py", line 691, in checkargs
return cmdfunc()
File "/home/wbruna/hg/hg/stable/mercurial/dispatch.py", line 680, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/home/wbruna/hg/hg/stable/mercurial/util.py", line 456, in check
return func(*args, **kwargs)
File "/home/wbruna/hg/hg/stable/mercurial/commands.py", line 3681, in incoming
return hg.incoming(ui, repo, source, opts)
File "/home/wbruna/hg/hg/stable/mercurial/hg.py", line 499, in incoming
return _incoming(display, subreporecurse, ui, repo, source, opts)
File "/home/wbruna/hg/hg/stable/mercurial/hg.py", line 451, in _incoming
other = peer(repo, opts, source)
File "/home/wbruna/hg/hg/stable/mercurial/hg.py", line 104, in peer
return repository(rui, path, create)
File "/home/wbruna/hg/hg/stable/mercurial/hg.py", line 93, in repository
repo = _peerlookup(path).instance(ui, path, create)
File "/home/wbruna/hg/hg/stable/mercurial/httprepo.py", line 236, in instance
inst._fetchcaps()
File "/home/wbruna/hg/hg/stable/mercurial/httprepo.py", line 57, in _fetchcaps
self.caps = set(self._call('capabilities').split())
File "/home/wbruna/hg/hg/stable/mercurial/httprepo.py", line 169, in _call
fp = self._callstream(cmd, **args)
File "/home/wbruna/hg/hg/stable/mercurial/httprepo.py", line 117, in
_callstream
resp = self.urlopener.open(req)
File "/usr/lib/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/home/wbruna/hg/hg/stable/mercurial/httpconnection.py", line 250, in
https_open
return self.do_open(self._makesslconnection, req, True)
File "/home/wbruna/hg/hg/stable/mercurial/httpconnection.py", line 219, in
do_open
raise urllib2.URLError(err)
URLError: <urlopen error [Errno 2] _ssl.c:490: The operation did not
complete (read)>
abort: error: _ssl.c:490: The operation did not complete (read)
hg is 2.1+2-0620421044a2; python 2.6.6; debian squeeze.
The same command works fine if I either disable http2 or connect without a
proxy. I've got the same behavior with other https remote hosts.
----------
messages: 19080
nosy: durin42, wbruna
priority: bug
status: unread
title: http2 not working with proxy + ssl
topic: ssl
____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3267>
____________________________________________________
More information about the Mercurial-devel
mailing list