Hi all. I have read a number of the post on this site regarding the subject, so if I'm overlooking something I apologize but I have tried to resolve this before asking the question.I am using SourceTree 3.1.2. I am trying to connect to my companies GitHub Enterprise account. However, I'm not able to get anywhere. Putting the things I've tried below. Step by step instructions would be appreciated, cause my bumbling attempts aren't working.
Add Account
Clone
Hi Dustin!
Welcome to the Community and thanks for your super detailed description, this really helps us get faster to the root cause of this issue. I can see that you're having difficulties trying to connect and clone from your Github Enterprise account, there're a few more things we need to know to continue helping you with this:
Let us know! Once we get the responses we'll be able to troubleshoot this issue with you.
Kind regards,
Ana
Good morning Ana, I'm running Windows 10 Pro 64-bit. As I mentioned I'm trying to get my 3.1.2 SourceTree to connect to a GitHub Enterprise account. So Browser is not really part of the equation. I am able to clone the repository using GitHub Desktop, but not SourceTree. I'm actually hoping to get my team to switch from GitHub Desktop to SourceTree, but not being able to connect is a bit of a hurdle . Credentials is the one area I'm unsure about. I've tried using both my GitHub login/password, as well as the Personal Access Token I've created specifically for Stash. Neither works. I have created multiple PAT to ensure that I'm using the correct string, but neither works. I am also positive I'm using the correct username/password.
In both cases I get the below message.
Hi guys, I am having the same problem and has pasted the errors I got on this link.
But, repasting the error here again.
https://community.atlassian.com/t5/Sourcetree-questions/Github-Enterprise-Login-Unexpected-char-encountered/qaq-p/1079585
Unable to parse the response from the host service.Please check the host url details for this account. It's likely that Sourcetree tried to contact an unrecognized service.Unexpected character encountered while parsing value: <. Path ", line 0, postion 0.
I am really hoping this can be fixed soon please
Hello Ana. I was wondering if there has been any update following the additional information I've provided? I used SourceTree extensively at my prior company and I think it would greatly benefit my new team. I'd love to work with you to resolve this issue and be able to show my team the benefits of your product.
Thanks
I have exactly the same problem, the only difference is that I use Windows Enterprice but I don't think it's important.
As additional information, I use Symantec double factor authentication (VIP Access). I think that could be the problem ...
I am able to clone to repo from Github enterprise using the below method
Thanks, this solved my issue!
+1 @Anmol Jain suggestion solved my issue too.
Can someone from Atlassian put this in the documentation perhaps? Seems like a very common situation to require digging through forums instead of the official docs on how to connect.
I am encountering same problem as the OP described on a clean installation of Windows 10 and Source Tree (in May 2020. so obviously nothing was fixed ). I was able to clone the remote repository but I am not able to push to it, described situation happens.
@Anmol Jain and Team,
I am still not able to add the remote of GHE under ST.
I am injecting this under remote : https://MYTOKENINPLAINTEXT@github.com/MYCLIENT.gitSame thing when I try to add an account - wrong URL or user not recognized
I am injecting this under remote : https://MYTOKENINPLAINTEXT@github.com/MYCLIENT.git
Same thing when I try to add an account - wrong URL or user not recognized
Note - I activated the SSO on the Token on the GHE side of things.
Message : Userm / Email was not found
Thanks ^^
Anyone any idea please?
@Ana Retamal any idea please?
I think I found a solution by inserting a Source Tree SSH key in Github, then activating SSO on it under GHE, and finally simply cloning repos in SSH under ST. Let me know if this works for you folks? ^^
It looks like you're new here. Sign in or register to get started.