• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 3.0.0-beta-1930
    • 2.0.20.1
    • None
    • Windows 7 Ultimate SP 1
      i5 4590s
      H81M P33
      2x4GB RAM
      R7 370 Nitro 4GB

    • Severity 2 - Major

      When trying to install SourceTree 20.0.20.1, in third step "Atlassian account", on log in screen, I'm getting "Oops, you've made a malformed request." message. Don't know what happend. It seems, that my account is working, althrough I've never get "e-mail verification" e-mail, but I did get "reset password" e mail. I've tried on to mails, pisakpisze@gmail.com and malec.krzysztof.work@gmail.com , same issue. I've tried to check in Windows Firewall, nothing there. I can't use "Log in with Google" button, nothing happend when pressed. Tried to use random account name, getting same message. I've event tried to delete cookies, uninstall browser extensions(Google Chrome), tried to use different-older SourceTree (1.9.6.0 and some older one, don't remember), same issue.

      Don't have firewall, anti-virus software etc. I can't even attach file in png and bmp formats!

        1. image-2017-11-16-16-43-20-924.png
          image-2017-11-16-16-43-20-924.png
          3.83 MB
        2. image-2017-11-21-23-45-39-719.png
          image-2017-11-21-23-45-39-719.png
          20 kB
        3. image-2018-05-14-00-21-05-891.png
          image-2018-05-14-00-21-05-891.png
          115 kB
        4. screenshot-1.png
          screenshot-1.png
          128 kB
        5. Sourcetree.jpg
          Sourcetree.jpg
          20 kB

            [SRCTREEWIN-7244] Can't install SourceTree

            Hello, I have the infamous install problem too. *.atlassian.com is in IE's trusted sites, howether the login window is completely blank during install (not even containing error messages). The "magic json file" trick did not work for me, and frankly, this is far below my expectations from Atlassian. Interstingly, I can download a "sourcetree.license" file from a classical browser, but apparently I cannot do anything with that file. Older versions of SourceTree back in 2015 allowed you to download that file and feed it to SourceTree offline. This new "handy" online stuff is a terrible step backwards since it is fragile and has no failsafes or workarounds

            Yves Grasland added a comment - Hello, I have the infamous install problem too. *.atlassian.com is in IE's trusted sites, howether the login window is completely blank during install (not even containing error messages). The "magic json file" trick did not work for me, and frankly, this is far below my expectations from Atlassian. Interstingly, I can download a "sourcetree.license" file from a classical browser, but apparently I cannot do anything with that file. Older versions of SourceTree back in 2015 allowed you to download that file and feed it to SourceTree offline. This new "handy" online stuff is a terrible step backwards since it is fragile and has no failsafes or workarounds

            I've pretty much given up on SourceTree and Atlassian in general.  I found a new GUI for the Mac that is amazing called Fork and they are working on a Windows version.  In the meantime, here is a link to git GUI clients if you're looking for something else.  I was running GitKraken for a while and might go back.  It is one of the few Windows GUIs that can handle SSH connections to BitBucket, but then again I might be moving all my repos too.  https://git-scm.com/download/gui/windows

            Matt Anderson added a comment - I've pretty much given up on SourceTree and Atlassian in general.  I found a new GUI for the Mac that is amazing called Fork and they are working on a Windows version.  In the meantime, here is a link to git GUI clients if you're looking for something else.  I was running GitKraken for a while and might go back.  It is one of the few Windows GUIs that can handle SSH connections to BitBucket, but then again I might be moving all my repos too.  https://git-scm.com/download/gui/windows

            Wow guys, I can't believe it's not fixed. This is a breaking feature. I can't install your product without logging in.

            untit1ed NA added a comment - Wow guys, I can't believe it's not fixed. This is a breaking feature. I can't install your product without logging in.

            Dave Cole added a comment -

            Another trick I found that works is to run a proxy server like Fiddler.  It somehow tricks the whole system into letting traffic through.

            Dave Cole added a comment - Another trick I found that works is to run a proxy server like Fiddler.  It somehow tricks the whole system into letting traffic through.

            Daniel, I can report after about 6 months of not having SourceTree on my work Windows dev box, I now have it installed!!  It's sad this hasn't been fixed even though I've waited through a couple version upgrades.

            Matt Anderson added a comment - Daniel, I can report after about 6 months of not having SourceTree on my work Windows dev box, I now have it installed!!  It's sad this hasn't been fixed even though I've waited through a couple version upgrades.

            Daniel, I can thank you enough for this. it works

            Thierno Diallo added a comment - Daniel, I can thank you enough for this. it works

            I made a clear Workaround tutorial OverHere .

            Daniel Girard Bolduc added a comment - I made a clear Workaround tutorial OverHere  .

            Bartek Pietrowki added a comment - - edited

            Tried to install SourceTree v. 2.3.5.0, the login hangs up and I am not able to start using the product. I tried multiple workarounds found here, none of them worked (it looks like 2.3.5.0 installer overrides the Sourcetree folder in local data, at least for me accounts.json disappears when running the installer). I was able to generate a license online, but there is no way to load it during the installation process. From the instruction available next to license download link it looks like it should be loaded when source tree is already running (say whaaaat? What with newcomers such as myself? no previous ST installations available...) As suggested by @jijo_john428747962 - just add a possibility to manually point the license file .... 

            Anyway, my work needs to be done, so getting back to GitExtensions.

            EDIT:

            Finally got it working, the advise at the end of this thread helped: https://community.atlassian.com/t5/Sourcetree-questions/Installation-of-SourceTree-cannot-be-completed-because-of/qaq-p/621375 

            "Internet Options (or Internet Properties) -> [Advanced] tab
            `Security
            ` Do not save encrypted pages to disk (uncheck the checkbox)".

             

            Bartek Pietrowki added a comment - - edited Tried to install SourceTree v. 2.3.5.0, the login hangs up and I am not able to start using the product. I tried multiple workarounds found here, none of them worked (it looks like 2.3.5.0 installer overrides the Sourcetree folder in local data, at least for me accounts.json disappears when running the installer). I was able to generate a license online, but there is no way to load it during the installation process. From the instruction available next to license download link it looks like it should be loaded when source tree is already running (say whaaaat? What with newcomers such as myself? no previous ST installations available...) As suggested by @ jijo_john428747962  - just add a possibility to manually point the license file ....  Anyway, my work needs to be done, so getting back to GitExtensions. EDIT: Finally got it working, the advise at the end of this thread helped: https://community.atlassian.com/t5/Sourcetree-questions/Installation-of-SourceTree-cannot-be-completed-because-of/qaq-p/621375   "Internet Options (or Internet Properties) -> [Advanced] tab `Security ` Do not save encrypted pages to disk (uncheck the checkbox)".  

            this is frustrating how could not they fix this once and for all  after all this complain 

            Thierno Diallo added a comment - this is frustrating how could not they fix this once and for all  after all this complain 

            No one should have to do all these time consuming workarounds that may or may not work. I thought Atlassian's tools were all about increasing productivity, not decreasing it. It is appalling that they've not replied to this thread yet.

            jonmcnamaradale added a comment - No one should have to do all these time consuming workarounds that may or may not work. I thought Atlassian's tools were all about increasing productivity, not decreasing it. It is appalling that they've not replied to this thread yet.

            Azarny added a comment -

            For me helped uninstalling sourcetree, and then download the latest version (2.3.5.0)...

            Disappointed as well that they don't even seem to react to this ticket.

            Azarny added a comment - For me helped uninstalling sourcetree, and then download the latest version (2.3.5.0)... Disappointed as well that they don't even seem to react to this ticket.

            Adding my five cents. Unable to use this product for five months. Submitted a ticket Jun 9th

            and was only able to successfully install source tree today.

            I had to revert all the suggestions about internet explorer.

            All you need is the magical accounts.json mentioned before file in the appropriate location:

            Users/yourUser/AppData/Local/SourceTree.

            Very disappointed with the support received for this issue.

             

            luisgarciau added a comment - Adding my five cents. Unable to use this product for five months. Submitted a ticket Jun 9th SourceTree for Windows / SRCTREEWIN-7435 and was only able to successfully install source tree today. I had to revert all the suggestions about internet explorer. All you need is the magical accounts.json mentioned before file in the appropriate location: Users/yourUser/AppData/Local/SourceTree. Very disappointed with the support received for this issue.  

            Same problem. Fresh windows 10 vm installation. Lowering IE settings and the json has not fixed it yet. I should be able to import my existing sourcetree.licence file during the install.

            andrewtatham added a comment - Same problem. Fresh windows 10 vm installation. Lowering IE settings and the json has not fixed it yet. I should be able to import my existing sourcetree.licence file during the install.

            iam having the same issue, any idea how can we get out of this?

            sreejithkalari added a comment - iam having the same issue, any idea how can we get out of this?

            The json way is not working for me. I changed both email fields to my email.

            josemariamendez added a comment - The json way is not working for me. I changed both email fields to my email.

            Trung Võ added a comment -

            how can i fix it

             

            Trung Võ added a comment - how can i fix it  

            It works!

             

            Thanks Tilfried 

            Juan José Munoz Franco added a comment - It works!   Thanks Tilfried 

            create the accounts.json file in %localappdata%\Atlassian\SourceTree with the following content

            (change YOUR-EMAIL-ADDRESS accordingly)

             

            [
            {
            "$id": "1",
            "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
            "IsDefault": false,
            "Authenticate": true,
            "HostInstance": {
            "$id": "2",
            "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
            "Host":

            { "$id": "3", "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount", "Id": "atlassian account" }

            ,
            "BaseUrl": "https://id.atlassian.com/"
            },
            "Credentials": {
            "$id": "4",
            "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
            "Username": "YOUR-EMAIL-ADDRESS",
            "Email": null,
            "AvatarURL": null,
            "AuthenticationScheme":

            { "$type": "SourceTree.Model.BasicAuthAuthenticationScheme, SourceTree.Api.Account", "Value": "Username/Password", "Name": "Basic", "Description": "Password", "HeaderValuePrefix": "Basic", "UsernameIsRequired": true }

            ,
            "Id": "YOUR-EMAIL-ADDRESS",
            "DisplayName": null
            }
            }
            ]

            Tilfried Weissenberger added a comment - create the accounts.json file in %localappdata%\Atlassian\SourceTree with the following content (change YOUR-EMAIL-ADDRESS accordingly)   [ { "$id": "1", "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity", "IsDefault": false, "Authenticate": true, "HostInstance": { "$id": "2", "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount", "Host": { "$id": "3", "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount", "Id": "atlassian account" } , "BaseUrl": "https://id.atlassian.com/" }, "Credentials": { "$id": "4", "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account", "Username": "YOUR-EMAIL-ADDRESS", "Email": null, "AvatarURL": null, "AuthenticationScheme": { "$type": "SourceTree.Model.BasicAuthAuthenticationScheme, SourceTree.Api.Account", "Value": "Username/Password", "Name": "Basic", "Description": "Password", "HeaderValuePrefix": "Basic", "UsernameIsRequired": true } , "Id": "YOUR-EMAIL-ADDRESS", "DisplayName": null } } ]

            Juan José Munoz Franco added a comment - - edited

            Same problem

            What should I do?

            Juan José Munoz Franco added a comment - - edited Same problem What should I do?

            I tried the above and a funny thing I notied is that in %localappdata%\Atlassian\SourceTree I see some files named accounts.json.20171113075309 (ie. other timestamps as well) and they hold HTML content, instead of JSON content. Seems the problem is on your server, not the client! Seems it's going to the Jira pages?!

            Tilfried Weissenberger added a comment - I tried the above and a funny thing I notied is that in %localappdata%\Atlassian\SourceTree I see some files named accounts.json.20171113075309 (ie. other timestamps as well) and they hold HTML content, instead of JSON content. Seems the problem is on your server, not the client! Seems it's going to the Jira pages?!

            Upgrading my Internet Explorer to 11 solved this issue that i had too.

            Norbert Meszaros added a comment - Upgrading my Internet Explorer to 11 solved this issue that i had too.

            Azarny added a comment -

            The .json doesn't work for me at all, still can't log in with my Atlassian account (can access it without problems in the web). 

            Will it be fixed anytime soon? Otherwise I have to search for another program to use...

            Azarny added a comment - The .json doesn't work for me at all, still can't log in with my Atlassian account (can access it without problems in the web).  Will it be fixed anytime soon? Otherwise I have to search for another program to use...

            I can't believe this is still unresolved. Don't you care about new users at all? Support doesn't know what's going on, the issue exists from May 2017.

            untit1ed NA added a comment - I can't believe this is still unresolved. Don't you care about new users at all? Support doesn't know what's going on, the issue exists from May 2017.

            I've spent hours debugging the issue of why the installer was getting stuck on a blank page when trying to use an existing account. I'd browsed through all support tickets, JIRA tickets, tampered with my Internet Explorer settings ad-nauseum. This has been an extremely frustrating experience for me, and I'm going to stop using this product after using it for five years on a Mac.

             

            The answer above with the .json configuration works like a champ, not sure why the support team was holding out on this information when the impact of the problem is a very large subset of users and installation does not work on a clean install of Windows..overally extremely poorly handled on the engineering side(requiring this prompt at install) and on the customer success side as well.

             

            Kamran Pirwani added a comment - I've spent hours debugging the issue of why the installer was getting stuck on a blank page when trying to use an existing account. I'd browsed through all support tickets, JIRA tickets, tampered with my Internet Explorer settings ad-nauseum. This has been an extremely frustrating experience for me, and I'm going to stop using this product after using it for five years on a Mac.   The answer above with the .json configuration works like a champ, not sure why the support team was holding out on this information when the impact of the problem is a very large subset of users and installation does not work on a clean install of Windows..overally extremely poorly handled on the engineering side(requiring this prompt at install) and on the customer success side as well.  

            It is in this thread, just in older posts.

            Check this link for simplicity!

            Apostolos Katranitsas added a comment - It is in this thread, just in older posts. Check this link for simplicity!

            Sukanta Roy added a comment - - edited

            I am new here can anyone tell me How to get account.json file??

            I got the file thank you.

            Sukanta Roy added a comment - - edited I am new here can anyone tell me How to get account.json file?? I got the file thank you.

            I found my mistake.

            I was putting the accounts.json and passwd file in %localappdata%\Sourcetree instead of %localappdata%\atlassian\Sourcetree.

            After using the correct path it worked!

            Apostolos Katranitsas added a comment - I found my mistake. I was putting the accounts.json and passwd file in %localappdata%\Sourcetree instead of %localappdata% \atlassian \Sourcetree. After using the correct path it worked!

            jbreault solution works like a champ! Sample accounts.json file from internet + empty passwd file, deos the job. Kudos to Jeffrey!

             

            Thanks,

            Michał

            Michał Michalec added a comment - jbreault  solution works like a champ! Sample accounts.json file from internet + empty passwd file, deos the job. Kudos to Jeffrey!   Thanks, Michał

            no need for a password file, juste the accounts.json file, it work on my 3 pc

            I'm about to deploy for my entire team.

            Martin Rivard added a comment - no need for a password file, juste the accounts.json file, it work on my 3 pc I'm about to deploy for my entire team.

            Tried multiple times but fail.

            If I run the setup file then the folder is deleted and recreated (if I haven't delete it myself, firstly). When automatically created by the installation I copy the account.json and the empty passwd there.

            Maybe I do something wrong at this point.

            My other option is to call the SourceTree.exe created by the setup procedure again with the same result!

            Apostolos Katranitsas added a comment - Tried multiple times but fail. If I run the setup file then the folder is deleted and recreated (if I haven't delete it myself, firstly). When automatically created by the installation I copy the account.json and the empty passwd there. Maybe I do something wrong at this point. My other option is to call the SourceTree.exe created by the setup procedure again with the same result!

            minnsey added a comment -

            Hi

            Re: the accounts.json workaround.

            Yes, I can confirm that placing a pre-populated accounts.json placed in %localappdata%\atlassian\Sourcetree will work and will allow you to bypass the interactive registration step. 

            Kudos to whoever first highlighted it. However please accept our apologies but understand that it was not a workaround we were in a position to advertise beforehand, sorry. 

            In order to be in compliance with the Atlassian EULA you must ensure the email address used in the file is valid, yours and associated with a valid Atlassian account.

            We continue to work with the id.atlassian.com team to implement a proper fix.

            minnsey added a comment - Hi Re: the accounts.json workaround. Yes, I can confirm that placing a pre-populated accounts.json placed in %localappdata%\atlassian\Sourcetree will work and will allow you to bypass the interactive registration step.  Kudos to whoever first highlighted it. However please accept our apologies but understand that it was not a workaround we were in a position to advertise beforehand, sorry.  In order to be in compliance with the Atlassian EULA you must ensure the email address used in the file is valid, yours and associated with a valid Atlassian account. We continue to work with the id.atlassian.com team to implement a proper fix.

            By creating the accounts.json file with this content, the installation processe finished fine

            Martin Rivard added a comment - By creating the accounts.json file with this content, the installation processe finished fine

            Not working on Windows 10 Enterprise and SourceTree 2.3.1!

            Apostolos Katranitsas added a comment - Not working on Windows 10 Enterprise and SourceTree 2.3.1!

            Sample accounts.json file below, please replace with your SourceTree registered email id

            [
            {
            "$id": "1",
            "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
            "IsDefault": false,
            "Authenticate": true,
            "HostInstance": {
            "$id": "2",
            "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
            "Host": {
            "$id": "3",
            "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
            "Id": "atlassian account"
            },
            "BaseUrl": "https://id.atlassian.com/"
            },
            "Credentials": {
            "$id": "4",
            "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
            "Username": "YOUR_EMAIL",
            "Email": null,
            "AvatarURL": null,
            "AuthenticationScheme": {
            "$type": "SourceTree.Model.BasicAuthAuthenticationScheme, SourceTree.Api.Account",
            "Value": "Username/Password",
            "Name": "Basic",
            "Description": "Password",
            "HeaderValuePrefix": "Basic",
            "UsernameIsRequired": true
            },
            "Id": "YOUR_EMAIL",
            "DisplayName": null
            }
            }
            ]

            Dheeraj Asnani added a comment - Sample accounts.json file below, please replace with your SourceTree registered email id [ { "$id": "1", "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity", "IsDefault": false, "Authenticate": true, "HostInstance": { "$id": "2", "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount", "Host": { "$id": "3", "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount", "Id": "atlassian account" }, "BaseUrl": "https://id.atlassian.com/" }, "Credentials": { "$id": "4", "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account", "Username": " YOUR_EMAIL ", "Email": null, "AvatarURL": null, "AuthenticationScheme": { "$type": "SourceTree.Model.BasicAuthAuthenticationScheme, SourceTree.Api.Account", "Value": "Username/Password", "Name": "Basic", "Description": "Password", "HeaderValuePrefix": "Basic", "UsernameIsRequired": true }, "Id": " YOUR_EMAIL ", "DisplayName": null } } ]

            I cant seem to find the account.json file to swap it from folder

             

            Martin Rivard added a comment - I cant seem to find the account.json file to swap it from folder  

            Aleksandar Popovic added a comment - - edited

            @Wiiliam robson - Not working on Windows 10 Enterprise...

            Thanks anyway.

             

            Affected Source Tree Version: 2.3.1 (newest currently).

            Aleksandar Popovic added a comment - - edited @Wiiliam robson - Not working on Windows 10 Enterprise... Thanks anyway.   Affected Source Tree Version: 2.3.1 (newest currently).

            Same problem for me... I've tried all the old versions too and no luck.

            Surely the first thing you test when you release some software is that it can be installed?

            The accounts.json trick didn't work, and I'm on a corporate network so can't fiddle with IE settings.

            Matt Badley added a comment - Same problem for me... I've tried all the old versions too and no luck. Surely the first thing you test when you release some software is that it can be installed? The accounts.json trick didn't work, and I'm on a corporate network so can't fiddle with IE settings.

            Hi all, was struggling to install SourceTree version 2.3 since yesterday. IE 11 and Windows 7 Enterprise. These steps provided above worked wonderfully...

            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

            Dheeraj Asnani added a comment - Hi all, was struggling to install SourceTree version 2.3 since yesterday. IE 11 and Windows 7 Enterprise. These steps provided above worked wonderfully... 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

            simon O added a comment -

            This is madness.

            Why would anyone trust the rest of the software if you can't even install it without a workaround.
            I have not been able to install it.

            I'm flabbergasted that this wasn't fixed asap.

            My confidence in stability/robustness/support of SouceTree is pretty low.

             

            simon O added a comment - This is madness. Why would anyone trust the rest of the software if you can't even install it without a workaround. I have not been able to install it. I'm flabbergasted that this wasn't fixed asap. My confidence in stability/robustness/support of SouceTree is pretty low.  

            @Wiiliam robson: that worked for me on Windows 7 Pro. on a corporate machine. Thx

            Michael Raith added a comment - @Wiiliam robson: that worked for me on Windows 7 Pro. on a corporate machine. Thx

            ashley added a comment -

            This solution did NOT work for me on Windows 7 Home Edition.

            ashley added a comment - This solution did NOT work for me on Windows 7 Home Edition.

            mminns thank you, ridiculous that this work around is needed, but it did work for me. Hopefully it will be fixed soon!

            jonmcnamaradale added a comment - mminns  thank you, ridiculous that this work around is needed, but it did work for me. Hopefully it will be fixed soon!

            Sarah Lu added a comment -

            Hi @jijo_john, I am using Win10 enterprise.

            Sarah Lu added a comment - Hi @jijo_john, I am using Win10 enterprise.

            Wayne Mather added a comment - - edited

            @Wiiliam robson - That still did not work for me in this corporate environment Windows 10.

            Update: I found a workaround for the next 30 days. Install SmartGIT or if you are not in a commercial environment use GitKraken to continue development.

            While not ideal at least it does not stop you dead in your tracks while Atlassian figures out how they are going to move forward.

            Wayne Mather added a comment - - edited @Wiiliam robson - That still did not work for me in this corporate environment Windows 10. Update: I found a workaround for the next 30 days. Install SmartGIT or if you are not in a commercial environment use GitKraken to continue development. While not ideal at least it does not stop you dead in your tracks while Atlassian figures out how they are going to move forward.

            The workaround suggested by Karl is correct. it worked for me. I am on windows 7. I have IE 11 with compatibility mode set to on. After that you need two files. 

            1. First file you need is accounts.json. Here is a link to the sample json file you will need. Download that and edit the EMAIL.
            2. Create an empty text file named passwd.txt.

            Put both these files in - Users/yourUser/AppData/Local/SourceTree. Now click on sourcetree icon again and this time it should completely skip the login part.

            william robson added a comment - The workaround suggested by Karl is correct. it worked for me. I am on windows 7. I have IE 11 with compatibility mode set to on. After that you need two files.  First file you need is accounts.json. Here is a link to the sample json file you will need. Download that and edit the EMAIL. Create an empty text file named passwd.txt. Put both these files in - Users/yourUser/AppData/Local/SourceTree. Now click on sourcetree icon again and this time it should completely skip the login part.

            ALOK KUMAR added a comment -

            Hi,

            I have been struggling to install the Source tree on my new laptop with Windows 7 OS. I am getting 'use an existing account' as blank. I tried all above suggestions still no luck. Any help will be appreciated.

            Thanks

            Ak

            ALOK KUMAR added a comment - Hi, I have been struggling to install the Source tree on my new laptop with Windows 7 OS. I am getting 'use an existing account' as blank. I tried all above suggestions still no luck. Any help will be appreciated. Thanks Ak

            jijoj added a comment - - edited

            Hi @sarahlu, Which Windows OS you are uisng? I have seen this problem on Win10 and Win 2012

            jijoj added a comment - - edited Hi @sarahlu, Which Windows OS you are uisng? I have seen this problem on Win10 and Win 2012

            Sarah Lu added a comment - - edited

            I installed 1.8.3 firstly, and the window display correctly. After login successfully, I installed 2.3.1 without uninstalling 1.8.3. It logged in automatically. 

            Sarah Lu added a comment - - edited I installed 1.8.3 firstly, and the window display correctly. After login successfully, I installed 2.3.1 without uninstalling 1.8.3. It logged in automatically. 

            Wayne Mather added a comment - - edited

            None of the solutions work for myself in the corporate environment I am currently in.GPO's have locked down IE that I cannot make any of the changes listed.

            • The account.json fix did not work
            • The latest/previous installation trick did not work
            • Copying entire AppData\SourceTree folder from one machine to another does not work (where source machine has a working version)

            At this moment I use sourcetree because of the great gitflow workflows. I may have to look at alternatives so I am not locked out for another day waiting for a resolution.

            Update: OS is windows 10 Enterprise 1703

             

            Wayne Mather added a comment - - edited None of the solutions work for myself in the corporate environment I am currently in.GPO's have locked down IE that I cannot make any of the changes listed. The account.json fix did not work The latest/previous installation trick did not work Copying entire AppData\SourceTree folder from one machine to another does not work (where source machine has a working version) At this moment I use sourcetree because of the great gitflow workflows. I may have to look at alternatives so I am not locked out for another day waiting for a resolution. Update: OS is windows 10 Enterprise 1703  

            Tobias Wohland added a comment - - edited

            I tried Jeffreys fix but it did not work. However, I managed to get SourceTree run. This is what I did (a mixture of this workaround and some other suggestions):

            • make compatibility changes to IE (manual)
            • set IE to default internet browser
            • uninstall/delete current SourceTree installation (if present) (Users/yourUser/AppData/Local/SourceTree)
            • install SourceTree again (blank screen was replaced by correct login window)
            • procede with installation 

            Tobias Wohland added a comment - - edited I tried Jeffreys fix but it did not work. However, I managed to get SourceTree run. This is what I did (a mixture of this workaround and some other suggestions): make compatibility changes to IE ( manual ) set IE to default internet browser uninstall/delete current SourceTree installation (if present) (Users/yourUser/AppData/Local/SourceTree) install SourceTree again (blank screen was replaced by correct login window) procede with installation 

            Karl Jones added a comment - - edited

            I have been unable to get past the logon despite trying all the suggestions. I can see the site via IE but not the installer. 

             

            Edit: I managed to get Jeffreys fix to work. I found an example accounts.json file and created an empty file called passwd. This did the trick for me

            Karl Jones added a comment - - edited I have been unable to get past the logon despite trying all the suggestions. I can see the site via IE but not the installer.    Edit: I managed to get Jeffreys fix to work. I found an example accounts.json file and created an empty file called passwd. This did the trick for me

            Thanks Jeffrey. Best Workaround yet.

            Ashwin Raman added a comment - Thanks Jeffrey. Best Workaround yet.

            Pradeep added a comment -

            Thanks Jeffrey.. Thanks a lot!! worked like a charm!!

            Pradeep added a comment - Thanks Jeffrey.. Thanks a lot!! worked like a charm!!

            Workaround provided by a coworker

             

            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.

            Jeffrey Breault added a comment - Workaround provided by a coworker   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.

            Steen Lund added a comment - - edited

            I tried all the workarounds/hacks nothing worked. 

            I have reverted to 1.6

            Accessing id.atlassian.com from Internet Explorer works fine, but login during install still does not work  

             

            Please please please ship a version that allows me to skip signing in  ASAP, or fix the login issues.

             

            Steen Lund added a comment - - edited I tried all the workarounds/hacks nothing worked.  I have reverted to 1.6 Accessing id.atlassian.com from Internet Explorer works fine, but login during install still does not work     Please please please ship a version that allows me to skip signing in  ASAP, or fix the login issues.  

            Pradeep added a comment -

            Hi Starkey,

            I am trying your hack but still cant get it installed. Let me know if I am doing anything wrong

            1) I run the ST 2.3.1 installer. Then I get the blank login Page which I close and exit the installation

            2) next When I run the ST 2.2.4 it again starts from first and shows the Blank login Page. not able to complete the setup.

            am I doing anything wrong? can you help on this pls

            Pradeep added a comment - Hi Starkey, I am trying your hack but still cant get it installed. Let me know if I am doing anything wrong 1) I run the ST 2.3.1 installer. Then I get the blank login Page which I close and exit the installation 2) next When I run the ST 2.2.4 it again starts from first and shows the Blank login Page. not able to complete the setup. am I doing anything wrong? can you help on this pls

            Previous solutions provided didn't work for us, running Windows 7 and 10.

            Solution:

            -Install ST 2.3.1 and cancel when you get to the blank login page.
            -Run the ST 2.2.4 installer, which will complete the setup
            -ST 2.3.1 should now be installed.

            Pretty hacky, but it worked for us.

            Starkey DevOps added a comment - Previous solutions provided didn't work for us, running Windows 7 and 10. Solution: -Install ST 2.3.1 and cancel when you get to the blank login page. -Run the ST 2.2.4 installer, which will complete the setup -ST 2.3.1 should now be installed. Pretty hacky, but it worked for us.

            jijoj added a comment - - edited

            While you are waiting from id.atlassian.com team, at least add the functionality for manually downloading and updating the license during the installation. Users are completly blocked on installaton itself. Many of our users are uninstalling and clearing the sourcetree data from windows Users/AppData due to other problems with sourcetree upgrade.

            jijoj added a comment - - edited While you are waiting from id.atlassian.com team, at least add the functionality for manually downloading and updating the license during the installation. Users are completly blocked on installaton itself. Many of our users are uninstalling and clearing the sourcetree data from windows Users/AppData due to other problems with sourcetree upgrade.

            Ashwin Raman added a comment - - edited

            Hi Michael,

            Our workstation's security settings are controlled and don't allow us the flexibility to update many options. 

            We have confirmed this is the security setting on our workstations but no avail. Still unable to get past the page.

            • making sure https://id.atlassian.com is NOT set to be rendered in Compatibility Mode
            • Set Cog/Internet options/Security to Medium-High

            Isn't it about time to update the installer to skip past requiring the login page while this issue is resolved?

             [UPDATE]:

            Changing the

            Cog–> Internet Options --> Security --> Internet --> Security Level = HIGH 

            fixed the issue for us.

            Ashwin Raman added a comment - - edited Hi Michael, Our workstation's security settings are controlled and don't allow us the flexibility to update many options.  We have confirmed this is the security setting on our workstations but no avail. Still unable to get past the page. making sure  https://id.atlassian.com  is NOT set to be rendered in Compatibility Mode Set Cog/Internet options/Security to Medium-High Isn't it about time to update the installer to skip past requiring the login page while this issue is resolved?   [UPDATE] : Changing the Cog–> Internet Options --> Security --> Internet --> Security Level = HIGH   fixed the issue for us.

            minnsey added a comment -

            We are currently working with the id.atlassian.com team on the issue,

            Currently please follow these workarounds:

            Workaround

            At a minimum IE needs to be configured as follows:

            Cog/Internet options/Security settings need to be enabled

            • Misc/Access data sources across domains
            • Misc/Allow META-REFRESH
            • Scripting/Active Scripting

             

            • The browser mode set to 10
            • The document mode set to 10

            These can be set using the F12 developer tools.

            Those are the settings that matter. It should also be able to set them indirectly by:

            • making sure https://id.atlassian.com is NOT set to be rendered in Compatibility Mode
            • Set Cog/Internet options/Security to Medium-High

            minnsey added a comment - We are currently working with the id.atlassian.com team on the issue, Currently please follow these workarounds: Workaround At a minimum IE needs to be configured as follows: Cog/Internet options/Security settings need to be enabled Misc/Access data sources across domains Misc/Allow META-REFRESH Scripting/Active Scripting   The browser mode set to 10 The document mode set to 10 These can be set using the F12 developer tools. Those are the settings that matter. It should also be able to set them indirectly by: making sure https://id.atlassian.com is NOT set to be rendered in Compatibility Mode Set Cog/Internet options/Security to Medium-High

            I've been using Sourcetree for years, but it's been getting worse with every release. Now I can't even log in?? This is ridiculous. Please hire a proper engineering team, the current one is a joke.

            Daniel Stockhammer added a comment - I've been using Sourcetree for years, but it's been getting worse with every release. Now I can't even log in?? This is ridiculous. Please hire a proper engineering team, the current one is a joke.

            Any update on this issue?

            Francis Monera added a comment - Any update on this issue?

            alvaro added a comment -

            Why don't you just remove that login phase during installation? 

            alvaro added a comment - Why don't you just remove that login phase during installation? 

            simon O added a comment -

            Michael, thank you for the quick and informative reply.

            You've made my decision on a GIT client much easier.

            simon O added a comment - Michael, thank you for the quick and informative reply. You've made my decision on a GIT client much easier.

            minnsey added a comment -

            The problem is 2 pronged.

            Atlassian account does not, unfortunately, currently offer a  REST or OAuth service for registration, hence Sourcetree relies on running a controlled web session to allow user's to interact with Atlassian account and detect a successful login. The WPF WebViewer control is built upon IE and inherits its configuration, some of which we can override, some we can't.

            Theoretically there are alternatives to the IE WebViewer control, but they generally involve bundling something like CEFSharp but that will considerably increase the download size.

            Having said that we are looking at all options.

            minnsey added a comment - The problem is 2 pronged. Atlassian account does not, unfortunately, currently offer a  REST or OAuth service for registration, hence Sourcetree relies on running a controlled web session to allow user's to interact with Atlassian account and detect a successful login. The WPF WebViewer control is built upon IE and inherits its configuration, some of which we can override, some we can't. Theoretically there are alternatives to the IE WebViewer control, but they generally involve bundling something like CEFSharp but that will considerably increase the download size. Having said that we are looking at all options.

            simon O added a comment - - edited

            Whats the plan? will we still need IE installed? surely reliance on IE is ridiculous.

            It would mean SourceTree isn't the solution for me.

            simon O added a comment - - edited Whats the plan? will we still need IE installed? surely reliance on IE is ridiculous. It would mean SourceTree isn't the solution for me.

            minnsey added a comment -

            There have been some recent changes to the https://id.atlassian.com that have exasperated this issue. We are working with the Team responsible for that service to get a fix in place. 

            minnsey added a comment - There have been some recent changes to the https://id.atlassian.com  that have exasperated this issue. We are working with the Team responsible for that service to get a fix in place. 

            alvaro added a comment -

            Incredible!!! This issue happens since 1.10 and still has not been solved. Not wasting a single minute configuring IE to make this work, hopefuly, as there's no guarantee the workaround posted will succeed

            alvaro added a comment - Incredible!!! This issue happens since 1.10 and still has not been solved. Not wasting a single minute configuring IE to make this work, hopefuly, as there's no guarantee the workaround posted will succeed

            danielrose added a comment -

            @Michael Minns In my case those settings are set differently via GPOs (Access data sources across domains is disabled).

            danielrose added a comment - @Michael Minns In my case those settings are set differently via GPOs (Access data sources across domains is disabled).

            Dave Cole added a comment - - edited

            It's kind of ridiculous that your own windows installer requires users to have an in-depth knowledge of configuring a separate app in order to simply install your product.  As it stands, it cannot be installed on a new Windows 10 system out of the box.

            Dave Cole added a comment - - edited It's kind of ridiculous that your own windows installer requires users to have an in-depth knowledge of configuring a separate app in order to simply install your product.  As it stands, it cannot be installed on a new Windows 10 system out of the box.

            minnsey added a comment - - edited

            HI

            After some investigation it would sem that you need to have the following settings for IE 10 (I suspect IE11 will be similar)

            Workaround

            At a minimum IE needs to be configured as follows:

            Cog/Internet options/Security settings need to be enabled

            • Misc/Access data sources across domains
            • Misc/Allow META-REFRESH
            • Scripting/Active Scripting

             

            • The browser mode set to 10
            • The document mode set to 10

            These can be set using the F12 developer tools.

            Those are the settings that matter. It should also be able to set them indirectly by:

            • making sure https://id.atlassian.com is NOT set to be rendered in Compatibility Mode
            • Set Cog/Internet options/Security to Medium-High

            minnsey added a comment - - edited HI After some investigation it would sem that you need to have the following settings for IE 10 (I suspect IE11 will be similar) Workaround At a minimum IE needs to be configured as follows: Cog/Internet options/Security settings need to be enabled Misc/Access data sources across domains Misc/Allow META-REFRESH Scripting/Active Scripting   The browser mode set to 10 The document mode set to 10 These can be set using the F12 developer tools. Those are the settings that matter. It should also be able to set them indirectly by: making sure https://id.atlassian.com is NOT set to be rendered in Compatibility Mode Set Cog/Internet options/Security to Medium-High

            I tried and could not log in to https://id.atlassian.com using IE. When I put in my e-mail address and clicked 'Next', I got error on a website:

            Oops, you've made a malformed request.

            Meanwhile on Chrome I could login no problem. Hope this helps.

            Henrik Claudelin added a comment - I tried and could not log in to https://id.atlassian.com  using IE. When I put in my e-mail address and clicked 'Next', I got error on a website: Oops, you've made a malformed request. Meanwhile on Chrome I could login no problem. Hope this helps.

            minnsey added a comment -

            Hi alturium

            Are you able to login to https://id.atlassian.com using IE?

            minnsey added a comment - Hi alturium Are you able to login to https://id.atlassian.com  using IE?

            Michael S added a comment -

            This is a problem.  Tried several workaround but still not able to get past blank screen.

            Michael S added a comment - This is a problem.  Tried several workaround but still not able to get past blank screen.

            minnsey added a comment -

            Hi

            Sourcetree relies on the WPF webview which relies on Internet Explorer, can you check you are able to login into https://id.atlassian.com using Internet Explorer?

            minnsey added a comment - Hi Sourcetree relies on the WPF webview which relies on Internet Explorer, can you check you are able to login into https://id.atlassian.com  using Internet Explorer?

            Same here.

            Fabian Moschkau added a comment - Same here.

            I'm having the same issue. Also running on Windows 7.

            Henrik Claudelin added a comment - I'm having the same issue. Also running on Windows 7.

              Unassigned Unassigned
              c462371369df Krzysztof Malec
              Affected customers:
              42 This affects my team
              Watchers:
              70 Start watching this issue

                Created:
                Updated:
                Resolved: