From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4HsCAWFY1WDLOgEAgWs5BA (envelope-from ) for ; Fri, 25 Jun 2021 06:15:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oDBgOGBY1WBkRwAA1q6Kng (envelope-from ) for ; Fri, 25 Jun 2021 04:15:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1DFF117BA5 for ; Fri, 25 Jun 2021 06:15:28 +0200 (CEST) Received: from localhost ([::1]:40012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwdFW-0006Zm-QV for larch@yhetil.org; Fri, 25 Jun 2021 00:15:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwdEE-0005Q1-7r for bug-guix@gnu.org; Fri, 25 Jun 2021 00:14:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32905) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwdEA-00007i-0Z for bug-guix@gnu.org; Fri, 25 Jun 2021 00:14:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwdE9-00080i-SK for bug-guix@gnu.org; Fri, 25 Jun 2021 00:14:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49216: error with guix download and redirections Resent-From: ATuin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 25 Jun 2021 04:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49216 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49216@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.162459440330714 (code B ref -1); Fri, 25 Jun 2021 04:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jun 2021 04:13:23 +0000 Received: from localhost ([127.0.0.1]:44447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwdDX-0007zI-09 for submit@debbugs.gnu.org; Fri, 25 Jun 2021 00:13:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:36830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwWxh-0005zK-4T for submit@debbugs.gnu.org; Thu, 24 Jun 2021 17:32:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwWxf-0001LI-6W for bug-guix@gnu.org; Thu, 24 Jun 2021 17:32:36 -0400 Received: from aibo.runbox.com ([91.220.196.211]:39170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwWxc-0008VV-HZ for bug-guix@gnu.org; Thu, 24 Jun 2021 17:32:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.eu; s=selector1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Date:Subject:To:From; bh=HSAzvU8FBO3BuSm4FhaRVm8cHJjwbHjluSzmlJzsUnI=; b=nVnhUCjUPwi/8OM1H12cwzP6CK IfscAzgD9+MJBZC8xMSuxdK4RFuhkg3VAnFuzhmUijIcfTtevtNFm8DTwmQe/7HQZ7Xm2x7w2/bzc kb0sJ0ouYzW3qC4E/nANPX+7DfxllYW+LsSoztFINPKNngEJ0QN9wkVsW7z8he1RTQMx5+7kFU7UP WW1Tb8soPvr4jPH7MiV8qp5hCSuU/41/YmQPYj8DvDl3U4jbkodKJWSXlxnRYmdAVAO7ZI4N5ofBR RFinL8oydsW4wdS4h2iGPZh6rHMs+/a2LFJRAUezwuxURrvU63VQ/H5pwHL+LMbl8cbwFM3tOM3Eo JRjZdEPw==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1lwWxV-0000km-RG for bug-guix@gnu.org; Thu, 24 Jun 2021 23:32:25 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (899906)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1lwWxR-0005Bj-8a for bug-guix@gnu.org; Thu, 24 Jun 2021 23:32:21 +0200 User-agent: mu4e 1.4.15; emacs 27.2 From: ATuin Date: Thu, 24 Jun 2021 23:32:20 +0200 Message-ID: <87a6nft0d7.fsf@runbox.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.220.196.211; envelope-from=atuin@runbox.eu; helo=aibo.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 25 Jun 2021 00:13:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624594528; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HSAzvU8FBO3BuSm4FhaRVm8cHJjwbHjluSzmlJzsUnI=; b=qZaYxHEMR7YJFh4MbfSXuXuj8W9o+vVPgrc/G55fU7Fbd++Bgc5usmlhm7+ociyT9P4mb7 GZeStaBzCMCrgZB3I/3w38q6InFdI0gSdab0FPu6gpIzQjRe1ctmMNfjSkiGgEy0nGVT9D VMSExh8UjMYFLcJfgllW8P2WhxigL37DXSPjmlKogebniwSVxd1fHa7K/63410NIsZL2rY ULmq88WQrU92GadrHQASCjBSynQzl1aUBrM9G4OibsAvcl5wzAHP6HdjKlQBvzEyUQO6C+ szt1yQuS5gTOjbY9gPta4RMXxdsmhaJihWGhm3qGoYNB7IhKqY1U3b0W3OKcbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624594528; a=rsa-sha256; cv=none; b=bAs05pNBX2OYQ8T4JYD0D6mcX8tmu6iynwSKyURhg9Kum/NhCt2iGNDcwVeGPS+XdBOUn/ 2m2DRd3Arw9B7jFC+YDbTnZXdGAx55ntLSBLlyQLi1ViY/C4kinVn3XYJNli8A1x2VXxZc pry6fTHTwD6dH4MkpT/L7vFduVHRv6qpeq4c/4mlYG8pybW1VmTLsY91S3AgoWbxemcVBO hkbERxbQnppFA/Ge/BN/+HWV3TZAu5Ry1hUqOeeKBsbBZlMl5QMrxbGVd+eBPX9Jj2vfiX V7nVWOD5TAFlp8uF6b66QC+LtOR3yuNXP43AfpraLI6faB46cpOeDfcGLkg6FQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.eu header.s=selector1 header.b=nVnhUCjU; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.eu header.s=selector1 header.b=nVnhUCjU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=runbox.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 1DFF117BA5 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: jiWpEzkrFktj 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 `(# 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 [foll= owing] [...] Saving to: =E2=80=98nix-2.3.12.tar.xz.1=E2=80=99 ``` 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.