Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2020 07:09:19 +0000
From:      marco <freebsd-git@lordsith.net>
To:        freebsd-git@freebsd.org
Subject:   Re: 504 errors from cgit-beta
Message-ID:  <20201113070919.GA88016@freedom.nl>
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 03:27:09AM +0900, you (Yasuhiro KIMURA) sent the following to [freebsd-git] :
> From: Davíð 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/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.
> 

Hadn't pulled src in 4 days and was able to pull this morning.

Resolving deltas: 100% (6446/6446), completed with 280 local objects.
>From https://cgit-beta.freebsd.org/src
   faf24c828d51..92a56119f930  main               -> origin/main
   26fc406ac84a..0b468b5667b6  stable/11          -> origin/stable/11
   02dd9c64b877..b6c969fd490d  stable/12          -> origin/stable/12
 + 8b63ade1e5fb...88178d009c02 refs/notes/commits -> refs/notes/origin/commits  (forced update)
Updating faf24c828d51..92a56119f930

However trying to open https://cgit-beta.freebsd.org/src/ in a browser is returning 404s

[~] curl -4 -L -v -o /dev/null -i https://cgit-beta.freebsd.org/src
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 96.47.72.101:443...
* Connected to cgit-beta.freebsd.org (96.47.72.101) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /usr/local/share/certs/ca-root-nss.crt
  CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [112 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2568 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=cgit-beta.freebsd.org
*  start date: Oct  8 20:14:08 2020 GMT
*  expire date: Jan  6 20:14:08 2021 GMT
*  subjectAltName: host "cgit-beta.freebsd.org" matched cert's "cgit-beta.freebsd.org"
*  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
*  SSL certificate verify ok.
} [5 bytes data]
> GET /src HTTP/1.1
> Host: cgit-beta.freebsd.org
> User-Agent: curl/7.72.0
> Accept: */*
>
{ [5 bytes data]
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not found
< Server: nginx
< Date: Fri, 13 Nov 2020 07:06:55 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Last-Modified: Fri, 13 Nov 2020 07:06:55 GMT
< Expires: Thu, 01 Jan 1970 00:00:05 GMT
<
{ [1094 bytes data]
100  1082    0  1082    0     0   3127      0 --:--:-- --:--:-- --:--:--  3118
* Connection #0 to host cgit-beta.freebsd.org left intact


-- 
Marco van Lienen -- FreeBSD enthusiast
https://keybase.io/scarcry , GnuPG id: 8580E6CB
"The Tuck Pendleton machine...zero defects."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201113070919.GA88016>