Plain and simple, sourcetree isn't connecting to the repo

Hello, im trying to clone a repo from bitbucket but after i enter the source, desitnation path, and hit clone: it just sits on the loading screen forever and nothing happens. My assumption is that sourcetree is unable to connect to the source but instead of showing me an error it just keeps loading.. Any ideas?

 

 

EDIT: I believe it is my connection, but it really could be anything. On pingtest.net I received an A for my internet connection.. On speedtest.net my download speed was about 5 megs because I ditched the wifi and plugged in an Ethernet cable. Trying to figure out what exactly it could be. Got the AT&T people coming in and out the last few days. Also I clicked show full output this is what i got:

cloning error show full output.png

6 answers

This widget could not be displayed.

Hi

You can get this behaviour if you are connecting using SSH rather than HTTPS and the SSH Agent isn't running.

Try cancelling that dialog and then 

  • Click Tools/Launch SSH Agent
  • SourceTree may prompt you to add/open you SSH key at this point.
  • If not then click Tools/Create or Import SSH Keys or Tools/Add SSH Key
    • Which depends on whether you are using Putty or openSSH for SSH connection you can see this in Tools/Options


Once this is all running and setup you should then be able to clone. If not please let me know.

 

Cheers

This widget could not be displayed.

UPDATE: I got SSH configured so I dont get any errors when I try to clone using SSH.. Still just hangs. Im assuming its an internet problem. But im not sure how to fix it.

I was using HTTPS but I can try using SSH. I switched over to Open SSH and Git bash asked me for a password, I entered the password for the ssh-keygen i made earlier, but I believe now I have to create and upload a key to bitbucket. My main question is, why cant I just use HTTPS?

 

In principle you should be able to use HTTPS. To be honest it sounds like a connectivity problem.

This widget could not be displayed.

Check the "Show Full Output" box.

This widget could not be displayed.

Also - when I im cloning in terminal shouldnt I see files inside the folder even if its at 33%?

This widget could not be displayed.

Or just cloning in general

This widget could not be displayed.

You will see files inside the .git folder. You won't have a working copy until after the clone is complete. Keep in mind the clone isn't just copying the latest version of files (like SVN). It is copying all revisions in the entire history of the repository.

Suggest an answer

Log in or Sign up to answer
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...

874 views 2 3
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