SourceTree will not clone a git repo until the terminal is invoked

After installing SourceTree I setup my proxy information from Tools > Options > Network and try to Clone my repository but I get a failure with a popup dialog and error messages:

git-remote-https.exe - Entry Point Not Found
The procedure entry point CONF_modules_free could not be located in the dynamic link library LIBEAY32.dll

This is not a valid source path /URL

If you try to clone the repo during the installation process you get an infinite loop of the first error show above.

I have found a sketchy workaround fix. If the terminal (top right button next to Git Flow and Explorer) is invoked, here is the output

mkdir: cannot change permissions of '/dev/shm': Permission denied
mkdir: cannot change permissions of '/dev/mqueue': Permission denied
'C:\windows\system32\drivers\etc\hosts' -> '/etc/hosts'
'C:\windows\system32\drivers\etc\protocol' -> '/etc/protocols'
'C:\windows\system32\drivers\etc\services' -> '/etc/services'
'C:\windows\system32\drivers\etc\networks' -> '/etc/networks'
username@computername MINGW32 ~

Then closing out the terminal and cloning a Git repo now works fine.



1 answer

The might be with the %HOME% environment variable being defined. I have Cadence software which uses the %HOME% variable to manage local configuration files. When SourceTree installs Git it places the .gitconfig file in %HOME%\.gitconfig instead of %USERPROFILE%\.gitconfig which I think is confusing SourceTree when it comes to clone a repo - however, I have removed the %HOME% variable and reinstalled with the same result.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 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...

1,230 views 4 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you