RPC failed; HTTP 404 curl 22

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

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

1 Like

Glad we got it worked out!