Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,154
Community Members
 
Community Events
176
Community Groups

Account lockouts due to authentication failures on closed projects

SourceTree does not appear to properly keep track of authentication failures, and will retry indefinitely, which will eventually cause the user's account to be locked out.  (This is especially insidious when the account in question is a domain account, because it can prevent the user from e.g. connecting to a ticketing system to request assistance with the lockout.  Or logging into the workstation where SourceTree is running in order to terminate it.)

This problem has been noted elsewhere (but read on; I have new information):

https://community.atlassian.com/t5/Sourcetree-questions/User-account-getting-locked/qaq-p/1502118

https://community.atlassian.com/t5/Sourcetree-questions/Account-Lockouts/qaq-p/1062928

 

Looking at the Process Log (Process Viewer in the Tools menu) shows two curious things:

1. Repeated `git fetch` invocations with Caller Context = "GetFetchProcesses".

These all have the same output:

   fatal: Cannot prompt because user interactivity has been disabled.
   fatal: Authentication failed for 'https://our-local-bitbucket-server/scm/plat/repo.git'

This suggests that GetFetchProcesses -- or whatever invokes it -- is failing to track that the authentication request failed, and suppressing automatic fetches afterwards.  This is exacerbated by the following problem:

 

2. I see `git fetch` invocations for _dozens_ of projects that I don't even have open!

SourceTree seems to be automatically issuing fetch calls for repositories that have been used in the past, even they are not currently open.

This means that if stale credentials are stored for _any_ repository that SourceTree knows about, SourceTree will eventually trigger a lockout on that account.

 

0 comments

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events