Kallithea , uwsgi and nginx

Mads Kiilerich mads at kiilerich.com
Wed Jun 14 08:30:37 UTC 2017


On 06/13/2017 12:27 PM, Jani Tiainen wrote:
> Hi,
>
> I'm trying to get Kallithea to work with uwsgi and nginx. 
> Unfortunately for some reasons HG pull requests seem to fail from time 
> to time, specially if there is nothing to pull.
>
> Logs do indicate following:
>
> 2017/06/13 13:23:58 [error] 12111#0: *3294 recv() failed (104: 
> Connection reset by peer) while reading response header from upstream, 
> client: 10.121.7.75, server: kallithea.local, request: "GET 
> /myrepo?cmd=getbundle HTTP/1.1", upstream: 
> "http://127.0.0.1:5000/myreoicmd=getbundle", host: "kallithea.local"
>

Can you say more about your setup? That message is from the nginx log 
... which serve as a proxy?

It indicates you have a WSGI server running on port 5000 - is that uwsgi?

To locate where the problem is: Does it work if you access port 5000 
directly?

/Mads



More information about the kallithea-general mailing list