Bonobo Git Server Authentication Error, Why?

Downloading and installing Bonobo Git Server (6.0.0.532). I followed the IIS authentication settings:

enter image description here

I am creating a repository via rescan directory.

I create a user (login: qqq, pass: qqq)

When I try to clone a repository via TortoiseGit, I see the following credentials window:

enter image description here

I have set the credentials of the created user [qqq, qqq]. And at this point I got the authentication error:

enter image description here

So the question is: why is this happening and how to fix it?

PS: Anonymous access (if installed) works fine.

UPD1

I used the command line and set GIT_CURL_VERBOSE = 1 for more info, but still didn't work. Command line output: enter image description here

+3


source to share


3 answers


People often solve these problems with the Git command line and run it set GIT_CURL_VERBOSE=1

before they clone Git.



This can give you an idea of ​​what's going on. As per your screenshot, git clone

it took over 30 seconds for it, which doesn't seem like a simple authentication failure.

+1


source


0


source


Does your password have a percent sign (%) in it?

I had the same problem, so I downloaded the source code and traced it.

In the method, GitAuthorizeAttribute.IsUserAuthorized()

the username and password are extracted from the decoded auth header using Uri.UnescapeDataString()

. I had %42

my password converted to B

before trying to authenticate, which is what caused it. I changed my password so it doesn't use the% sign anymore and it works fine.

Note that this is only a problem when authenticating with Git. The percent sign in the password works fine, just log into the BonoboGitServer application itself.

I opened the issue on the BonoboGitServer GitHub page. https://github.com/jakubgarfield/Bonobo-Git-Server/issues/704

0


source







All Articles