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,556,187
Community Members
 
Community Events
184
Community Groups

Constantly getting login 403 error in sourcetree

I get the 'too many login attempts error' multiple times a day. I have to reset my password every time for it to work. It really slows my day down having to reset my password 5-10 times a day. Is there a fix for this issue? I see quite a few people have the same problem.

 

Thanks

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 30, 2018 • edited

Hi Melissa! Can you give us some more information so we can narrow down your issue and help you out?:

  1. Are you using Sourcetree for Windows or for Mac?
  2. To which service are you connecting it? Is it Bitbucket Cloud, Bitbucket Server, Github...? Can you confirm your account was set following the steps at Connect your Bitbucket or Github account
  3. Are you getting this error consistently? Does it happen every time you perform a certain operation, or does it happen randomly?
  4. Have you tried to perform the same operation from the command line? Do you also get this error?

Best regards!

Ana

1. Mac

2. Bitbucket Server, yes I have done the connecting of the account many times. Sometimes that's the only way it will work again. Its already connected but I have to enter all my info again and it works sometimes. Other times I have to go reset my password entirely and then it will work.

3. I would say it's somewhat random, whenever I want to push or pull for the first time that day it will give me the error, then I do one of the solutions I mentioned above and it works for a little while, then I started getting the error again after a couple pushes/pulls

4. I do not have the command line set up

Hi:

I have the same problem. I created a bitbucket issues for this problem BBS-77777

  • Sourcetree version: 2.7.3 on Mac
  • Bitbucket Cloud: to my company team
  • I'm login in to bitbucket and sourcetree using my company google apps account

 

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin
remote: Too many invalid password attempts. Log in at https://id.atlassian.com/ to restore access.
fatal: unable to access 'https://[my user name]@bitbucket.org/xxx/yyy.git/': The requested URL returned error: 403
Completed with errors, see above

 

After I Log in at https://id.atlassian.com/ this can be read at Sourcetree

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin 
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: Authentication failed for 'https://[my user name]@bitbucket.org/xxx/yyy.git/'
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree pull --no-commit --log origin master 
From https://bitbucket.org/xxx/yyy.git/

branch master -> FETCH_HEAD
Updating 6476563..99a666c
Fast-forward
src/main/filters/DEMO_PTS/db.properties | 8 ++++----
1 file changed, 4 insertions, 4 deletions
Completed successfully
Like rejack89 likes this
Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 30, 2018

Can you please enable debug logging in Sourcetree and send us some logs?

You can enable debug menu from Preference ->Advanced -> Show debug menu.

And from the new Debug menu, turn on Enable Auth logging and set log level to Verbose. 

All auth logs will be written to console. Sourcetree specific logs can be found by opening the logs folder (an option on debug menu). 

In the meanwhile, please check if this helps

In the repo browser, right click on the repo you have an issue and select convert to ssh and then convert back to https. This sets the right URL format in the remote settings. 

Also, please let us know if there is a particular pattern for this issue. May be like happens an hour after setting authentication, two hours after, etc. 

Additional question, have you added your bitbucket cloud account in Sourcetree accounts? What authentication type have you used?

 

Thanks,
Manjunath
Sourcetree Mac Developer

Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 30, 2018

And like wise for Bitbucket server @MelissaB1517

Screen Shot 2018-04-30 at 1.38.57 PM.pngI've tried to push twice and am still getting the same error, I don't see a recent error log from today though

Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 01, 2018 • edited

@MelissaB1517 Would you mind giving this custom build a try and let me know if this is any better? 

Thanks so much for the details provided and trying the new build. 

Seems to be working perfectly so far! Haven't had any issue today. Thank you so much!!

Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 07, 2018

Glad to hear that. We will roll it out in the next beta this week. I'll post the link here and also when it gets released through regular channel. Please make sure you update to the regular build when its available to keep receiving the updates. 

Hello,

 

I am also facing the same issues and tried custom but no luck, getting below error. please help

Screenshot 2019-03-21 at 6.39.00 PM.png

I am also getting the same error. 

Everything works smoothly on terminal. it is Sourcetree specifically that fails. 

 

Please help!

Like Sriram Vaitheeswaran likes this

I am using v3.3.8.

I am facing the same error from April mid I guess.

Everything is perfect on running git from cmd.

But any command (fetch, pull, push) from sourcetree fails with 403 error.

I'm behind proxy and using gitlab repo for the past 2 years.

Btw, the sourcetree terminal is also not working. This might not be related to this issue. Just letting you know.

Like Martin Thorpe likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events