Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2020 17:33:12 +0800
From:      Li-Wen Hsu <lwhsu@freebsd.org>
To:        Yasuhiro KIMURA <yasu@utahime.org>
Cc:        freebsd-git@freebsd.org
Subject:   Re: 504 errors from cgit-beta
Message-ID:  <CAKBkRUxqVSccn_9KJAJZW0po-1C%2B5H5EqTPsz=rM-4=cUrOLUw@mail.gmail.com>
In-Reply-To: <20201113.032709.2108746957258946268.yasu@utahime.org>
References:  <20201112155659.GQ913@mail> <20201113.032709.2108746957258946268.yasu@utahime.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 13, 2020 at 2:28 AM Yasuhiro KIMURA <yasu@utahime.org> wrote:
>
> From: Dav=C3=AD=C3=B0 Steinn Geirsson <david@isnic.is>
> Subject: 504 errors from cgit-beta
> Date: Thu, 12 Nov 2020 15:56:59 +0000
>
> > We are getting frequent 504 errors when running `git fetch` against an
> > existing checkout of `ports.git` from https://cgit-beta.freebsd.org/por=
ts.git:
> >
> > ```
> > $ git fetch cgit-beta
> > error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 5=
04
> > fatal: the remote end hung up unexpectedly
> > ```
>
> I experienced same error when accessing Emacs git remository with
> HTTPS. Following is bug report that I submitted to report the issue.
>
> https://savannah.nongnu.org/support/?110322
>
> As you can see, site administrator fixed the issue by icreasing
> `fastcgi_read_timeout` and `proxy_read_timeout` parameters of
> nginx. Since cgit-beta also uses nginx this may also fix your
> error. In my case, however, access always failed and never
> succeeded. So cause may be different from the one of my case.

Thanks, I have checked this, indeed some requests' handlers don't have
a long enough timeout setting and I've relaxed them.  Hope this solves
some people's issues. Please check it again, and if it still fails for
you, we might need to have more information to debug.

Li-Wen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUxqVSccn_9KJAJZW0po-1C%2B5H5EqTPsz=rM-4=cUrOLUw>