Git error: RPC failed; result=22, HTTP code = 404
I just ran into a very similar error (for which this answer is the top google result) - the solution was in a comment by @Liviu Chircu
The solution was to put the .git
on the end of the url
git clone http://myURL/projectnameCloning into 'projectname'...error: RPC failed; result=22, HTTP code = 404fatal: The remote end hung up unexpectedly
However:
git clone http://myURL/projectname.git
succeeded.
The strange thing is that the original URL without .git
succeeded on two linux machines and a windows desktop, but failed on a third linux machine. Including .git
makes it work on all machines.
I have just added .git at the end of the git URL while cloning .It's worked
Your repository may be to big, Try to upload in chunks, like using GIT to revert back halfway in the history or so in a new branch, push that, then push the latest commits.
Probably a better workaround, but this is what I was able to do to quickly solve my issue
I was able to push 108.61 MiB, but not 144.64 MiB
Hope this helps.