GNU bug report logs - #49216
error with guix download and redirections

Previous Next

Package: guix;

Reported by: ATuin <mlfoss <at> runbox.eu>

Date: Fri, 25 Jun 2021 04:14:01 UTC

Severity: normal

To reply to this bug, email your comments to 49216 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#49216; Package guix. (Fri, 25 Jun 2021 04:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to ATuin <mlfoss <at> runbox.eu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 25 Jun 2021 04:14:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ATuin <mlfoss <at> runbox.eu>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org> 
Subject: error with guix download and redirections
Date: Thu, 24 Jun 2021 23:32:20 +0200
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"
guix download: error: https://nixos.org/releases/nix/nix-2.3.12/nix-2.3.12.tar.xz: download failed
```

when trying to get the file using `guix download
https://nixos.org/releases/nix/nix-2.3.12/nix-2.3.12.tar.xz` it failed
in the same way:

```
Starting download of /tmp/guix-file.fhLzo0
- From https://nixos.org/releases/nix/nix-2.3.12/nix-2.3.12.tar.xz...
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
Location: https://releases.nixos.org/nix/nix-2.3.12/nix-2.3.12.tar.xz [following]
[...]
Saving to: ‘nix-2.3.12.tar.xz.1’
```

Seems that the original URL does a redirection into
`https://releases.nixos.org/nix/nix-2.3.12/nix-2.3.12.tar.xz`. When
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.




This bug report was last modified 3 years and 159 days ago.

Previous Next


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