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 mygitserver.com:developers 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 Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

273 views 0 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot