From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 07 10:52:56 2017 Received: (at submit) by debbugs.gnu.org; 7 Oct 2017 14:52:56 +0000 Received: from localhost ([127.0.0.1]:54833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0qTC-0002b2-4g for submit@debbugs.gnu.org; Sat, 07 Oct 2017 10:52:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0qTA-0002am-LE for submit@debbugs.gnu.org; Sat, 07 Oct 2017 10:52:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0qT4-0006qH-K0 for submit@debbugs.gnu.org; Sat, 07 Oct 2017 10:52:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD, WEIRD_PORT autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0qT4-0006q7-Gh for submit@debbugs.gnu.org; Sat, 07 Oct 2017 10:52:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0qT3-0005f9-9E for bug-guix@gnu.org; Sat, 07 Oct 2017 10:52:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0qSz-0006oe-HX for bug-guix@gnu.org; Sat, 07 Oct 2017 10:52:41 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0qSn-0006kK-KD; Sat, 07 Oct 2017 10:52:25 -0400 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:39320 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e0qSn-0004Xw-3C; Sat, 07 Oct 2017 10:52:25 -0400 From: Jan Nieuwenhuizen To: bug-guix@gnu.org Subject: guix weather backtrace on https://mirror.guixsd.org Date: Sat, 07 Oct 2017 16:52:23 +0200 Message-ID: <87wp473t94.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Running guix weather on latest master* gives me computing 6,224 package derivations for x86_64-linux... looking for 6,486 store items on https://mirror.hydra.gnu.org... updating list of substitutes from 'https://mirror.hydra.gnu.org'... 0.0%B= acktrace: 10 (primitive-load "/home/janneke/bin/guix") In guix/ui.scm: 1375:12 9 (run-guix-command _ . _) In ice-9/boot-9.scm: 837:9 8 (catch _ _ # _) 837:9 7 (catch _ _ # =E2=80=A6) In srfi/srfi-1.scm: 640:9 6 (for-each # ("https://mirror.hyd=E2=80=A6")) In guix/scripts/weather.scm: 99:17 5 (call-with-time _ #) In unknown file: 4 (_ # = # #) In guix/scripts/substitute.scm: 711:23 3 (lookup-narinfos _ _) 664:23 2 (fetch-narinfos _ _) 567:8 1 (http-multiple-get #< scheme: https userinfo: #f host: "m= irror.hydra.gnu.org" port: #f path=E2=80=A6> =E2=80=A6) In unknown file: 0 (put-bytevector # #vu8(71 69 84 = 32 47 57 48 100 104 50 114 54 107 =E2=80=A6) =E2=80=A6) ERROR: In procedure put-bytevector: ERROR: Throw to key `gnutls-error' with args `(# write_to_session_record_port)'. My daemon uses substitute-urls "https://mirror.guixsd.org https://hydra.gnu= .org http://guix.oban.verum.com:8181 http://guix2.oban.verum.com:8181 http:= //janneke.lilypond.org:8080" *) 3ae76f7f5 gnu: vsearch: Update to 2.5.0. --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 20 12:04:15 2017 Received: (at control) by debbugs.gnu.org; 20 Oct 2017 16:04:15 +0000 Received: from localhost ([127.0.0.1]:52570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5ZmR-00088T-AJ for submit@debbugs.gnu.org; Fri, 20 Oct 2017 12:04:15 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:41351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5ZmP-00088J-EP for control@debbugs.gnu.org; Fri, 20 Oct 2017 12:04:13 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 34B9AE021 for ; Fri, 20 Oct 2017 18:04:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GFOmJZcGs9UW for ; Fri, 20 Oct 2017 18:04:13 +0200 (CEST) Received: from ribbon (unknown [193.50.110.53]) by hera.aquilenet.fr (Postfix) with ESMTPSA id AB9359439 for ; Fri, 20 Oct 2017 18:04:13 +0200 (CEST) Date: Fri, 20 Oct 2017 18:04:12 +0200 Message-Id: <871slxvm9v.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #28731 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) severity 28731 important From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 26 03:29:23 2017 Received: (at 28731-done) by debbugs.gnu.org; 26 Oct 2017 07:29:23 +0000 Received: from localhost ([127.0.0.1]:33939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7cbS-0005EY-LM for submit@debbugs.gnu.org; Thu, 26 Oct 2017 03:29:22 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:51529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7cbQ-0005EQ-Rw for 28731-done@debbugs.gnu.org; Thu, 26 Oct 2017 03:29:21 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8C7C77033; Thu, 26 Oct 2017 09:29:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6pJCZqlnuUZY; Thu, 26 Oct 2017 09:29:20 +0200 (CEST) Received: from ribbon (node-1w7jr9qot7winqrne9k8b99d1.ipv6.telus.net [IPv6:2001:569:7803:2c00:728:f466:18ad:22a5]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7D89B691; Thu, 26 Oct 2017 09:29:19 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Jan Nieuwenhuizen Subject: Re: bug#28731: guix weather backtrace on https://mirror.guixsd.org References: <87wp473t94.fsf@gnu.org> Date: Thu, 26 Oct 2017 00:29:15 -0700 In-Reply-To: <87wp473t94.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sat, 07 Oct 2017 16:52:23 +0200") Message-ID: <87wp3igyes.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 28731-done Cc: 28731-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi, Jan Nieuwenhuizen skribis: > Running guix weather on latest master* gives me > > computing 6,224 package derivations for x86_64-linux... > looking for 6,486 store items on https://mirror.hydra.gnu.org... > updating list of substitutes from 'https://mirror.hydra.gnu.org'... 0.0= %Backtrace: > 10 (primitive-load "/home/janneke/bin/guix") > In guix/ui.scm: > 1375:12 9 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 837:9 8 (catch _ _ # _) > 837:9 7 (catch _ _ # =E2=80=A6) > In srfi/srfi-1.scm: > 640:9 6 (for-each # ("https://mirror.hyd=E2=80=A6")) > In guix/scripts/weather.scm: > 99:17 5 (call-with-time _ #) > In unknown file: > 4 (_ # # #) > In guix/scripts/substitute.scm: > 711:23 3 (lookup-narinfos _ _) > 664:23 2 (fetch-narinfos _ _) > 567:8 1 (http-multiple-get #< scheme: https userinfo: #f host: = "mirror.hydra.gnu.org" port: #f path=E2=80=A6> =E2=80=A6) > In unknown file: > 0 (put-bytevector # #vu8(71 69 8= 4 32 47 57 48 100 104 50 114 54 107 =E2=80=A6) =E2=80=A6) > > ERROR: In procedure put-bytevector: > ERROR: Throw to key `gnutls-error' with args `(# write_to_session_record_port)'. I believe this is fixed by this commit: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Dd213cc8c7f085428e3= c64243b0d163423e4bb5f6 The crux of the problem was that we were sending too many requests at once, and for some reason the server would close the connection prematurely (in HTTPS, not HTTP). It didn=E2=80=99t make sense to send too= many connections at once anyway, because the server won=E2=80=99t accept that ma= ny (see =E2=80=98keepalive_requests=E2=80=99 in nginx), so the commit above se= ts a maximum. The problem could be reproduced with: --8<---------------cut here---------------start------------->8--- (use-modules (guix scripts substitute) (guix build utils) (web request) (web uri) (srfi srfi-1) (gnutls)) (define base-url (or (getenv "URL") "https://mirror.hydra.gnu.org")) (define base-uri (string->uri base-url)) (define index.html (build-request (string->uri (string-append base-url "/nix-cache-info" ;; "/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee.narinf= o" ;; "/yihvhxv3xyyvl1m2cy1lnf1lyi9h76fk.narinf= o" )))) (define http-multiple-get (@@ (guix scripts substitute) http-multiple-get)) ;; (set-log-level! 5) ;; (set-log-procedure! (lambda (level message) ;; (display message))) (let ((requests (make-list 100000 index.html))) (http-multiple-get base-uri (lambda (req resp port result) (dump-port port (%make-void-port "w")) (cons 'x result)) '() requests)) --8<---------------cut here---------------end--------------->8--- Thanks, Ludo=E2=80=99. From unknown Sun Jun 22 00:40:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Nov 2017 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator