guix publish service never closes the connection

  • Open
  • quality assurance status badge
Details
One participant
  • Ashish SHUKLA
Owner
unassigned
Submitted by
Ashish SHUKLA
Severity
normal
A
A
Ashish SHUKLA wrote on 8 Sep 15:40 +0200
(address . bug-guix@gnu.org)
D40Y1ICBQ240.W983QW1JVOF9@lostca.se
Hi,

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

===============================================================
* Host localhost:7888 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
% 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 [::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
Toggle quote (5 lines)
> 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=ISO-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:7888/nar/w0b5xvxg0phkm9gw5xcig0sb2ggcc053-git-2.46.0.tar.xz-o /dev/null
===============================================================

guix-publish daemon is running with following configuration:

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

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

Thanks!
--
Ashish SHUKLA
-----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-----


?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 73121@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73121
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch