Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SourceTree tries to enter "https", although the settings are "http". How to fix it?

khusamov September 4, 2017

I asked a question, but could not get an answer. I did everything that I was advised, but nothing works. Why does the "Git credential manager for Windows" window access an https server?

Content of .hgrc file:

[auth]
repo.prefix = http://to.my.repo
repo.username = <login>
repo.password = <pass>
repo.schemes = http

Screenshot of window:

large.png

2 answers

1 accepted

1 vote
Answer accepted
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2017

Hi
We are in the process of rolling out a new release, Sourcetree for Windows 2.2.4.0


This upgrades the bundled version of Mercurial to 4.3.1 and a new Mercurial Credential Manager for Windows.

There is a error in older versions of the Git Credential Manager for windows when using HTTP urls. This should be fixed when using the Mercurial Credential Manager.

In order to use the new authentication you will need to upgrade SourceTree and then update the embedded Mercurial using the option in Tools/Options/Mercurial tab and switch to using the Embedded Mercurial.
khusamov September 11, 2017

Thank you! The annoying window seemed to be missing. And even the "Push" command started working!

0 votes
Adi Oltean January 17, 2018

This issue still happens in Source Tree 2.3.1.0

I have many Git environments so I didn't know for which project I was prompted for credentials. the dialog keeps prompting for some credentials and will keep doing so until the correct ones are specified. 

To eliminate guesswork here is a hacky solution to find out for which process the credentials are being asked for (not sure if better solution exists): 

1) Install Process Explorer 

2) View the list of processes in tree mode. 

3) Look at the command line of the original Git process - this will show the https URL for which the credential is prompted. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events