Getting [Errno 10054] when trying clone,push,pull over HTTPS
Surya Nyayapati
surenrao at gmail.com
Thu Oct 6 20:26:53 UTC 2011
Matt,
thank you so much for getting back to me.
here is the output.
c:\projects\test>hg clone --debug --traceback https://webtest03.vis/hg/test
using https://webtest03.vis/hg/test
sending capabilities command
using auth.webtest03.vis.* for authentication
webtest03.vis certificate successfully verified
Traceback (most recent call last):
File "mercurial\dispatch.pyo", line 87, in _runcatch
File "mercurial\dispatch.pyo", line 688, in _dispatch
File "mercurial\dispatch.pyo", line 463, in runcommand
File "mercurial\extensions.pyo", line 182, in wrap
File "hgext\zeroconf\__init__.pyo", line 171, in cleanupafterdispatch
File "mercurial\dispatch.pyo", line 742, in _runcommand
File "mercurial\dispatch.pyo", line 696, in checkargs
File "mercurial\dispatch.pyo", line 685, in <lambda>
File "mercurial\util.pyo", line 385, in check
File "mercurial\commands.pyo", line 1041, in clone
File "mercurial\hg.pyo", line 217, in clone
File "mercurial\hg.pyo", line 93, in repository
File "mercurial\httprepo.pyo", line 231, in instance
File "mercurial\httprepo.pyo", line 56, in _fetchcaps
File "mercurial\httprepo.pyo", line 164, in _call
File "mercurial\httprepo.pyo", line 114, in _callstream
File "urllib2.pyo", line 391, in open
File "urllib2.pyo", line 409, in _open
File "urllib2.pyo", line 369, in _call_chain
File "mercurial\url.pyo", line 360, in https_open
File "mercurial\keepalive.pyo", line 259, in do_open
URLError: <urlopen error [Errno 10054] An existing connection was forcibly
close
d by the remote host>
abort: error: An existing connection was forcibly closed by the remote host
On Thu, Oct 6, 2011 at 2:27 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Wed, 2011-10-05 at 19:02 -0400, Surya Nyayapati wrote:
> > Hello,
> > We are a small Microsoft shop, and currently we are using subversion
> with
> > VisualSVN installed.
> > I am currently evaluating Mercurial because of branching and merging
> > nightmare in svn.
> > Our env:
> > Server(as virtual machine): Win 2008 R2, IIS 7, Python 2.7, Mercurial
> 1.9.2
> > from source
> > Client: Win 7 x64, TortoiseHg 2.1.3
> >
> > First i followed
> >
> http://www.firegarden.com/software/hosting-mercurial-repo-iis7-windows-server-2008r2-x64-python-isapi-cgi
> > with
> > latest mercurial source code 1.9.2 and python 2.7 got the below error
> >
> > Failed to import callback module 'hgwebdir_wsgi'
> > The specified module could not be found.
> >
> > so i scratched isapi method and went with CGI
> > http://www.jeremyskinner.co.uk/mercurial-on-iis7/ walkthrough (using
> > hgweb.cgi instead of hgwebdir.cgi) and it worked,i can do cloning,push,
> pull
> > etc but only for HTTP.
> > To enable SSL
> > i followed http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html
> >
> > in my mercurial.ini i have
> >
> > [paths]
> > default = https://webtest/hg/test/
> >
> > [hostfingerprints]
> > webtest = 50:de:a4:d9:72:59:68:fd:91 ...
> >
> > when i try to clone, TortoiseHg seems to hang for a min and then i get
> this
> > error
> >
> > URLError: [Errno 10054] An existing connection was forcibly closed by
> > the remote host
> > [command returned code 255...]
>
> Sounds like things were working for a bit and then the remote end hung
> up for some reason. I recommend you try again with hg on the command
> line:
>
> C:\>hg clone --debug --traceback <some url>
>
> and post the results.
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111006/95d2468b/attachment-0002.html>
More information about the Mercurial
mailing list