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.

Why?

 

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

571 views 1 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