all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ATuin <mlfoss@runbox.eu>
To: 49216@debbugs.gnu.org
Subject: bug#49216: error with guix download and redirections
Date: Thu, 24 Jun 2021 23:32:20 +0200	[thread overview]
Message-ID: <87a6nft0d7.fsf@runbox.eu> (raw)

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.




                 reply	other threads:[~2021-06-25  4:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6nft0d7.fsf@runbox.eu \
    --to=mlfoss@runbox.eu \
    --cc=49216@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.