Password mismatch on apache

Hi!

I'm having some trouble with password mismatch errors in my apache log (which also leads to me getting autobanned from my server a little now and than). I seem to get these errors when I have an open repository window in sourcetree without doing anything.

I don't get any visible errors in the sourcetree app and I can push changes to my hg remote respository, so I haven't simply filled in an incorrect user and password. What can sourcetree be doing to the remote repo when I just have a repository window open? I guess it's checking if there any new changesets on the remote repo, but shouldn't it use the same saved password as it's using for pushing and pulling for that?

Any ideas are very welcome!

Kind Regards

Emil

1 answer

I'm going to assume you're using the Mac version because we haven't implemented background fetching on Windows yet.

SourceTree will check the default remote in the background periodically in order to let you know when there are commits to pull into your local repo - that's how the badges on the toolbar are updated. When it checks, if there's an authentication error it won't prompt you (because that would be confusing since it's not linked to any action you did) and will just try again later, assuming that you will have sorted out the authentication via a more explicit action like pull/push anyway.

So this suggests that the authentication for one of your repositories linked to that server is failing. Can you pull/push ok? If so, it might be that you have another bookmarked repository pointing at that same server but with maybe an incorrect user name or something.

If you want you can disable the background checks either globally in Preferences (Check default remotes every X minutes), or per-repo under the Settings toolbar button (Advanced tab).

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