GNU bug report logs - #73121
guix publish service never closes the connection

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: "Ashish SHUKLA" <ashish.is@HIDDEN>; dated Sun, 8 Sep 2024 13:41:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Sep 2024 13:40:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 08 09:40:41 2024
Received: from localhost ([127.0.0.1]:58182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1snI9h-0005Nx-4Q
	for submit <at> debbugs.gnu.org; Sun, 08 Sep 2024 09:40:41 -0400
Received: from lists.gnu.org ([209.51.188.17]:37046)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ashish.is@HIDDEN>) id 1snI9f-0005Nq-W3
 for submit <at> debbugs.gnu.org; Sun, 08 Sep 2024 09:40:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ashish.is@HIDDEN>)
 id 1snI9d-0004t4-EQ
 for bug-guix@HIDDEN; Sun, 08 Sep 2024 09:40:37 -0400
Received: from anamika.lostca.se ([65.21.75.227])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ashish.is@HIDDEN>)
 id 1snI9b-0003Ce-Ky
 for bug-guix@HIDDEN; Sun, 08 Sep 2024 09:40:37 -0400
Received: from localhost (unknown [103.55.60.118])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: abbe)
 by anamika.lostca.se (Postfix) with ESMTPSA id 1E92F28984;
 Sun,  8 Sep 2024 13:40:21 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; 
 t=1725802822;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=o5ighduZK6wjRkEITCySIVORZ5C3AbWR+ZKkaPh1DmM=;
 b=C6c0DtLMdp/8XQR3BBcMlWv/5UoM2strzi+dJdynMiSJqLRDPggkZg61GX9LIOLSexucLA
 8s4sww9qNHNnGNH4Ca29qTEmw88liUg30hCfPeoiFvMFKP3hZPLulthH7eqKDDJP4eFpOl
 4fyoBzvZpRLGmuFsrEsk6qpnECKZkJI=
Mime-Version: 1.0
Content-Type: multipart/signed;
 boundary=0839929bb2cb00b64bd59c11d6471e9b888bf267d137451f015b3b34e9f9;
 micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Sun, 08 Sep 2024 19:10:19 +0530
Message-Id: <D40Y1ICBQ240.W983QW1JVOF9@HIDDEN>
Subject: guix publish service never closes the connection
From: "Ashish SHUKLA" <ashish.is@HIDDEN>
To: <bug-guix@HIDDEN>
X-Mailer: aerc 0.18.2
Received-SPF: pass client-ip=65.21.75.227; envelope-from=ashish.is@HIDDEN;
 helo=anamika.lostca.se
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--0839929bb2cb00b64bd59c11d6471e9b888bf267d137451f015b3b34e9f9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8; format=Flowed

Hi,

When using a guix publish server (sans any nginx (or reverse proxy) front-e=
nd) as substitute server, it seems guix publish never closes the connection=
 on certain URLs:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
% curl -H 'User-Agent: GNU Guile' -v http://localhost:7888/nar/w0b5xvxg0phk=
m9gw5xcig0sb2ggcc053-git-2.46.0.tar.xz -o /dev/null
* Host localhost:7888 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Cur=
rent
                                 Dload  Upload   Total   Spent    Left  Spe=
ed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   =
  0*   Trying [::1]:7888...
* connect to ::1 port 7888 from ::1 port 49630 failed: Connection refused
*   Trying 127.0.0.1:7888...
* Connected to localhost (127.0.0.1) port 7888
> GET /nar/w0b5xvxg0phkm9gw5xcig0sb2ggcc053-git-2.46.0.tar.xz HTTP/1.1
> Host: localhost:7888
> Accept: */*
> User-Agent: GNU Guile
>
< HTTP/1.1 200 OK
< Content-Type: application/x-nix-archive;charset=3DISO-8859-1
* no chunk, no close, no size. Assume close to signal end
<
{ [24 bytes data]
100 7399k    0 7399k    0     0  1026k      0 --:--:--  0:00:07 --:--:--   =
  0
100 7399k    0 7399k    0     0   803k      0 --:--:--  0:00:09 --:--:--   =
  0^CException: curl killed by signal interrupt
  [tty 24]:1:1-124: curl -H 'User-Agent: GNU Guile' -v http://localhost:788=
8/nar/w0b5xvxg0phkm9gw5xcig0sb2ggcc053-git-2.46.0.tar.xz -o /dev/null
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

guix-publish daemon is running with following configuration:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(service guix-publish-service-type
    (guix-publish-configuration
       (port 7888)
       (host "127.0.0.1")
       (advertise? #f)))
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

To workaround this problem in reverse proxy, either HTTP/1.0 or disable
keepalive setting in reverse proxy.

Thanks!
--
Ashish SHUKLA

--0839929bb2cb00b64bd59c11d6471e9b888bf267d137451f015b3b34e9f9
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKoBAABCgCSFiEE9oLNzDncD+rhFiC2x0bPqedPpLAFAmbdqUNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY2
ODJDRENDMzlEQzBGRUFFMTE2MjBCNkM3NDZDRkE5RTc0RkE0QjAUHGFzaGlzaC5p
c0Bsb3N0Y2Euc2UACgkQx0bPqedPpLDISA//cFyxlmK6Qu0rmY7zFSAwF50ZExqd
CNpwMIO3NRxSRiUq3DbDhqTvB3JEhRqwLhk+7D4IKrjfBPg53kDlGAR57hTAGdWz
fO6k0CHg+zOQ+hG2t5EiHcMokQ+q5t7As9VWIXDy5VcGBmmvoy2YBSCrptOcTnVu
GaxJZ2XqQyvYlWmhJ6UvEN1HUwnIF1iOY0Tkj0vsLrh8DfasUXYVH+6LnAURvhpG
uTAUwFbno/vOISj6yOAuhrbRi0XiGolaaKghZh7pvgrgb48ZHwMk1HW0gmVvsewR
rl7vq4Z/0Sr0RkfPH4FWSo6tL0VgFrUQkVvFj5fM4YDxAN8OuIbk8p9kR/BHJKyJ
7AU5BN1ta0v+e2VbmdQFIcq5VcjiAoDE9XpYvqAcVlK4xlpEzPi3q/whKAcxDZyA
f9hN/kFb2dO+6o3swy0fkMYYtogaMnhb4bbbHR60K7oLmU5PpChynMdDohzlN1RA
mc9aEpAN4EnKHGjmAzTcZhZIFxL/Gn9yqqZCRWNpmRmQbRZqXFzo/J0AF3G+R5oa
uS8CIHrbDab8rLY+FwDlbQVx43k+faW4XzuflPyUYrwvvzNgbtR7K3h8hQtknuPg
yx16tJXQgfeoOjh1DI57bi7WKlWYwdsd1RXujjeb2DErl3qsQbT6amAc4nPtzTF2
CDhaGRiD9GwjjEQ=
=asLy
-----END PGP SIGNATURE-----

--0839929bb2cb00b64bd59c11d6471e9b888bf267d137451f015b3b34e9f9--




Acknowledgement sent to "Ashish SHUKLA" <ashish.is@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#73121; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.