Having trouble cloning a new BitBucket repo using SourceTree

Deleted user March 28, 2018

Hi All,

I am facing problem when i am going to clone repository via source tree using mac high  sierra 10.13.3

Sourcetree version 2.7.1

It's showing this is not a valid source path /URL.

If i am checking more details then below error is coming

2018-03-29 07:20:05.707 git-credential-sourcetree[2135:29881] Something went wrong. one or more parameters required to renew token is nil.
fatal: unable to access 'https://t**********.com/sta****scm/p****/mani_test.git/': could not load PEM client certificate, LibreSSL error error:02001002:system library:fopen:No such file or directory, (no key found, wrong pass phrase, or wrong file format?)

 

But when i am doing cloning from terminal it's working fine.

Shubhanshu

 

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2018

Hi Shubhanshu! Where are you cloning from? Have you tried cloning from your command line? This will help us identify if the issue is in Sourcetree or with the connection to your account. 

Is an account that you've previously added by following the steps at Connect your Bitbucket or Github account? Have you tried Wiping Sourcetree preferences and trying again?

Let us know!

Ana

Deleted user March 29, 2018

Hi @Ana Retamal,

Thanks For Reply.

When i am doing cloning from UI side i am facing the problem.

Screen Shot 2018-03-30 at 7.38.57 AM.png

From command line cloning is working fine.

Regards,

Shubhanshu Trivedi

Harsh Bhardwaj December 1, 2018

Hi @Ana Retamal,

 

I am having issue with cloning too. While trying to clone Bitbucket repository to my local machine I get to the following screen:

Capture.JPG

the details of the error are as follows:

Command: perl.exe "C:\Users\Harsh Bhardwaj\AppData\Local\Sourcetree\app-3.0.9\tools\svn.pl" info https://harshbhardwaj23@bitbucket.org/foodtronixems/ems_gui
Output:
Error: System.ComponentModel.Win32Exception: The system cannot find the file specified

Command: hg identify extensions.hgext.hgsubversion=! https://harshbhardwaj23@bitbucket.org/foodtronixems/ems_gui
Output:
Error: ** Unknown exception encountered with possibly-broken third-party extension mercurial_credential_manager
** which supports versions unknown of Mercurial.
** Please disable mercurial_credential_manager and try your action again.
** If that fixes the bug please report it to https://github.com/mminns/mercurial_credential_manager_for_windows
** Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 4.5.3)
** Extensions loaded: eol, mercurial_credential_manager, rebase, transplant, extdiff, fetch, strip, mq, hgflow, shelve
Traceback (most recent call last):
File "hg", line 41, in <module>
File "mercurial\dispatch.pyc", line 88, in run
File "mercurial\dispatch.pyc", line 183, in dispatch
File "mercurial\dispatch.pyc", line 324, in _runcatch
File "mercurial\dispatch.pyc", line 332, in _callcatch
File "mercurial\scmutil.pyc", line 154, in callcatch
File "mercurial\dispatch.pyc", line 314, in _runcatchfunc
File "mercurial\dispatch.pyc", line 918, in _dispatch
File "mercurial\dispatch.pyc", line 673, in runcommand
File "mercurial\dispatch.pyc", line 926, in _runcommand
File "mercurial\dispatch.pyc", line 915, in <lambda>
File "mercurial\util.pyc", line 1195, in check
File "mercurial\util.pyc", line 1195, in check
File "hgext\mq.pyc", line 3583, in mqcommand
File "mercurial\util.pyc", line 1195, in check
File "mercurial\commands.pyc", line 2758, in identify
File "mercurial\hg.pyc", line 181, in peer
File "mercurial\hg.pyc", line 156, in _peerorrepo
File "mercurial\httppeer.pyc", line 497, in instance
File "mercurial\httppeer.pyc", line 239, in _fetchcaps
File "mercurial\httppeer.pyc", line 407, in _call
File "mercurial\httppeer.pyc", line 336, in _callstream
File "mercurial\httppeer.pyc", line 193, in _openurl
File "urllib2.pyc", line 435, in open
File "urllib2.pyc", line 548, in http_response
File "urllib2.pyc", line 467, in error
File "urllib2.pyc", line 407, in _call_chain
File "urllib2.pyc", line 909, in http_error_401
File "mercurial\url.pyc", line 422, in http_error_auth_reqed
File "C:/Users/Harsh Bhardwaj/AppData/Local/Atlassian/SourceTree/hg_extras/mercurial_credential_manager.py", line 437, in basic_http_error_auth_reqed
return basic_http_error_auth_reqed.orig(self, authreq, host, req, headers)
File "urllib2.pyc", line 887, in http_error_auth_reqed
File "mercurial\url.pyc", line 426, in retry_http_basic_auth
File "C:/Users/Harsh Bhardwaj/AppData/Local/Atlassian/SourceTree/hg_extras/mercurial_credential_manager.py", line 428, in find_user_password
return self._pwd_handler.find_auth(self, realm, authuri, req)
File "C:/Users/Harsh Bhardwaj/AppData/Local/Atlassian/SourceTree/hg_extras/mercurial_credential_manager.py", line 259, in find_auth
if username[0]:
IndexError: list index out of range

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/HARSHB~1/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE" ls-remote https://harshbhardwaj23@bitbucket.org/foodtronixems/ems_gui
Output:
Error: remote: Mercurial (hg) is required to use this repository.
remote:
remote: https://confluence.atlassian.com/x/vLRCMw
fatal: unable to access 'https://harshbhardwaj23@bitbucket.org/foodtronixems/ems_gui/': The requested URL returned error: 405

 I have tried reinstalling Sourcetree multiple times now including different versions of it from the archive. there are times when it would go in a pop up login loop where it keeps asking for Bitbucket account password.

Please help!!!!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events