RPC Failed result 22 http code 404

后端 未结 4 969
滥情空心
滥情空心 2020-12-19 00:47

Im using Bonobo Git Server and everything looks fine. Im movin all my old SVN repos to GIT and even with big repos (about 3.5 GB) with +760 commits the \"git svn clone\" and

相关标签:
4条回答
  • 2020-12-19 01:02

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

    This is the solution

    Solution: Modify the web.config file in the root of Bonobo.Git.Server (C:\initpub\wwwroot\Bonobo.Git.Server\Web.config) and up the limits on the following lines:

    <system.web>
       <httpRuntime maxRequestLength="102400" /> 
    
    
    <security>
       <requestFiltering>
         <requestLimits maxAllowedContentLength="102400" /> 
    

    In both cases "102400" was replaced with "999999999" and the push worked!

    0 讨论(0)
  • 2020-12-19 01:11

    I just modified my file and commit the code again, everything was working fine.

    0 讨论(0)
  • 2020-12-19 01:12

    I had this issue while trying to clone from a source repo on Google Cloud using the gcloud SDK tool with Anaconda3:

    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 --account=steve.deve89@gmail.com --ignore-unknown $@']' returned non-zero exit status 128
    

    Fortunately, I was able to solve this by switching to the disabling Windows Defender Firewall (including other anti-virus software) and switching to a base environment in conda.

    PS: The environment I got this issue earlier was a conda py 2.7 environment (while the base env was conda py 3.x), so it might be as a result of permissions (0n Windows), or incompatibility issues.

    0 讨论(0)
  • 2020-12-19 01:17

    I have met a similar error when I try to push my local git repo to gitlab. The complete error message is:

    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
    

    I solved this issue by following this answer. Specifically, I add a .git after the remote repo URL:

    # add .git suffix to the ORIGINAL_URL
    git remote set-url origin ORIGINAL_URL.git
    

    After that, I can push to remote gitlab repo successfully.

    0 讨论(0)
提交回复
热议问题