Gitlab push failure with “RPC failed”

Gitlab push failure with “RPC failed”

If you experience push failures over http, especially with large size commits, then try to increase the maximum client body size in NGINX configuration.

Add client_max_body_size 100M;  in your gitlab server block.

Here is the terminal output when the push fails.

 

Leave a Reply