Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Source tree Error when using Pull



I am trying to access Bitbucket account from SourceTree and getting weird message like "abort: http error, possibly caused by proxy setting". 



edit: Also having error while trying to clone new repository:

Command: perl.exe C:\Users\freds\AppData\Local\SourceTree\app-2.4.7\tools\ info
Error: System.ComponentModel.Win32Exception: O sistema não conseguiu localizar o ficheiro especificado

Command: hg identify extensions.hgext.hgsubversion=!
Error: ** Unknown exception encountered with possibly-broken third-party extension hgflow
** which supports versions unknown of Mercurial.
** Please disable hgflow and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 4.4.1)
** Extensions loaded: eol, rebase, transplant, extdiff, fetch, strip, mq, hgflow, shelve, mercurial_credential_manager
Traceback (most recent call last):
File "hg", line 41, in <module>
File "mercurial\dispatch.pyc", line 85, in run
File "mercurial\dispatch.pyc", line 173, in dispatch
File "mercurial\dispatch.pyc", line 313, in _runcatch
File "mercurial\dispatch.pyc", line 321, in _callcatch
File "mercurial\scmutil.pyc", line 154, in callcatch
File "mercurial\dispatch.pyc", line 303, in _runcatchfunc
File "mercurial\dispatch.pyc", line 940, in _dispatch
File "mercurial\dispatch.pyc", line 701, in runcommand
File "mercurial\dispatch.pyc", line 948, in _runcommand
File "mercurial\dispatch.pyc", line 937, in <lambda>
File "mercurial\util.pyc", line 1183, in check
File "mercurial\util.pyc", line 1183, in check
File "hgext\mq.pyc", line 3583, in mqcommand
File "mercurial\util.pyc", line 1183, in check
File "mercurial\commands.pyc", line 2731, in identify
File "mercurial\hg.pyc", line 178, in peer
File "mercurial\hg.pyc", line 153, in _peerorrepo
File "mercurial\httppeer.pyc", line 461, in instance
File "mercurial\httppeer.pyc", line 204, in _fetchcaps
File "mercurial\httppeer.pyc", line 371, in _call
File "mercurial\httppeer.pyc", line 300, in _callstream
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/freds/AppData/Local/Atlassian/SourceTree/hg_extras/", 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/freds/AppData/Local/Atlassian/SourceTree/hg_extras/", line 428, in find_user_password
return self._pwd_handler.find_auth(self, realm, authuri, req)
File "C:/Users/freds/AppData/Local/Atlassian/SourceTree/hg_extras/", line 259, in find_auth
if username[0]:
IndexError: list index out of range

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote
Error: remote: Mercurial (hg) is required to use this repository.
fatal: unable to access '': The requested URL returned error: 405



1 answer

1 accepted

0 votes
Answer accepted
minnsey Atlassian Team Dec 04, 2018


This is due to the removal of TLS 1/1.1 from Bitbucket, please update to Sourcetree 3.0.12.

See for more details

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,091 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you