Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket server works fine in Internet Explorer, but not in Sourcetree

I am having an issue with the Bitbucket Server application that is hosted internally. Specifically my issue is this:

1) When I visit Bitbucket Server through a browser, like Internet Explorer, it works fine and I have access to all repositories.

2) If I try to open a repository through SourceTree, it says Permission Denied for 99.9% of all the repositories on Bitbucket Server.

3) If I try to continue to use Internet Explorer after having tried step 2, 99.9% of the repositories are now hidden from me and I no longer have access to them. If I restart Internet Explorer it works fine again.

Can anyone help me getting SourceTree to interact properly with Bitbucket Server, as without it I cannot properly interact with the repositories other than in a very limited read-only fashion(specifically, I can just view the repos on IE, I can't download, clone or anything like that).


1 answer

0 votes
minnsey Atlassian Team Jan 02, 2018


When you say you try to open the repository in Sourcetree, do you have your Bitbucket Server account setup in Sourcetree and you are trying to clone from the list of remote repositories in Sourcetree's 'New' tab? Or are you trying to use the 'Open in Sourcetree' functionality from Bitbucket Server?

Also are you using HTTPS or SSH urls for your repos?

Hi Michael,

I have my Bitbucket Server account setup in SourceTree, and as soon as I do that, I get a significantly shorter list than the one in IE, and then curiously enough if I try reloading IE the amount of projects I can see through there has gone down from hundreds to ~10. It's as if once I've connected to the server using my credentials in SourceTree it flips a switch and kills my access. I can restore the access by restarting Internet Explorer.

I can also clone repositories just fine using the 'git clone' command but only if I use the ssh keys, it breaks if I try to use my login credentials. Similarly, if I try to use the API it breaks when I for instance run "curl -u username:password url".

It also breaks if I try using the "Clone in SourceTree" functionality.

SSH urls.

EDIT: I wonder if it has to do with the fact that my org has a login page that you have to go through to get access to internal sites, i.e. it might be getting stuck on the redirect or something? Even then it still works OK with SSH keys through the command line, and some repositories still show up. I don't really think this has anything to do with it, I think something else is going on.

minnsey Atlassian Team Jan 18, 2018

Thanks for the additional information. Sounds very strange. I will see if we can get any input from Bitbucket Server people.

FWIW Sourcetree attempts to get the repos available to the user directly and also those available due to their membership of projects.

Suggest an answer

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

3,336 views 4 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you