From owner-freebsd-git@freebsd.org Fri Nov 13 07:09:31 2020 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9894D2D0B7F for ; Fri, 13 Nov 2020 07:09:31 +0000 (UTC) (envelope-from freebsd-git@lordsith.net) Received: from outbound.soverin.net (outbound.soverin.net [IPv6:2a01:4f8:fff0:2d:8::215]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CXV2f3rHrz3HSy for ; Fri, 13 Nov 2020 07:09:30 +0000 (UTC) (envelope-from freebsd-git@lordsith.net) Received: from smtp.freedom.nl (unknown [10.10.3.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 881C560FAB for ; Fri, 13 Nov 2020 07:09:21 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [116.202.65.211]) by soverin.net Date: Fri, 13 Nov 2020 07:09:19 +0000 From: marco To: freebsd-git@freebsd.org Subject: Re: 504 errors from cgit-beta Message-ID: <20201113070919.GA88016@freedom.nl> Reply-To: marco Mail-Followup-To: marco , freebsd-git@freebsd.org References: <20201112155659.GQ913@mail> <20201113.032709.2108746957258946268.yasu@utahime.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201113.032709.2108746957258946268.yasu@utahime.org> Organization: lordsith.net X-Operating-System: FreeBSD 13.0-CURRENT amd64 X-Unix: Use Unix or die X-Uptime: 6:40AM up 12 days, 17:46, 1 user, load averages: 0.14, 0.27, 0.29 X-Rspamd-Queue-Id: 4CXV2f3rHrz3HSy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-git@lordsith.net designates 2a01:4f8:fff0:2d:8::215 as permitted sender) smtp.mailfrom=freebsd-git@lordsith.net X-Spamd-Result: default: False [-3.20 / 15.00]; HAS_REPLYTO(0.00)[freebsd-git@lordsith.net]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:fff0:2d:8::215:from]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:fff0:2d:08::215]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[2a01:4f8:fff0:2d:8::215:from:127.0.2.255]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.902]; DMARC_NA(0.00)[lordsith.net]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-git] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2020 07:09:31 -0000 On Fri, Nov 13, 2020 at 03:27:09AM +0900, you (Yasuhiro KIMURA) sent the following to [freebsd-git] : > From: Davíð Steinn Geirsson > 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."