/ Zope / Apsis / Pound Mailing List / Archive / 2010 / 2010-04 / Git over http backend

[ << ] [ >> ]

[ Help - Pound not redirecting to backend servers / ... ] [ How to direct to backend server application / ... ]

Git over http backend
Agustin Henze <tin(at)sluc.org.ar>
2010-04-02 20:37:35 [ SNIP ]
Hi, I have a git over http server (apache-WebDav) and when i push over
https (pound-> apache) the following error occurs. It works directly
with apache(http).

Apr  2 13:38:25 trapito pound: (b7994b90) e500 error copy client cont to
192.168.1.5:80/PUT
/git/Dragora.git/objects/c6/18ddf96228f1fb2d69e3b463af7843f3cb24b6_be7147c79622dad693d3b56547ce223f94b5f4a7
HTTP/1.1: Connection reset by peer (20.671 sec)

The previous log is in the server, in the client is:

git push origin master
Fetching remote heads...
  refs/
  refs/tags/
  refs/heads/
updating 'refs/heads/master'
  from 1c3ed173e9006fcbb5a0dc985e2b67ab05dd7283
  to   554f3ef82e0ed243d6b1bfe0f773eaf9ad0e7730
    sending 34 objects
PUT 3989e74545c4b4499652764809da6db66de2ceda failed, aborting (22/500)
Updating remote server info
fatal: git-http-push failed


My config:

ListenHTTPS
  Address 201.235.xxx.xx
  Port  443
  xHTTP   2

  Cert "/etc/pound/server.pem"
  AddHeader "X-Forwarded-Proto: https"
  HeadRemove "X-Forwarded-Proto"
  RewriteLocation 2
  RewriteDestination 1

  Service
      HeadRequire "Host: .*mysite*"
      BackEnd
          Address 192.168.1.5
          Port    80
      End
  End

This happens when the push is greater than 8MB approx. When push is a
little, it works. I tried to increased TimeOut and still not working.
Anyway i can't understand the problem.

Any suggestions?
Thanks

-- 
TiN

Attachments:  
signature.asc application/pgp-signature 199 Bytes

Re: [Pound Mailing List] Git over http backend
Robert Segall <roseg(at)apsis.ch>
2010-04-12 17:36:57 [ SNIP ]
On Fri, 2010-04-02 at 15:37 -0300, Agustin Henze wrote:
> Hi, I have a git over http server (apache-WebDav) and when i push over
> https (pound-> apache) the following error occurs. It works directly
> with apache(http).
> 
> Apr  2 13:38:25 trapito pound: (b7994b90) e500 error copy client cont to
> 192.168.1.5:80/PUT
/git/Dragora.git/objects/c6/18ddf96228f1fb2d69e3b463af7843f3cb24b6_be7147c79622dad693d3b56547ce223f94b5f4a7
HTTP/1.1: Connection reset by peer (20.671 sec)
> 
> The previous log is in the server, in the client is:
> 
> git push origin master
> Fetching remote heads...
>   refs/
>   refs/tags/
>   refs/heads/
> updating 'refs/heads/master'
>   from 1c3ed173e9006fcbb5a0dc985e2b67ab05dd7283
>   to   554f3ef82e0ed243d6b1bfe0f773eaf9ad0e7730
>     sending 34 objects
> PUT 3989e74545c4b4499652764809da6db66de2ceda failed, aborting (22/500)
> Updating remote server info
> fatal: git-http-push failed
> 
> 
> My config:
> 
> ListenHTTPS
>   Address 201.235.xxx.xx
>   Port  443
>   xHTTP   2
> 
>   Cert "/etc/pound/server.pem"
>   AddHeader "X-Forwarded-Proto: https"
>   HeadRemove "X-Forwarded-Proto"
>   RewriteLocation 2
>   RewriteDestination 1
> 
>   Service
>       HeadRequire "Host: .*mysite*"
>       BackEnd
>           Address 192.168.1.5
>           Port    80
>       End
>   End
> 
> This happens when the push is greater than 8MB approx. When push is a
> little, it works. I tried to increased TimeOut and still not working.
> Anyway i can't understand the problem.
> 
> Any suggestions?
> Thanks

Check your network setup. TCP/IP will often throttle long transfers,
leading to time-outs.
-- 
Robert Segall
Apsis GmbH
Postfach, Uetikon am See, CH-8707
Tel: +41-32-512 30 19


MailBoxer