From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#26035: guix pull does not handle url lists and unreachable requests Date: Thu, 9 Mar 2017 14:51:05 +0000 Message-ID: <20170309145105.snpnroqjm35omgow@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clyLS-0000fS-Ug for bug-guix@gnu.org; Thu, 09 Mar 2017 08:43:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clyLO-0001Td-68 for bug-guix@gnu.org; Thu, 09 Mar 2017 08:43:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1clyLO-0001TT-3J for bug-guix@gnu.org; Thu, 09 Mar 2017 08:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1clyLN-0006WS-Oz for bug-guix@gnu.org; Thu, 09 Mar 2017 08:43:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clyKq-0000UP-FV for bug-guix@gnu.org; Thu, 09 Mar 2017 08:42:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clyKn-0001LC-Dj for bug-guix@gnu.org; Thu, 09 Mar 2017 08:42:28 -0500 Received: from latitanza.investici.org ([82.94.249.234]:35786) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1clyKn-0001Ke-2Q for bug-guix@gnu.org; Thu, 09 Mar 2017 08:42:25 -0500 Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 8C01A1210CC for ; Thu, 9 Mar 2017 13:42:22 +0000 (UTC) Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26035@debbugs.gnu.org efficient enough and sets the times out much too high Reply-To: In-Reply-To: When you configure a system to use bayfront, for example with these lines included in cons* of (services): (modify-services %base-services (guix-service-type config => (guix-configuration (inherit config) (substitute-urls (cons* "https://bayfront.guixsd.org" %default-substitute-urls)) (authorized-keys (cons* (plain-file "bayfront.guixsd.org.pub" (string-append "(public-key (ecc curve Ed25519) " "(q #8D156F295D24B0D9A86FA5741A840FF2" "D24F60F7B6C4134814AD55625971B394#)))")) %default-authorized-guix-keys)))))))) please consider that this does not reflect the actual indent and that I can't paste all of the config here, but those are the relevant parts, you will experience that: "guix package", and "guix system" (or guix buld?) query all listed subsitute urls, while "guix pull" only queries the first one. If the first one is experiencing issues (for example server is offline or can't handle requests for whatever reasons), the timeout is much too high. I had to cancel guix pull processes which tried to request from bayfront.guixsd.org for 9, 12, and 3 hours. As bayfront wasn't the only server, a switch should occur even with the guix pull part where substitute servers are queried before the build of the fetched master tarball starts.