RPC失败结果22 http代码404

问题描述 投票:10回答:4

我使用Bonobo Git Server,一切都很好。我将所有旧的SVN回购转移到GIT,即使是大回购(约3.5 GB)+760提交,“git svn clone”和“git push”工作得非常好。

但是没有一个小存储库:它只有3Mb(未压缩),只有1个提交。我总是得到的信息是:

efrror: RPC Failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly

我已经按照推荐的qazxsw poi改变了bonobo web配置,我已经做了qazxsw poi。

那么,任何人都有任何其他线索?

git bonobo
4个回答
7
投票

总部设在here

这是解决方案

解决方案:修改Bonobo.Git.Server(C:\ initpub \ wwwroot \ Bonobo.Git.Server \ Web.config)根目录中的web.config文件,并修改以下行的限制:

this config command

在这两种情况下,“102400”被替换为“999999999”并且推动工作!


0
投票

我只是修改了我的文件并再次提交代码,一切正常。


0
投票

我尝试使用带有Anaconda3的gcloud SDK工具从Google Cloud上的源代码库中克隆时出现此问题:

http://gisgeek.blogspot.com/2012/03/bonobo-git-server-remote-end-hung-up.html

幸运的是,我能够通过切换到禁用Windows Defender防火墙(包括其他防病毒软件)并切换到conda中的基础环境来解决这个问题。

PS:我之前遇到此问题的环境是conda py 2.7环境(而基本环境是conda py 3.x),因此它可能是由于权限(Windows为0)或不兼容问题造成的。


0
投票

当我尝试将我的本地git repo推送到gitlab时,我遇到了类似的错误。完整的错误消息是:

<system.web>
   <httpRuntime maxRequestLength="102400" /> 


<security>
   <requestFiltering>
     <requestLimits maxAllowedContentLength="102400" /> 

我按照fatal: The remote end fhung up unexpectedly atal: early EOF fatal: unpack-objects failed ERROR: (gcloud.source.repos.clone) Command '[u'git', u'clone', u'https://source.developers.google.com/p/propane-highway-202915/r/arise-ds-program', u'C:\\WINDOWS\\system32\\arise-ds-program', u'--config', u'credential.helper=', u'--config', u'credential.helper=!gcloud.cmd auth git-helper [email protected] --ignore-unknown $@']' returned non-zero exit status 128 解决了这个问题。具体来说,我在远程repo URL之后添加了一个Counting objects: 3, done. Delta compression using up to 64 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 288 bytes | 0 bytes/s, done. Total 3 (delta 0), reused 0 (delta 0) error: RPC failed; result=22, HTTP code = 404 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date

this answer

之后,我可以成功推送到远程gitlab repo。

© www.soinside.com 2019 - 2024. All rights reserved.