无法连接到Bonobo Windows Server 2012上的远程存储库

时间:2015-08-06 19:40:22

标签: git bonobo

我在Windows 2012服务器上成功安装了Bonobo,没有任何问题。我通过Web界面创建了一个repo,但是当我尝试通过Git添加远程仓库时,我收到以下错误:

  

致命:https://app.mydomain.com/Bonobo.Git.Server/project1.git/info/refs无效:这是一个git存储库吗?

以下是Bonobo错误日志在Bonobo.Git.Server.Errors.log中显示的内容:

  

本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   w3wp.exe错误:0:在Global.asax中发生错误并捕获 - System.FormatException:Base-64 char数组或字符串的长度无效。      在System.Convert.FromBase64_Decode(Char * startInputPtr,Int32 inputLength,Byte * startDestPtr,Int32 destLength)      在System.Convert.FromBase64CharPtr(Char * inputPtr,Int32 inputLength)      在System.Convert.FromBase64String(String s)      在Bonobo.Git.Server.GitAuthorizeAttribute.OnAuthorization(AuthorizationContext filterContext)      在System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext,IList 1 filters, ActionDescriptor actionDescriptor) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__19(AsyncCallback asyncCallback, Object asyncState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase 1.Begin(AsyncCallback回调,对象状态,Int32超时)      在System.Web.Mvc.Async.AsyncResultWrapper.Begin [TResult](AsyncCallback回调,对象状态,BeginInvokeDelegate beginDelegate,EndInvokeDelegate 1 endDelegate, Object tag, Int32 timeout) at System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) at System.Web.Mvc.Controller.<BeginExecuteCore>b__1c(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid 1.CallBeginDelegate(AsyncCallback回调,对象callbackState)      在System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase 1.Begin(AsyncCallback callback, Object state, Int32 timeout) at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TState](AsyncCallback callback, Object callbackState, BeginInvokeDelegate 1 beginDelegate,EndInvokeVoidDelegate 1 endDelegate, TState invokeState, Object tag, Int32 timeout, SynchronizationContext callbackSyncContext) at System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase 1.Begin(AsyncCallback回调,对象状态,Int32超时)      at System.Web.Mvc.Async.AsyncResultWrapper.Begin [TState](AsyncCallback callback,Object callbackState,BeginInvokeDelegate 1 beginDelegate, EndInvokeVoidDelegate 1 endDelegate,TState invokeState,Object tag,Int32 timeout,SynchronizationContext callbackSyncContext)      在System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext,AsyncCallback callback,Object state)      在System.Web.Mvc.MvcHandler.b__4(AsyncCallback asyncCallback,Object asyncState,ProcessRequestState innerState)      在System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid 1.CallBeginDelegate(AsyncCallback callback, Object callbackState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase 1.Begin(AsyncCallback回调,对象状态,Int32超时)      at System.Web.Mvc.Async.AsyncResultWrapper.Begin [TState](AsyncCallback callback,Object callbackState,BeginInvokeDelegate 1 beginDelegate, EndInvokeVoidDelegate 1 endDelegate,TState invokeState,Object tag,Int32 timeout,SynchronizationContext callbackSyncContext)      在System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext,AsyncCallback回调,对象状态)      在System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()      在System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean&amp; completedSynchronously)   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...   本机库预加载器正在尝试加载本机SQLite库“C:\ inetpub \ wwwroot \ Bonobo.Git.Server \ bin \ x64 \ SQLite.Interop.dll”...

我正在使用默认表单身份验证。任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:1)

您的参考不正确。从命令行添加远程按如下方式:

git remote add origin https://app.mydomain.com/Bonobo.Git.Server/project1.git