Whenever I add a repository to my hosted list I get the following error when the dialog is saved and the list of hosted repositories is displayed.
'Content-Type' is an unexpected token. The expected token is "" or "'. Line2, Position 18.
Tried numerous repositories that should work, uninstalling/installing etc. Without any repositories the error disappeares.
Thanks in advance for any help,
I'm on a Windows 8 machine.
I'm also having a similar problem on Windows Server 2008 R2. In my case, this error occurs when setting up my Bitbucket account upon initial install of SourceTree.
The computer is behind a proxy server (no authentication required).
Screenshot attached. Please let me know if you'd like any further info.
Sorry, my bad. I'd accidentally configured Internet Options control panel with our proxy server that does require authentication. I've corrected that and it's now working.
It would appear that SourceTree doesn't prompt for proxy credentials upon an HTTP 407 response. Instead, it displays an error message, as above.
The authentication-required proxy server would only work when I explicitly set custom proxy server and credentials in SourceTree > Tools > Options > Network.
I hope this helps!
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
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!
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