on client side 
git config http.postBuffer 524288000

on server side
/opt/gitlab/embedded/conf/nginx.conf
client_max_body_size 1G;

/etc/gitlab/gitlab.rb
#buffer
gitlab_rails['git_max_size'] = 524288000
gitlab_rails['git_timeout'] = 300

still the same issue.



On Tuesday, 10 June 2014 11:06:53 UTC+2, Sytse Sijbrandij wrote:
>
> Please have a look at client_max_body_size in the Nginx config 
>
> https://github.com/gitlabhq/gitlabhq/blob/master/lib/support/nginx/gitlab#L30 
>
> On Tue, Jun 10, 2014 at 10:13 AM, matteo piazza <mapi...@gmail.com 
> <javascript:>> wrote: 
> > push of a project trough http fails 
> > 
> > 
> > If I push just a file of small change everything is fine but with a 
> large 
> > number of objects the push fails. 
> > 
> > I have already tried with 
> > 
> > git config --global http.postBuffer 524288000 
> > 
> > 
> > I not able to find any log useful to debug the issue. 
> > 
> > root@asterisk-cen-1:/var/www/novaspo2# git push -u -f origin master 
> > Username: 
> > Password: 
> > Counting objects: 689, done. 
> > Delta compression using up to 4 threads. 
> > Compressing objects: 100% (68/68), done. 
> > Writing objects: 100% (689/689), 4.69 MiB, done. 
> > Total 689 (delta 615), reused 689 (delta 615) 
> > error: RPC failed; result=22, HTTP code = 417 
> > fatal: The remote end hung up unexpectedly 
> > fatal: The remote end hung up unexpectedly 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "GitLab" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to gitlabhq+u...@googlegroups.com <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/gitlabhq/47934c5a-8e2a-4fbc-959f-f999066a202a%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/a0dceedf-07d2-428d-9350-87b5b7456256%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to