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 guys, I am having the same problem and has pasted the errors I got on this link.
But, repasting the error here again.
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
I am able to clone to repo from Github enterprise using the below method
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anmol jain, thanks a ton for this post , i was annoyed of using github desktop app with github enterprise.... this soultion works for tortoise git also. Super solution. Thanks a ton :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please see my previous post in this thread for solution. or let me paste the solution again for reference. Please observe the first textbox in the screenshot below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It’s the personal access token that you need to generate from GitHub user profile section
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Encountered the same error message today and struggled a bit with combinations of username/email + password/PAT.
Found the solution by importing "remote repositories" in sourcetree > remote tab > Add an Account.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.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 ^^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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? ^^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.