# RPC failed; HTTP 404 curl 22

**URL:** <https://forum.gitea.com/t/rpc-failed-http-404-curl-22/2010>\
**Category:** Install/Maintain/Configure\
**Created:** [March 19, 2020, 4:28pm UTC](https://forum.gitea.com/t/rpc-failed-http-404-curl-22/2010 "2020-03-19T16:28:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![monky](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@monky](https://forum.gitea.com/u/monky)\
**Post date:** [March 19, 2020, 4:28pm UTC](https://forum.gitea.com/t/rpc-failed-http-404-curl-22/2010/1 "2020-03-19T16:28:29Z")

</div>

Hello, due to coronavirus, our company needs to work from home. And for this we need to host our projects in Git. We thought that Gitea would be a good tool to start making developments faster.

Installing it on our centOS 7 server we have the following error

```
git clone https://gitea.quanticoweb.com/juanantonio/test.git
Cloning into 'test'...
error: RPC failed; HTTP 404 curl 22 The requested URL returned error: 404 Not Found
fatal: the remote end hung up unexpectedly

```

I think the path should be fine, since when the repository is private it asks for credentials.

Could someone help us?

I feel my English as a translator, I can read it, but not write it for now

Thank you very much for the tool and for the help.

Greetings

---

<div class="post-metadata">

**Author:** ![monky](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@monky](https://forum.gitea.com/u/monky)\
**Post date:** [March 19, 2020, 6:59pm UTC](https://forum.gitea.com/t/rpc-failed-http-404-curl-22/2010/2 "2020-03-19T18:59:39Z")

</div>

Hi,  
We found the problem, an user from discord can help us

Cpanel’s ModSecurity had filtering Post Request where extension contains .git or something similar.

Thanks for help us

---

<div class="post-metadata">

**Author:** ![jolheiser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/jolheiser/32/4807_2.png) [@jolheiser](https://forum.gitea.com/u/jolheiser)\
**Post date:** [March 19, 2020, 7:33pm UTC](https://forum.gitea.com/t/rpc-failed-http-404-curl-22/2010/3 "2020-03-19T19:33:53Z")

</div>



---

<div class="post-metadata">

**Author:** ![jolheiser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/jolheiser/32/4807_2.png) [@jolheiser](https://forum.gitea.com/u/jolheiser)\
**Post date:** [March 19, 2020, 7:34pm UTC](https://forum.gitea.com/t/rpc-failed-http-404-curl-22/2010/4 "2020-03-19T19:34:10Z")

</div>

Glad we got it worked out!
