youngmon/atlassian-qna huggingface dataset:
Sourcetree wont login (2.1.10)
Asked by bwoogie:

Ever since updating to 2.1.10 I keep getting a prompt to login to bitbucket. For a while if I changed the preferred protocol to SSH and refreshed the OAuth token it would work for a bit, then later I would get the popup again, and I would switch back to HTTPS... Now neither work. I can't push so it makes sourcetree pretty useless. Any fix for this coming?


Answers:
author: Il?dio Martins
body: I have the same problem. I had to revert to an older version

Just check

<https://www.sourcetreeapp.com/update/windows/ga/ReleaseNotes_2.1.10.html>


author: Ana Retamal
body: Hi Aaron, SourceTree for Windows now shares credentials with Git via the Git Credential Manager (GCM).The credentials for both are stored in the Windows Vault or Credentials Manager, the entries are prefixed with 'git:' To determine what is going on I would:

1. Remove all existing 'git:' prefixed entries from the Windows Vault.
2. Remove any credentials from git config files.
3. Disable the automatic remote checking of repositories in SourceTree. Then restart SourceTree and open each repository in turn and do a fetch. This should trigger the GCM to request credentials. Entering them there shoud mean they are stored correctly.

Did this work for you? If you're still getting prompted for a password, let us know if you're getting any error when you try to push. Also, let us know if the URL is of the form *<https://bitbucket.org/owner/repo>* or *https://user@bitbucket.org/owner/repo* and make sure that **Tools \> Options \> Authentication**is hosting the right password.

Best regards,

Ana

comments: author: Bharadwaj Rajan
body: I have been trying for a week now and tried all these methods with the new Sourcetree 2.1.10. Everything was working good until the upgrade last week and nothing is working anymore. None of the steps above help at all. And I can't seem to downgrade. This is annoying!! I'm able to push and pull using command line but not SourceTree.

My URL for Bitbucket server is: <https://tpg.spd.analog.com/bitbucket/scm/tok/arm.git>

Please help asap because we're in the middle of a critical release. Thanks.


author: bwoogie
body: Ana, I've removed the credentials from the windows credentials manager and it still isn't working correctly. The login window keeps popping up everytime I try to push and I can't enter my password because I login with Google. Sometimes everything works as expected but later on in the day I'll randomly get promted for my login and wont be able to continue after that until it decides to start working again.

For what its worth, I'm running 2.1.11 now...

*Also, the url is in this format: https://user@bitbucket.org/owner/repo*


author: Il?dio Martins
body: I downgraded to the version 2.0.20.1  


author: Bharadwaj Rajan
body: That's what I had to do to get it working as well. Downgraded to 2.0.20.1. Works now. Should we put in an Atlassian ticket or does it already exist?


author: Il?dio Martins
body: I don't know... Maybe they don't know.

SourceTree had an update and they didn't do anything to solve.  

I just turn the updates off.. And I just use 2.0.20.1 version


Tags: windows
Cannot start SSH Agent after Visual Studio 2017
Asked by billwhitehead:

I installed Visual Studio 2017 which installed git. This seems to have broken my ssh-agent in sourcetree now. I tried to uninstall and reinstall. Same thing.

The error I get is a window entitled "Error encountered". The wording is "'ssh-agent' failed with code -1: System.NullReferenceException: Object reference not set to an instance of an object. ()"

Any ideas on what to do? Should I try to uninstall the git update?


Answers:
author: billwhitehead
body: I finally found this link, <https://community.atlassian.com/t5/SourceTree-questions/how-to-reslove-ssh-agent-failed-with-code-1-System/qaq-p/282052>

I updated the embedded version of git, and that seemed to solve the ssh-agent issue.

My problem now is SourceTree is still VERY unresponsive. Not sure what happened.


Tags: git

ssh
SourceTree Atlassian login is broken on Windows Server 2016
Asked by veksler:

SourceTree requires logging in to my Atlassian account to run it.

I installed SourceTree on Windows Server 2016.

In the setup wizard, when I click "use an existing account" I get an Internet Explorer access denied error because IE blocks JavaScript by default on Windows Server.

In Windows Server 2016, there is no option to disable this.

Because JavaScript is disabled, when I try to login I getn an error from Atlassian

"Oops, you've made a malformed request. - Atlassian account  

Oops, you've made a malformed request. {#toc-hId-1957669017}
============================================================

If you came here from a link we sent you, please contact support."


Answers:
author: Tim Porter
body: Found a [workaround](https://jira.atlassian.com/browse/SRCTREEWIN-7244)
> "From a working install collect the accounts.json and passwd files.
>
> Delete the Atlassian folder from the AppData/Local directory for your user. Run the installer for 2.3.1, close it when you get the blank login window. Place the account.json and passwd files into the Atlassian/SourceTree folder. Rerun the installer. It should detect the account and password from those files and bypass the request for a login."

comments: author: Manuel Richa
body: that worked for us. thank you


author: veksler
body: ![Screen Shot 2017-08-18 at 2.34.09 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/4915iA64D08C07752DFDF/image-size/large?v=v2&px=999 "Screen Shot 2017-08-18 at 2.34.09 PM.png")

comments: author: Tim Porter
body: Did you find a solution to this?
How to configure source tree when we already have a repository and GIT is installed with xcode?
Asked by Anosh:

In MAC machine


Answers:
author: bgannin
body: There's nothing to configure. Xcode and SourceTree both have their own versions of Git that they use out of the box.

Brian Ganninger  
Senior Mac Developer, SourceTree

comments: author: Anosh
body: Ok....i know Git already came with xcode but while cloning branch from bitbucket in source tree how can we configure sourcetree for pushing all the changes in the local newly created branch?


author: bgannin
body: I recommend: <https://confluence.atlassian.com/get-started-with-sourcetree/>


Tags: mac
Unable to login to source tree
Asked by Hiten Amin:

I have installed source tree, when i tried to start it, its asking me to log into my atlassian account. I have created a new account and procured a license. Then I click on "Use and existing account" button. When I provide my login id and click on "Next" button, i get Oops, you've made a malformed request".

I tried few things but its not working. Anyone has any suggestion? I tried few steps from the community links, but nothing is working. please advise

thanks in advance


Answers:
author: Ana Retamal
body: Hi Hiten, are you still unable to log in? If so, open Internet Explorer, go to the *Advanced options* tab, click on *Reset your Internet Explorer Settings* and check *Delete personal settings* This seemed to work for other users that were experiencing the same problem.

Let us know if it worked for you!

comments: author: noiseyou99
body: Not work .

I try to add Trusted sites from IE browser : https://\*.atlassian.com

It will work .


author: Ziv Karp
body: That's crazy. After giving up the attempt to login through SourceTree (v2.6.10), I tried another app with bitbucket integration (PhpStrorm) and logged in successfully. After that, SourceTree also logged in.


author: noiseyou99
body: If you want to use the google login .

You must add the trusted sites:

1.https://\*.atlassian.com

2.https://\*.google.com

3.<https://ssl.gstatic.com>


author: noiseyou99
body: IE browser add Trusted sites : https://\*.atlassian.com

Because the web site use the some link to atlassian.com


author: Christopher Gronde
body: Has there been any resolution to this? I am also not able to read the login when I click "use existing account" this is on 2.3.1

comments: author: Hiten Amin
body: Yes it is resolved. the domain was in restricted sites in my security options. I removed it and it worked


author: Christopher Gronde
body: by domain, do you mean atlassian.com? I can get to my.atlassian and id.atlassian, etc. But when I click the "existing account" button in sourcetree install I can't reach the site


author: Mikael Sandberg
body: What browser are you using when you go to my.atlassian.com?


author: Mikael Sandberg
body: Are you able to log on to [my.atlassian.com](https://my.atlassian.com/)? Also, make sure that IE is not blocking JavaScripts.

comments: author: Hiten Amin
body: I am able to login using chrome, but IE shows me same error. I don't think my IE blocks javascript


Tags: windows
SourceTree installation is broken
Asked by simon_arnold:

When running the installation and you accept the License agreement, you are then asked to use an existing account, or Go to My Atlassian, I click on the Use an existing account and the log in dialog appears, but to no avail can I log in I constantly get the We've encounted a problem, Please try again in a few minutes.

So for my own tests, I go the the Atlassian web site and try to log in and bang I'm in, so why won't the sourcetree login work, I've reset my password and tried everything but I can't get passed the Atlassian account on the Setup wizard.


Answers:
author: Ana Retamal
body: Hi Simon, we're already tracking this issue at [Installation of SourceTree can not be completed](https://community.atlassian.com/t5/SourceTree-questions/Installation-of-SourceTree-cannot-be-completed-because-of/qaq-p/621375#U621473). Our team is already working on it, please keep an eye on that thread for further updates.

Let us know if you have any other questions!

Best regards,

Ana

comments: author: Brian Parnell
body: Still not fixed. Three years later.   
Brand new computer and nothing works.   
Tried multiple versions and now I'm forced to login into some bitbucket.

Frustrated and now looking for another service.  
B
Move registration process to application start
Asked by Marco Brade:

Hello

Within our company we used sourcetree 1.8.2.2 which is beeing able to even install without the need to have an internet connection.

With 2.1.10.0 it is not possible any more to even install it without internet connectivity. Problem is that in our company only special users can install software but those users can not go to the internet.

My regular user can go to the internet via proxy but is not able to install software.

Why not moving the registration process to the first start of the application after installation. At least this will solve some issues but not all. And be aware that a proxy with authentication is also often a common usecase. So to be able to configure that would be a must have or use the system settings.

BR

Marco


Answers:
author: Ana Retamal
body: Hi Marco, offline installation for SourceTree it's not available and the licensing key was removed last year. We have a feature request regarding that subject and you can find it at [SRCTREE-3593](https://jira.atlassian.com/browse/SRCTREE-3593). We're tracking feedback on that specific request there, so please feel free to add your suggestions in the 'Comments' section.

Let us know if there's anything else we can help you with.

Thanks for your support :)

Ana
Error en pull:
Asked by Belen Blasco:

Al tratar de hacer Pull sobre todos mis proyectos me da varios errores:

Primero,

remote: Too many invalid password attempts. Try logging in through the website with your password

Despu?s,

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.

He cambiado la contrase?a en mi cuenta de atalasian y he vuelto a entrar a bitbucket, indicando a mano el correo y la nueva password (sin hacer login de google como recomiendan en los foros).


Answers:
author: Ana Retamal
body: Hola Belen! First of all please note that we can only provide support in English :)

There's a thread created by another member of the Community where some users shared the solutions that worked for them regarding this issue. There are a few available options, I've listed them here for you. You can find the post at [Authentication issues](https://community.atlassian.com/t5/Bitbucket-questions/SourceTree-2-1-10-0-Authentication-Issues/qaq-p/623202):

* Delete the Windows Credentials stored in Windows (that's where SourceTree stored them), delete the passwd file, then restart SourceTree. To see and remove them, do the following:
  * 1. Open the **Control Panel** and click on **User Accounts** .
  * 2. In the left hand list of links, click **Manage Your Credentials** . When it opens, it shows your Web Credentials.
  * 3. Click the Windows Credentials "button". This shows your stored Windows credentials. Look for entries that start with "git:http" and include your server name and/or user name and remove them.
* Go to **Repository \> Repository Settings** , select your repository, and change the username from your Bitbucket username to your Atlassian account's email address. Then, remove the passwd file.
* Download SourceTree version 2.1.2.5 from [our website](https://www.sourcetreeapp.com/download-archives) and install it. Reject the upgrade to 2.1.10 that comes up.
* Update embedded git from 2.10.2 to 2.13.2

I hope this helps you! If none of the above works for you, please let us know if you're using Windows or Mac and if you get the same error when you perform these operations from the command line.

Cheers,

Ana

comments: author: Belen Blasco
body: Hi,  
I've tried some of those steps, but they didn't work. And I wasn't able to download the 2.1.2.5 version, your link downloads 2.1.10.  
I'm using windows, and I had never run the operations from the command line, always from sourcetree.


author: Belen Blasco
body: It seems I have solved it by myself. I uninstall v 2.1.10 and reinstal an old 2.0.20.1 that I had in the donwload folder.

With that change, I have been able to push my changes and we can see them on the bitbucket web page of the project.


author: Ana Retamal
body: Thanks for letting us know, Belen! I contacted the developers regarding this issue, as it seems there are more users experiencing the same problem. In the meantime, using an older version is a valid workaround.

Cheers!

Ana
Is there a way to create a pull request from SourceTree without redirecting to Bitbucket Web??
Asked by anoopvcmohan:

Is there a way to create a pull request from SourceTree without redirecting to Bitbucket Web??.

I am using a Bitbucket without SSL. Whenever I create a pullrequest from SourceTree it redirects to HTTPS url and will not be able to connect to Bitbucket web. I know a self signed certificate or a real certificate required to work SSL.

Is there any other way to create the complete pull request from SourceTree itself?


Answers:
author: Ana Retamal
body: Hi Anoop, at the moment it's not possible to create pull requests without redirecting to Bitbucket. If you'd like that to be possible, you might be interested on voting for this Feature request [SRCTREEWIN-7654](https://jira.atlassian.com/browse/SRCTREEWIN-7654).

You mentioned that when you tried creating a pull request from SourceTree you're not able to connect to Bitbucket:

1. Are you using Bitbucket Cloud or Server?
2. Does it ask you for your credentials?
3. Do you get any error?

Best regards,

Ana


Tags: bitbucket

pull-request
how to get rid of popup for atlassian account detail while latest version of Sourcetree installation
Asked by Sourabh Phanda:

We are planning to upgrade Sourcetree version to the latest available. While testing the installation, we noticed that a window popups and request for atlassian account details.

We are using Sourcetree multiuser license for Sourcetree and this pop is a roadblock in our testing because in our environment, we push the applications in multiple machines through SCCM to upgrade/install application. This popup requires atlassian account information, if information will not be passed, installation will fail.  

Is there any way in the tool where we can hardcode the licensed account details? This will help our community to use the latest version without any interruption.

Thanks

Sourabh


Answers:
author: Mikael Sandberg
body: Since you are mentioning "multi license" I assume you are using version \< 1.8.x and want to upgrade from that. SourceTree changed their license model as of 1.8.x and are now using Atlassian account instead of a license file, so there is no way of getting rid of that popup window. Here is a blog post from back in the days when they made the switch, <https://blog.sourcetreeapp.com/2016/02/22/sourcetree-update-atlassian-account-git-lfs-support-ui-refresh-and-more/>.
Source Tree External diff tools not working
Asked by Hui Zhao:

The latest Source Tree. Version 2.1.10.0.

The diff tools can not be launched. I have two: TortoiseMerge and DiffMerge. Either of them is not working.

I check the config file. It is:

\[user\]  
name = Blah Blah  
email = blah@software.com  
\[core\]  
autocrlf = true  
excludesfile = C:\\\\Users\\\\MyName\\\\Documents\\\\gitignore_global.txt  
\[difftool "TortoiseMerge"\]  
cmd = 'C:/Program Files/TortoiseSVN/bin/TortoiseMerge.exe' \\"$LOCAL\\" \\"$REMOTE\\"  
\[mergetool "TortoiseMerge"\]  
cmd = 'C:/Program Files/TortoiseSVN/bin/TortoiseMerge.exe' -base:\\"$BASE\\" -mine:\\"$LOCAL\\" -theirs:\\"$REMOTE\\" -merged:\\"$MERGED\\"  
trustExitCode = true  
\[difftool "sourcetree"\]  
cmd = 'C:/Program Files/TortoiseSVN/bin/TortoiseMerge.exe' \\"$LOCAL\\" \\"$REMOTE\\"  
\[mergetool "sourcetree"\]  
cmd = 'C:/Program Files/TortoiseSVN/bin/TortoiseMerge.exe' -base:\\"$BASE\\" -mine:\\"$LOCAL\\" -theirs:\\"$REMOTE\\" -merged:\\"$MERGED\\"  
trustExitCode = true

![1.PNG](/t5/image/serverpage/image-id/4851i86C134D30DEEECCD/image-size/large?v=v2&px=999 "1.PNG")


Answers:
author: Krisztian Fekete
body: I have the same issue on Mac with SourceTree version 2.6.1 (126). When I right-click on the merge conflict and select Launch External Merge Tool, nothing happens. I had the default config, I haven't modified my .gitconfig or the SourceTree prefrences. This used to work fine and launch FileMerge.

comments: author: Krisztian Fekete
body: For Mac users: the solution for me was to open Xcode on Mac, accept the Terms \& Conditions and let it install it's updates.

Then I issued

```
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
```

And now FileMerge launches from SourceTree.


author: Hui Zhao
body: I don't use Mac. I use Windows.


Tags: windows
Sourcetree won't install or run for some users
Asked by Jason Collinge:

I've been trying to get one of our developers setup with sourcetree but it refuses to install/run properly for his user. It works for another user on the same machine.

The user has full local admin rights but there appears to be some sort of registry permission issue.

We see this error in the log:

ERROR \[2017-08-16 17:47:53,263\] \[1\] \[SourceTree.App\] \[.ctor\] - finish EnsureSquirrelExecutionStubIsCopied  
ERROR \[2017-08-16 17:47:54,022\] \[1\] \[SourceTree.App\] \[OnStartup\] - Failed to start  
System.UnauthorizedAccessException: Access to the registry key 'HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION' is denied.  
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)  
at Microsoft.Win32.RegistryKey.CreateSubKeyInternal(String subkey, RegistryKeyPermissionCheck permissionCheck, Object registrySecurityObj, RegistryOptions registryOptions)  
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck)  
at SourceTree.AppRoot.RegisterBrowserEmulationModeKey(String feature, String appName, UInt32 value)  
at SourceTree.AppRoot.OnStartup(StartupEventArgs e)  
at SourceTree.App.OnStartup(StartupEventArgs e)


Answers:
author: Ana Retamal
body: Hi Jason, it looks indeed like a registry permission issue.

Can you make sure the user has full permissions for the specific key mentioned in the error? You can find the instructions on how to do that at [How to gain full permissions for registry keys](https://www.howtogeek.com/262464/how-to-gain-full-permissions-to-edit-protected-registry-keys/).

If you're still having issues, can you let us know which version of SourceTree and Windows is he using? Also, is he able to open SourceTree atl all? Does it crash right after it's opened?

Best regards,

Ana


Tags: windows
Can I receive release notes by mail?
Asked by gkunkel1965:

My organization would rather that users not update SourceTreee when prompted to do so.

Instead, they would like the Configuration Team to analyze any patches, updates, ... to deteremine whether or not an update is necessary and in turn update the clients in an organized fashion.

Can I receive release notes via email?


Answers:
author: bgannin
body: We don't have anything such as that unfortunately. The closest option would be to watch the *trusted-testers*mailing list for announcements but that has a higher noise:signal ratio in this particular case.

Brian Ganninger  
Senior Mac Developer, SourceTree
Latest Release notes
Asked by Oylex:

Is there a place where we can get the latest release notes?

At the moment I found this url which works

<https://www.sourcetreeapp.com/update/windows/ga/ReleaseNotes_2.1.11.html>

But I find I have to change the version in the url to see the latest changes.

Is there a page with links to these release notes? Or a link such as "ReleaseNotes_latest.html"?

Thanks


Answers:
author: Ana Retamal
body: Hi Joel! You can find the release notes under their respective version at [SourceTree Download Archives](https://www.sourcetreeapp.com/download-archives).

Cheers :)

Ana

comments: author: Oylex
body: Thanks, but it seems to be missing the more recent versions.

The reason I'd like to see this is to know what's changed before installing a new version.

For now I can still replace the version in the url.
SourceTree "fatal: Authentication failed for..." bitbucket account locked
Asked by Jacqueline Katane:

I get this error when tryin gto push or pull changes on sourcetree:

fatal: remote error: CAPTCHA required  
Your Bitbucket account has been locked. To unlock it and log in again you must  
solve a CAPTCHA. This is typically caused by too many attempts to login with an  
incorrect password. The account lock prevents your SCM client from accessing  
Bitbucket and its mirrors until it is solved, even if you enter your password  
correctly.

If you are currently logged in to Bitbucket via a browser you may need to  
logout and then log back in in order to solve the CAPTCHA.

i am able to log onto bitbucket when the captcha code is prompted. Please assist


Answers:
author: bgannin
body: What OS and what version of SourceTree are you using?

Brian Ganninger  
Senior Mac Developer, SourceTree

comments: author: H K
body: I recently started seeing this issue past few weeks and I have no idea why it started or how to fix it.

I did update the source tree to 2.3.1.0

I'm on Windows 10.


author: Eric Gabbard
body: Brian, was there ever a solution to this issue?

I think I've been experiencing a similar issue. Here's what's been happening:

* In Sourcetree, I'm unable to pull or push changes in a project hosted on Bitbucket, and I receive a CAPTCHA error.
* So, next, I visit Bitbucket online and I am able to successfully log in to Bitbucket.
* However, when I return to Sourcetree, I'm still unable to pull/push changes to my project -- I get the same CAPTCHA error message.

Let me know if you need any of my description clarified. I'm running a Windows 10 system.

Would appreciate your help.

Thanks,

Eric


Tags: bitbucket