Github Enterprise Login - Unexpected char encountered

Joel Louie Miranda
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2019

Using a Github enterprise account on source-tree with the correct host url gives the following error and could not use source-tree properly.

 

Host url: https://github.example.com

Preferred Protocol: HTTPS or SSH

Authentication: Basic

Username: just the shortname

Clicked "Refresh Password" 

It gave the following...

 

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.

 

Please advise how can this be resolved. Sourcetree is better in my opinion.

 

Thanks

2 answers

1 vote
Xia Han
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 3, 2019

Hi Ana,

I also have similar issue, can you help on that?

Screen Shot 2019-07-04 at 10.51.56.png

Xia Han
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 3, 2019

Regarding to github desktop, I think it should forward to browser to let the user to authenticate by some SSO or similar.

Vance Feldman January 30, 2020

using SSH for enterprise accounts still fails with this error. 

Vance Feldman January 30, 2020

Found the solution. Create an access token from your enterprise account, then use that as your password. You still need to have your SSH keys setup, however. 

iosmkarim
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2021

@Vance Feldman it works

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 15, 2019

Hi Joel, welcome to the Community!

Can you send us a screenshot of your attempt at adding the Gitbug Enterprise account? I tried to reproduce your issue, but I couldn't find the option "Refresh password" (I'm on Sourcetree for Mac). 

Also, for troubleshooting purposes, can you also let us know which Sourcetree version and OS are you using?

Best regards,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events