error with guix download and redirections

  • Open
  • quality assurance status badge
Details
One participant
  • ATuin
Owner
unassigned
Submitted by
ATuin
Severity
normal
A
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
87a6nft0d7.fsf@runbox.eu
Hi!

Today I tried to reconfigure my system, which involves building the nix
derivation, and i got the following error:

```
failed to download "/tmp/guix-file.uteXdE" from "https://nixos.org/releases/nix/nix-2.3.12/nix-2.3.12.tar.xz"
```

when trying to get the file using `guix download
in the same way:

```
Starting download of /tmp/guix-file.fhLzo0
Throw to key `gnutls-error' with args `(#<gnutls-error-enum Resource temporarily unavailable, try again.> handshake)'.
```

Using wget worked (also using GNUtls) but it gave me 3 times the
`Resource temporarily unavailable` error.

```
GnuTLS: Resource temporarily unavailable, try again.
GnuTLS: Resource temporarily unavailable, try again.
GnuTLS: Resource temporarily unavailable, try again.
HTTP request sent, awaiting response... 302 Found
[...]
Saving to: ‘nix-2.3.12.tar.xz.1’
```

Seems that the original URL does a redirection into
running guix download against the final url it works.

I guess that guix download is not dealing properly with the redirection
or with the GNUtls error GNUTLS_E_AGAIN which seems the be the one
causing that error message.

Greets, Aitor.
?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 49216
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