504 errors from cgit-beta

Yasuhiro KIMURA yasu at utahime.org
Thu Nov 12 18:28:03 UTC 2020


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.

---
Yasuhiro KIMURA


More information about the freebsd-git mailing list