[Bug 5863] New: Can't clone from github

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Wed May 2 18:07:02 EDT 2018


            Bug ID: 5863
           Summary: Can't clone from github
           Product: Mercurial
           Version: 4.5.3
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: naasking at gmail.com
                CC: mercurial-devel at mercurial-scm.org

I had a working older version of TortoiseHg and just upgraded to 4.5.3. I have
hg-git installed and have used it extensively in the past, so I tried to clone
a github repo:

PS C:\Users\naask\repos\MicroDI> hg clone
destination directory: MicroDI
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64
bit (AMD64)]
** Mercurial Distributed SCM (version 4.5.3)
** Extensions loaded: strip, hggit
Traceback (most recent call last):
  File "hg", line 61, in <module>
  File "mercurial\dispatch.pyo", line 88, in run
  File "mercurial\dispatch.pyo", line 183, in dispatch
  File "mercurial\dispatch.pyo", line 324, in _runcatch
  File "mercurial\dispatch.pyo", line 332, in _callcatch
  File "mercurial\scmutil.pyo", line 154, in callcatch
  File "mercurial\dispatch.pyo", line 314, in _runcatchfunc
  File "mercurial\dispatch.pyo", line 918, in _dispatch
  File "mercurial\dispatch.pyo", line 673, in runcommand
  File "mercurial\dispatch.pyo", line 926, in _runcommand
  File "mercurial\dispatch.pyo", line 915, in <lambda>
  File "mercurial\util.pyo", line 1195, in check
  File "mercurial\commands.pyo", line 1449, in clone
  File "mercurial\hg.pyo", line 661, in clone
  File "hggit\util.pyo", line 60, in inner
  File "hggit\__init__.pyo", line 388, in exchangepull
  File "hggit\git_handler.pyo", line 272, in fetch
  File "hggit\git_handler.pyo", line 1235, in fetch_pack
  File "dulwich\client.pyo", line 1540, in fetch_pack
  File "dulwich\client.pyo", line 1429, in _discover_references
  File "dulwich\client.pyo", line 1396, in _http_request
  File "urllib3\request.pyo", line 66, in request
  File "urllib3\request.pyo", line 87, in request_encode_url
  File "urllib3\poolmanager.pyo", line 321, in urlopen
  File "urllib3\connectionpool.pyo", line 668, in urlopen
  File "urllib3\connectionpool.pyo", line 668, in urlopen
  File "urllib3\connectionpool.pyo", line 668, in urlopen
  File "urllib3\connectionpool.pyo", line 639, in urlopen
  File "urllib3\util\retry.pyo", line 388, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=u'github.com',
port=443): Max retries exceeded with url:
/naasking/MicroDI.git/info/refs?service=git-upload-pack (Caused by
SSLError(IOError(2, 'No such file or directory'),))

At first, it had suggested I disable mercurial_keyring, but then this SSL error
always turns up too so there's clearly an issue here.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list