I updated to SourceTree v 2.7.2. this morning and my first push I received this error:
Pushing to https://username@bitbucket.org/repo/path.git
fatal: could not read Password for 'https://username@bitbucket.org': Device not configured
This had never been an issue prior to the update, so I'm thinking the two are connected.
I've tried re-logging in (choosing basic and OAuth with HTTPS as the protocol), restarting sourcetree and restarting my computer but have had no luck.
Help is appreciated!
We've identified the fix and will roll out a new build later today. Our apologies for the hiccup.
Awesome, thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @bgannin,
Same issue here. I'm using the version 2.7.6(177) on a Mac. I'm trying to finish a feature from git-flow menu and I get this error:
fatal: could not read Password for 'https://username@bitbucket.org': Device not configured
I tried to re-login to Bitbucket but no luck
I tried to restart the mac but no luck
Should I do a downgrade?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@tonholis Are there other actions that result in this error too? Or is it just git-flow? Can you please let us know the account config for your Bitbucket account in Sourcetree? OAuth vs Basic? Or if you are using App Password? Please include a screenshot of the account from Sourcetree's preference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Manju i have same problem
To use ssh bitbucket need to enable pipeline, but it's paid ((
Does any another way to enable git flow in source tree?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using git-flow or ssh does not have anything to do with pipelines. You should be able to use them with Bitbucket without having to enable pipelines on your repo and for free.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well go ahead and Build another update cause getting error on 3.0.6
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using 3.01 for Mac and have this issue on gitflow commands. Any hints?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please vote and comment on appropriate ticket(s) in our public bug tracker. Community is for questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @bgannin,
Same here too: mac version 3.0.5 build 205. fatal: could not read Password for 'https://username@bitbucket.org': Device not configured
When will this bug get fixed? It seems that it was mentioned here in April 2018 and we're now in April 2019...
Adding your password to your URL seems to work but surely cannot be the adequate solution to this issue. What solutions do you recommend?
In the meantime, I've tried finding the ticket in your public bug tracker to vote and comment it, but couldn't find it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@bgannin, thanks for the suggestion to add the password in the URL.
This worked for me in an job emergency.
But I agree with you: this isn't the adequate solution to this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try change repository link format from "https://username@bitbucket.org" to "https://username:password@bitbucket.org"
It helped for me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
its worked for me :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks you guy. This worked perfect for me :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works!!! Thank´s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
👍
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked for me as well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked for me. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
insecure but it works! :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
his worked for me. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Work for me to, Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For security reason you can create App password for specific purpose, you can find more details in the following link: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Leotrim Lota The password is still visible in the link, and anyone could simply copy it and use it no matter which app it is. App passwords are not actually aware of the app that uses them.
Actually, thinking about it, an app password might be even worse because you loose the two-step verification of your account's login. So, on the one hand, your account's password allows access to your account - on the other hand, an app password allows any app to make changes in a repository.
So, approaching 2022, after almost 4 years, the same issue that leads to a security issue, is still there.
Hey @atlassian, what have you been working on lately?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
its worked for me :D
Thanks! <3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried adding my BitBucket password. That didn't work so I tried my "App Password" and that worked!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FIX IT (09/2020)
All the the answers here are wrong... You shouldn't NEVER do something like that:
https://username:PASSWORD@Bitbucket.org
SOLUTION
All you have to do is:
- Go to Sourcetree -> Preferences -> Git
- You will have the section "Git Version" with 2 options: Reset to ebedded Git and Use System Git
Sourcetree use the Ebedded git for default.
Click on "Use System Git" and.... Fixed!
---------------
Follow me on:
GIthub
Twitter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update: it worked on one computer, but doesn't work on few others... It seems the only 100% working solution is "https://username:PASSWORD..."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem here! and it's now September 2018
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
same...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
same...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have just gotten this error for the first time. I am running the latest version, 4.0 (232) on a Mac. Tried to finish a release.
This bug needs to be resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also just experienced this now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm still having this issue. version 3.1.1
it's March 2019 - How is this still a thing? lmao
I'm also on mac os x 10.14.3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here...
Sourcetree 3.1
MacOsX 10.14.4
@Atlassian please fix this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem today with Sourcetree 4.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's bad news. I got it working but have spent hours and hours trying to figure it out. I did switch to an SSH connection but had problems with that too. I went back to a regular connection. It's been working so far but not surprised to hear your report of another failure.
I've been testing the competitive application Fork. It provides more complete error messages and is helpful to sort issues out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The issue still exists. Version 4.0 (232). It's really annoying.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well here it is just a little over one month from my post above where it was all working and now it's not working again.
I've been in software development for over 20 years and once in a while a software product comes along that my peers and I would consider to be "worse than useless". This is such a product. If it were obviously useless you wouldn't waste your time but this is worse than useless because you spend so much time and get nothing for it.
It's often more important as to who you are partnering with in software development as well as the software product they've developed. This is such a case. You would think they would have pride in their product and would contact one of the developers reporting the problem to resolve it but no. They don't care and it's been over a year.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just updated to v3.0 and now this issue is back on my desktop Mac. I never had the problem on my Windows machine. Not sure about my laptop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same issue, using git-flow action
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got same issue 29-10-2018, using git-flow action.
Cant even login in OAuth method...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've been having this issue ONLY when trying to finish a feature. Just finished some testing and the problem still existed. Then I tried the solution suggested by @BUROVIC above. Which is:
Try change repository link format from "https://username@bitbucket.org" to "https://username:password@bitbucket.org"
However I get this warning:
To find this setting open the repository and go to Repository->Repository Settings->Remotes tab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But this worked and I'm not so comfortable doing this.
In the past I've made my commits, moved over to my Windows machine, pulled the changes, and then done the Feature Finish.
Again, this only happened to me when finishing a feature.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this is specific to git flow actions, I would recommend you to move this to a separate thread or submit a ticket on our public issue tracker for us to look into.
Thanks,
Manjunath
Sourcetree Mac Developer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue is still present in 2.7.6 (177) — git flow is broken because of it.
Atlassian, please fix it already!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've the same problem in last version of sourcetree for mac, any solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This has been a problem for five months now, and it's still biting me! Atlassian, where are you? We shouldn't have to use SSH just to do this basic operation!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same issue on 3.2.1 !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same in 3.2.1 on OSX
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue is still ongoing without resolution on Mac
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem with Sourcetree 3.0 (200). Occurs when finishing a hotfix e.g.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a known issue with some of the git flow related actions. The team is looking into it and will address it in an upcoming release. Appreciate your kind cooperation and patience in this regard.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem with Sourcetree 3.0.1 (205). Occurs when finishing a release via Git Flow.
I use ssh and two factor authentication, but the remote url was set as a HTTPS format. I changed it into ssh-format like this git@bitbucket.org:<account_name>/<repo_name>.git, which solved my issue..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, just upgraded to V 3.0.6 and get this error... how do I now work????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I only get this error when finishing a git flow feature (ver: 3.0)!
you could use the following command in your terminal:
# git flow feature finish branch_name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I downgrade to version 2.7.2, it works for me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This happens to me too often. Trying to finish a feature. Getting this error. Just updated to v2.7.4. It was working before the update.
This seems to be a cycle. Works, update, broken, fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I move over to my Windows 10 machine, pull the updates, then do the finish on the feature and it works fine. Running v2.6.3 of SourceTree on Win10.
Of course, then I have to go back to my Mac and pull all the changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Over 3 years now. I'm sure it'll be fixed aaaany day now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
2 years now. Happy bugday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is weird to see such an old bug still present in the latest version of sourcetree. I use the password in url solution to this work. But this should really be fixed pronto.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm a Mac user and I'm thinking that maybe it's how my credentials are, or are not, getting accessed in my KeyChain. It's possible I've got that wrong or corrupted somehow. I've never had this problem on my Windows machine. What's odd is I can commit using Sourcetree but I can't finish a Release.
Anyway, it's been a couple of years, I have way too many problems, spent way too many hours, have not seen any support, and there's been no help so I switched both my git client software and my source hosting.
Rather than Sourcetree I now use Fork:
And I now host my code on GitHub rather than Atlassian:
Both are different but I like them so far.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fork is a free and open source project. GitHub is like Atlassian in that the type of account you need will determine whether it's free or if you pay. I'm a single developer and have a free account.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As bug is still there, and nobody knows if Attlassian team is working on that, can anybody recommend a service similar to bitbucket / sourcetree?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the problem still happened, I just jenkins to deploy code on slave
/remotes/origin/*" returned status code 128:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sourcetree is JUNK!!! always have issues EVERYTIME
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nothing has changed. Don't know why they don't want to get with someone to fix this.
After asking around with other developers it was advised to me to abandon Sourcetree as it is bad software. The suggested solution is to use Fork, another cross platform app. I'm going to that. This has cost me way, way too much in lost time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm still having the same issue as well ever since I changed my laptop password (AD-backed).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am still seeing this bug and I am on Sourcetree verison 3.2.1.
Was this issue never fixed or what is the status? Would be great if someone from Atlassian could respond.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you on a Mac or Windows machine? If you are on a Mac please explain how to do this. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm on a mac.
This link should explain how you can do it:
https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html#SetupanSSHkey-ssh4SetupSSHwithSourcetreeonmacOS (the section that you need to look at is 'Set up SSH with Sourcetree on macOS').
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.