jakubgarfield / Bonobo-Git-Server

Bonobo Git Server for Windows is a web application you can install on your IIS and easily manage and connect to your git repositories. Go to homepage for release and more info.
http://bonobogitserver.com
MIT License
1.81k stars 603 forks source link

Error 500 on push #727

Closed jagDanJu closed 7 years ago

jagDanJu commented 7 years ago

Hey Guys,

we are using the current version of Bonobo. We set it up on Windows Server 2012 with <add key="MembershipService" value="ActiveDirectory" /> authentification.

Login etc. works fine. But if we want to push a commit we get an error code 500.

If i open the *.git URL in Chrome then i get the following error message:

System.FormatException: Invalid length for a Base-64 char array or string. at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength) at System.Convert.FromBase64String(String s) at Bonobo.Git.Server.GitAuthorizeAttribute.IsUserAuthorized(String authHeader, HttpContextBase httpContext) at Bonobo.Git.Server.GitAuthorizeAttribute.OnAuthorization(AuthorizationContext filterContext) at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList'1 filters, ActionDescriptor actionDescriptor) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.b__19(AsyncCallback asyncCallback, Object asyncState) Did anyone have an Idea??

Thanks.

willdean commented 7 years ago

Is this possibly a duplicate of #704 - are there special chars in your password?

jagDanJu commented 7 years ago

Yes.. Without special chars it works!