I have a problem with GIT when I attempt to push my files, this is what happens :
$ git push -u origin dev
Counting objects: 586, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (506/506), done.
Writing objects: 100% (586/586), 36.81 MiB | 1.58 MiB/s, done.
Total 586 (delta 267), reused 40 (delta 29)
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
I've already done :
git config http.postBuffer 524288000
,
so that doesn't solve my poblem !
I found that the solution is to modify nginx config but am not using nginx .. I am working on Windows 10 and I don't see where should I increase the value of client_max_body_size
!!
Have you any idea about this problem on windows ?
What does “413 Request Entity Too Large” mean? A 413 HTTP error code occurs when the size of a client's request exceeds the server's file size limit. This typically happens when a client attempts to upload a large file to a web server, and the server responds with a 413 error to alert the client.
You got this error because the size limit on GitLab side is too low.
Login to GitLab with admin account and change these below values under Settings / General / Account and limit:
and save changes. It will fix this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With