Can't install SourceTree due to login problems

I've read various topics on that problem here and already performed all proposed solutions to no success.

 

The problem is when I'm installing sourcetree it asks me to login to my account. This action fails in IE (I have 11.0.7).

When I try to access id.atlassian.com with IE it also fails after the login is accepted. Devtools shows the problem in the `require` object.

 

Specifically:

SCRIPT5009: 'require' is undefined

File: require-config.js, Line: 1, Column: 1

In two callbacks (one to some cdn service and the second is callback?email=...&state=... which I think is supposed to perform login itself.

 

Of course, everything works fine in anything but IE.

 

How to install SourceTree in that case?

2 answers

1 accepted

1 vote

Please see https://jira.atlassian.com/browse/SRCTREEWIN-7244

The login process relies on IE, as this underpins the WF webview.

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

Yes, that worked.

Several important notes:

1. Restart IE after changing Misc and Scripting behaviour

2. The login with Google won't work in that case. But atlassian ID finally worked.

And in my case setup failed (suspended after OAuth setup step). So I did not even saw other options in installer. But somehow the application works now :)

What a hell are you doing, guys?! Please just forget about IE.

Still can't login while install process.

Where is Misc/Allow META-REFRESH?

image.png

Konstantin, IE is inevitable ... unfortunately. If you read the provided issue link - there's a detailed explanation why is it so.

 

Regarding your last question:

Misc stands for Miscellaneous. But this is wrong menu, you should try `Security` tab and `Custom level` button.

I have maybe the same issue: 3 day I can't install Sourcetree. Only see the spinner on the login popup.login.png

Yes, this is exactly what I had. Consider trying the same solution.

Thanks Dmitry. But I have no luck to login anymore within SourceTree. But within IE I can go to https://id.atlassian.com and successfully log in. Maybe I need to use git bash instead UI.

Sorry to hear that. Hope that would be a nice esteem for Atlassian team to make things better

od I'm New Here Dec 14, 2017

I have the same issue as Aliaksandr. I can't install because installation hangs on login. The spinner does not stop spinning.

I'm using Windows7 and IE 11.

Installation only succeeds when I'm logged in as administrator. But then I cannot use the installation as a "normal" user.

Any suggestions?

I would suspect our Admin user has different IE configuration to your standard user.

please check the IE configuration for your standard user against https://jira.atlassian.com/browse/SRCTREEWIN-7244

This is all very well, but the settings for IE are managed by our system administrator, and the default proxy is extremely strict.

We have another proxy for development, which is less strict, but it cannot be set globally, only for programs that do not use default Windows proxy.

The answer to work around proxy completely is here:

StackOverflow question 36467893 - sourcetree-installation-atlassian-login-stuck

It involves populating an accounts.json file and adding a blank passwd.txt file to %APPDATA%\..\Local\Atlassian\SourceTree at the point the installer blocks on the login popup, Re-run the installer and skips the login entirely.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

647 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you