504 errors from cgit-beta

Davíð Steinn Geirsson david at isnic.is
Thu Nov 19 09:34:41 UTC 2020


On Fri, Nov 13, 2020 at 05:33:12PM +0800, Li-Wen Hsu wrote:
> On Fri, Nov 13, 2020 at 2:28 AM Yasuhiro KIMURA <yasu at utahime.org> wrote:
> >
> > From: Davíð Steinn Geirsson <david at 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/ports.git:
> > >
> > > ```
> > > $ git fetch cgit-beta
> > > error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
> > > 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.

Sorry for the late reply, I can confirm we have not seen this issue since
this change was made. Thanks!


> 
> Li-Wen
> _______________________________________________
> freebsd-git at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-git
> To unsubscribe, send any mail to "freebsd-git-unsubscribe at freebsd.org"

-Davíð
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-git/attachments/20201119/3018874a/attachment.sig>


More information about the freebsd-git mailing list