we had a similiar problem because the frontend http-server (an nginx) used 
proxy-buffereing (which is on by default, 1GB i think). so gitlab delivered 
the data more quickly than the client could consume it (it was over the 
internet). so the reverse proxy 'nginx' buffered the output of gitlab. and 
when the repository is too big the buffering of nginx is full and no more 
data is buffered --> you receive an error.

perhaps this could help you:

https://github.com/sameersbn/docker-gitlab/issues/226

if you are using an nginx as frontend server, you should disable 
proxy-buffering.

Am Mittwoch, 13. Mai 2015 10:05:30 UTC+2 schrieb GREGORY BOUE:
>
> Thanks you a lor Ulrich.
>
> I didn't explain but the goal of this is to resolve a 502 error when 
> cloning big project from external connection :
>
> *Cloning into 'my-project'...*
>
> *error: RPC failed; result=22, HTTP code = 502*
>
> *fatal: The remote end hung up unexpectedly*
> We already raise the timeout value but it's not a workaround...
> Do you have any idea to resolve this error ?
>
> Thanks you
>
>
> Le mardi 12 mai 2015 16:35:23 UTC+2, GREGORY BOUE a écrit :
>>
>> Hi,
>>
>> I did a lot of searches on internet but I didn't find a solution so I 
>> post my question here.
>>
>> In my company, there is Gitlab on server Ubuntu 12.04. It's reachable 
>> throught an apache frontend (Apache 2.2.23).
>> The url of the frontend is : *http://frontend.com/ 
>> <http://frontend.com/>* 
>> A reverse proxy has been configured in httpd.conf of apache frontend and 
>> the gitlab server is reachable from this url : 
>> *http://frontend.com/sources/ <http://frontend.com/sources/> *On the 
>> gitlab server, the *relative_root_url* has been set to /sources.
>> I created my ssh key and associated it to my gitlab account and it's ok.
>>
>> When i try to do this command it's fine :
>> *git clone http://*
>>
>> *frontend.com/sources/mygroup 
>> <http://frontend.com/sources/mygroup>/myproject.git*When i try ssh 
>> connection via gitlab server ip it's fine :
>> *git clone git@X.X.X.X**:mygroup/myproject.git*
>>
>> But when i try ssh connection through the apache frontend  :
>> *git clone git@**frontend.com <http://frontend.com>*
>> *:mygroup/myproject.git*
>> or
>> *git clone git@**frontend.com <http://frontend.com>*
>> *:sources/mygroup/myproject.git*
>>
>> The password for git on frontend.com it's asked. 
>>
>> I don't know how to configure my frontend and/or my gitlab server to 
>> connect to gitlab through frontend via ssh, Can anyone help me ?
>>
>> Thanks you.
>>
>

-- 
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/3f067738-0d38-40ba-84c4-95905ce6d2a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to