Cant 'Fetch/Pull' from local GitLab server in SourceTree

Running SourceTree on OS X.
I can create and push branches within SourceTree up to my local GitLab server but every time I attempt to Fetch or Pull, SourceTree asks for a password. I am using SSH keys for authentication thus don't use/require password. It won't let me continue. I have tried manually entering ssh://git@server:....., but it spins and eventually times out with.

ssh: connect to host port 22: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

I am Fetching/Pulling to the same server and repo within Netbeans, so the chanels are properly configured.
I am really interested in using this tool so I am hoping this can get ironed out.
Thanks for any assistance.

1 answer

Hi Keith,

Have you set the SSH identity between your local machine and the bitbucket account. Refer to this documentation on creating the SSH identity and using the SSH option in bitbucket instead of https.

Thats the odd thing. Keys have been set tested and I am using the same ones in my IDE (netbeans), I can push,pull,fetch,commit etc with out issue.

Within SourceTree I CAN push and commit sucessfully but CAN'T pull/fetch. When Pulling or Fetching I get this in the 'Show Full Ouptut' plus a password dialog.

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin
2014-02-06 08:43:13.107 SourceTreeLogin[26418:507] Error (internetKeychainItemForServer:withUsername:path:port:protocol:) - The specified item could not be found in the keychain.

Does this offer any aditional clues?

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,224 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