It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Device not configured error.

I got the latest version of sourcetree yesterday. (April 4th 2018) I am unable to push my code changes to remote . I see the below error. How ever I have my password set up in sourcetree for my bitbucket account.

Please help. 

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream origin refs/heads/feature/branchName:refs/heads/feature/branchName

Pushing to https://sdodderi@bitbucket.org/domainName/projectname.git

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

Completed with errors, see above

18 answers

1 accepted

2 votes
Answer accepted

Downgrading to version 2.7 got me back and working until the issue can be sorted out. Check out the  Download Archive.

For me only 2.7 worked  - 2.7.4 was no good

Same issue in february 2019 !

Is there a chance to have an update that fix that pb ?

(3.1.3 v)

Thanks

Same problem here with 3.1.1 (213) when I want to finish a feature.

BTW: How did you get 3.1.3? Update tells me I'm on the newest Version...

Same problem here with 3.1.1 on a MAC, I also have the same problem on a windows 10.

same problem 3.1.2 on MacOS

same problem with 3.2.1 on MacOS Mojave

Is there anybody on atlassian ?

no answer !!!

Same issue with 3.2.1 on MacOs Mojave 

I'm having same issue with 3.2.1 on macOS Mojave.

I'm having the same issue (with 3.1.2 (216)). It seems to only happen when I've pushed the feature branch to the remote. I did found a workaround, though. Just set your HEAD to develop and use 'Merge' instead.

I've used to be having the same issue and fixed it by right-clicking the repo in the main window and selecting 'Convert to SSH' -> so was my Github account connected through, using SSH. Restarting the app is also encouraged after doing so.

It works!! Thank you so much

Worked for me. Thank you Dorian!

Thank you so much 🎉

Worked for me too!

any update here? I am also facing the same problem in Macbook. Now am at a stage where i cant push anything

@Manju
same problem here, just suddenly started happening. can't push or fetch

 

@Manju restarting Mac did not help me. 

@Ryan Sherman thanks, downgrading to version 2.7 fixed all the problems. 

@hawkenking @Soumyadeep Ganguly You guys also might want to try downgrading sourcetree to version 2.7 

This worked for me.

I am not sure what is going on but I made sure everything was set to basic / https

the oauth / ssh VS basic / https WAR continues

@Sreelakshmi DodderiThanks, upgrade to 3.0 resolved this issue.

I just updated to version 2.7.5 (176) and its happening again.

I would really like to trust SourceTree not to interrupt my work day, but I'm getting pretty tired if having to back out the version

@luckyclan @Virl I downgraded to 2.7.2 and I can now use the finish feature. I guess I will just stick to 2.7.2

I tested many of the solutions that are explained here, but finally the only that really worked for me was this (for Mac users only):

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

0 votes
Manju Atlassian Team Apr 06, 2018

Hi @Sreelakshmi Dodderi

There seems to be some oddity with keychain and macOS that causes this issue. I faced the same a couple weeks back and just had to restart to my Mac to get it fixed. Give it a try and let me know If it works for you. If it doesn't, please remove the account and add it again. You can enable a debug menu from Preference window -> Advanced tab and set debug logging and enable auth logs to help us get all the logs in case of failures. 

Thanks,
Manjunath
Sourcetree Mac Developer 

I have tried everything you mentioned and can't get it to work again. I have the same exact issues after upgrading yesterday. I have disabled 2FA on GitHub, reset by personal access token, remove the account and added it again, remove my github keychains, reset my machine, tried basic, oAuth with SSH and HTTPS and nothing has worked. Please help I am starting to lose my mind!

0 votes
Manju Atlassian Team Apr 09, 2018

We identified the issue here and hot fixed it over the weekend. Please update the build to 2.7 (167) and you should be good with this version. Sincere apologies for the inconvenience and appreciate the patience. 

Thanks,
Manjunath
Sourcetree Mac Developer

Hi Manju,

With build 2.7 (159) I got this error

Something went wrong. one or more parameters required to renew token is nil. 

With build 2.7 (165) I got this error...

Device not configured

With build 2.7 (167) I get this error...

The remote service said: 'The operation couldn’t be completed. (SDNetDomain error 7.)'

I tried the archive build to 2.7 (152) and got...

Something went wrong. one or more parameters required to renew token is nil. 

...

So command line it is!

Best,

Som.

Manju Atlassian Team Apr 13, 2018

Hi @Som Shahapurkar

Can you confirm the remote host you were trying to connect and whether the account was added to Sourcetree?

Thanks,
Manjunath
Sourcetree Mac Developer

Hi @Manju,

Thank you for your prompt response.

Seems like when the account was added to Sourcetree, it fails.

I deleted the account and used 'Clone in SourceTree' from bitbucket web, now it works fine.

Thanks,

Som.

It is not fixed, it is still present in 2.7.6 (177) on Mac.

Hi do you guys test fresh installs of sourcetree from scratch? 
I installed on clients mac and got the same error everyone is getting above. 
We uninstalled and installed version 2.7 and everything was fine. The latest version available is broken

Issue is still present in 2.7.6 (177) — git flow is broken because of it.

 

What the hell Atlassian?

Bug is still not fixed.

But there is a workaround: go to Sourcetree>Preferences>Accounts, select account, tap Edit and change protocol from HTTPS to SSH. You have to generate SSH key and add it in bitbucket profile settings to make it work.

The interesting thing is that everything works fine on other computer in our office, no need to change to SSH there. It uses exactly the same repository settings, but different user profile.

There is a separate thread, and somebody published working workaround:

Try change repository link format from "https://username@bitbucket.org" to "https://username:password@bitbucket.org"

Yes, it is not safe, but it is working!

 

Another thread is here:

https://community.atlassian.com/t5/Sourcetree-questions/Fatal-could-not-read-Password-for-https-username-bitbucket-org/qaq-p/768105

I encountered this issue when trying to use the "finish" action on a release branch.
For some reason, the same action works for a feature branch.

I tried some of the answers above.

I tried changing my account settings to SSH. There's a button there that says "connect your account". This opens a mini browser that simply does nothing but directing you to bitbucket's login.
Only other option for you beside surfing the web is clicking cancel, which obviously not connects the account to SourceTree.
Could only connect via basic method, but this didn't change anything.

I tried some other solutions from the threads provided by other people in this thread and nothing works.

Only solution worked for me was the last thing I wanted to do, and is downgrading to 2.7.2.
And to be honest? This is the exact same version as 2.7.6 but without bugs. There's  nothing new  that worth that headache so just downgrade to 2.7.2.

Using Visual Studio Mac with Source Tree 3.1.2  My machine already has ssh keys, etc., for other projects on BitBucket

I had a local repo for a project that was mature enough to put in the cloud. So I created new bitbucket repo.  I could not get the instructions for Visual Studio Mac to add remote repo to work, so I opened Source Tree and opened the local repo. 

Then I went to Menu -> Repo Settings and then Remotes tab.  I added the URL of the newly created Repo.   But, here is the catch: 

The URL of the page you create will be something like: 

https://bitbucket.org/teamname/reponame/src/

That is not correct, but SourceTree will accept that URL. And then fail (with the error in this issue) when you try to push to it..

What you actually want is:

https://bitbucket.org/teamname/reponame.git

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,108 views 0 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you