Unable to finish release with sourcetree 2.7.6
Asked by Koen Verhulst:

I'm having issues while trying to finish a release with sourcetree 2.7.6 on macOs High Sierra (10.35.5). Getting this error message:

fatal: could not read Password for 'https://\[accountName\]@bitbucket.\[domain.com\]': Device not configured

Fatal: Could not fetch release/1.0.3 from origin.

Anyone any experience in resolving this issue? Version 2.7.3 seems to have the same problem. Pulling/pushing/... is working correctly.

Thanks in advance,

Koen


Answers:
author: iMark21
body: Follow this steps, it works!

<https://gist.github.com/RockinPaul/6b012b106c4175469ee39bde12fb67f7>

comments: author: Ashutosh Dave
body: This worked for me!! Thanks!


author: ray
body: It worked! thank you


author: Bruce Rudolph
body: This fixed the problem on my Mac.


author: Wanja Krah
body: Didn't work for me.


author: Claudio Wagner
body: It worked! This fixed the problem in my Mac too.


author: Narendar Singh Saini
body: **Excellent**, worked for me in less than a minute !!


author: Erfan Gholampour
body: this solution saved the day! Thanks!


author: koenverhulst
body: Atlassian: please fix this.   
Version 3.2.1 (225) and still broken gitflow.

This has been an issue for over **a** **year**.


author: ansis
body: v. ++3.0.1++ (205) **Device not configured** with Git Flow when finishing feature or release. please fix. (MacOs 10.14.1)

comments: author: Koen Verhulst
body: +1

Atlassian .. please fix this.


author: vincentheeten
body: +1


author: Eric
body: +1


author: rafaelagp
body: +1


author: Nat Wales
body: +1


author: Roody Dennis
body: +1


author: nagendra-taglr
body: Atlassian developers are high on weed i guess from over a year. It is not at all acceptable from such big platform.

They don't even reply on the queries and concerns. Highly disappointed. \*Red flag\* for this tool.


author: koenverhulst
body: Atlassian: please fix this.   
Version 3.2.1 (225) and still broken gitflow.

This has been an issue for over **a** **year**.

comments: author: nbabdul
body: still facing 19th sep 2019


author: Jorik
body: Atlassian: please fix this.   
Version 3.2 (224) and still broken gitflow


author: Eric
body: Problem only happens when the release / feature / hotfix branch is tracked / pushed on origin. Local branched with gitflow do work


author: Virl
body: Issue is still present in 2.7.6 (177) --- git flow is broken because of it.

What the hell Atlassian??


author: ray
body: Still broken in 4.0(232) !!


author: Sumsam Khan
body: Still broken in 3.2.1


author: koenverhulst
body: Atlassian: please fix this ...


author: HPPI_Mike
body: This is still broken in 3.2


author: Koen Verhulst
body: This does not seems to be solved in Sourcetree 3.0.1.


author: Paul Bonneville
body: I'm using OAuth with SSH and it is NOT working for me. Still getting:

fatal: could not read Password for 'https://XXXXXXXXX@bitbucket.org': Device not configured

Fatal: Could not fetch feature/1.15-ticket-work from origin.


author: Jim Thomas
body: Switching my account to use SSH instead of HTTP auth fixed the issue for me.

comments: author: luckyclan
body: I confirm this workaround is working!


author: Wanja Krah
body: Didn't work for me


author: bhuvidya
body: Even though I found this annoying initially, once I worked out that git-flow is actually just a bash script, and that I could find it in the SourceTree app area (on my mac: /Applications/SourceTree.app/Contents/Resources/git_local/gitflow/git-flow) - then I have just started using the command line on my repos a lot more. I still love the way a GUI like SourceTree shows me quickly exactly what changes have been made (as opposed to just the files). And if course being able to see a visual representation of the commit trees is great too, but overall I'm glad to be getting a lot better at using git in the terminal.


author: Koen Verhulst
body: Updated this thread: <https://community.atlassian.com/t5/Sourcetree-questions/Device-not-configured-error/qaq-p/767223#U828835>

I'm still unable to finish a feature with SourceTree.

comments: author: Yves Vogl
body: It's the same here and I'm pretty sure its related to Sourcetree (2.7.6 177) itself. From command line everythings works as expected. Even doing the steps of "Finish release" manually works.


author: Gideon King
body: I'm having the same problem in 2.7.6 177 too.


author: Petru Magdeleine
body: Hi,

Since the last release, we experience the same problem when trying to finish a feature (using Git Flow \> Finish Current):

fatal: could not read Username for '<https://gitlab.com>': Device not configured

Fatal: Could not fetch feature/xxx from origin.

Sourcetree 2.7.6 / macOs High Sierra


author: Ana Retamal
body: Hi Koen! To which service are you connecting? Have you connected your account already following the steps at [Connect your account?](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html)

For troubleshooting purposes, have you performed the same operation from the command line? What is the result?

Cheers!

Ana

comments: author: Koen Verhulst
body: Thanks for your reply Ana.

We are connecting to an on premise bitbucket server. Will try to perform the same operation from command line and post the result here.

Thanks,

Koen


author: Koen Verhulst
body: Hi Ana,

I was able to finish the release using command line. However, I would expect it to work from Sourcetree.

Cheers,

Koen


author: Damian Rosair
body: Hi Koen,

I have had the exact same issue as you. Trying to finish a release on macOS High Sierra after updating to 2.7.6 SourceTree and no luck.

I've spent so much time updating the BitBucket server and resetting passwords but no luck.

This has happened before too so I should have remembered.

The command line worked for me too, and now I can use SourceTree again.

Thanks!


author: Damian Rosair
body: Just a follow-up. SourceTree worked after reverting back to 2.6.3 with no issues at all.


Tags: mac

release