From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gKzbECuBS2AKGQAA0tVLHw (envelope-from ) for ; Fri, 12 Mar 2021 14:56:43 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SHicDCuBS2A6cwAAB5/wlQ (envelope-from ) for ; Fri, 12 Mar 2021 14:56:43 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 36C8A2032F for ; Fri, 12 Mar 2021 15:56:42 +0100 (CET) Received: from localhost ([::1]:60690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKjDV-0007ik-1g for larch@yhetil.org; Fri, 12 Mar 2021 09:56:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKjDL-0007eq-9l for help-guix@gnu.org; Fri, 12 Mar 2021 09:56:31 -0500 Received: from mail.kryshen.net ([31.220.44.128]:45320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKjDF-0006Qo-6Y for help-guix@gnu.org; Fri, 12 Mar 2021 09:56:28 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.kryshen.net (Postfix) with ESMTPSA id 083F941E5BA for ; Fri, 12 Mar 2021 17:56:21 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.kryshen.net 083F941E5BA From: Mikhail Kryshen To: help-guix@gnu.org Subject: Re: error: corrupt input while restoring archive from socket In-Reply-To: <8735x18c8n.fsf@kryshen.net> User-Agent: Notmuch/0.31.4 (https://notmuchmail.org) Emacs/27.1 (x86_64-pc-linux-gnu) Date: Fri, 12 Mar 2021 17:56:13 +0300 Message-ID: <8735x0qv3m.fsf@kryshen.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=31.220.44.128; envelope-from=mikhail@kryshen.net; helo=mail.kryshen.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615561002; 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:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=SwZq6O5bVxYbGchX+6aqEAqTslQxPQBee9FcWmImY1E=; b=PAsR9mAMK/QC16CKHjc7qU/Lt0R5+QWjNsqaGvKcMgXMj42SpPXrQIdCqL6SsLam7MhP9N MN+rE493woXgxd0i1wtXlPYiBD+j3Ttdo+S0F6BmneS5sETahaffb7L0TFRO4rID3GVhkB QvOPXxQgS70WCFzkds0YHWr7CdcaZe13aHGDFmzBxTvKEi+wjuyt2RNHpPTmfRGLnN25op +GSFr06bBDiDBeuqhVOVK8XwIw8oPph7CW6GscOwhpZfFZHmxZJeGM9n/BSx14K4dgQ6fs eHO22u8/9koeVcXrR08Uf5oMUGWriQRszpOfFONawXTvH8rN+08dU3HllF2H8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615561002; a=rsa-sha256; cv=none; b=NkJADBgcn9DVc9Qhejzhaw9bboj/H6HxMWN16/2Shl4mhiCf88ldXaXYNpj4PHyeMvGAr2 Y6rP8qwtI90mWenF8jFRWtvZzvgPJNG6rHUpDrZCiIrlFiKQnZYXORY5MrKnddMFWTCyjL xqzSqUeAFIHPC6shKDAVKVAbOpojqg4PYUitBz58fljeI3b8VDCDYUsVbBE0OZzgt1veON XziQA3cF952eT2bXiSjCB0FfusErKVyeh/+mC4EqSD19cwjL0LBmiOJxkVNbX4RSyUJuBX s+MHvHKhLRH3W11PzzAGdYGTbr8rKRB8lCY7yDz/KeJ9qVIE1E9y7nr8A3hHFQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=none; spf=pass (aspmx2.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.49 Authentication-Results: aspmx2.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx2.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 36C8A2032F X-Spam-Score: -4.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: GV/y18dThZbZ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mikhail Kryshen writes: > Mikhail Kryshen writes: > >> Fulbert writes: >> >>> Hello Guixers, >>> >>> For the past few days=E2=80=A6 maybe a couple of weeks (not sure when >>> it started exactly), I have had frequent errors with >>> substitutions. Those errors are not [always] reproducible as >>> another [or more] installation attempt succeed on the same [set of] >>> file[s]. >>> >>> My computers (hardware/software) does not seem to be the >>> cause as I have experienced the same problem on 2 PC's (not >>> sharing the exact same guix configurations). >>> >>> Attached, 2 files with such an error. Note that I have >>> translated the messages back to english (from french)=E2=80=A6 just in >>> case you find some typos and wonder how guix could mistype=E2=80=A6 ^^ >>> >>> The error message common to all those recent failures is : >>> error: corrupt input while restoring archive from socket >> >> I'm seeing this too, but only when guix tries to download from my own >> local substitute server, which runs current guix-publish exposed >> directly to the network without reverse proxy. > > I experimented for a bit with my substitute server and noticed that > downloads fail only when compressed substitutes are not yet available in > the guix publish cache or if caching is disabled. This is likely a bug > in Guix. After further experimentation, this does not appear to be related to caching. When guix tries to download more than one substitute from my server, it fails on the second download. >> Downloading from >> ci.guix.gnu.org works without errors. Could this be a race condition >> related to download rate? >> >>> Any idea ? I have not found any recent similar issue on >>> issues.guix.gnu.org. >>> downloading from https://ci.guix.gnu.org/nar/gzip/qd16lz61f4gn20456h4ri= 0xb59dfh8kg-cmdliner-1.0.3.tbz... >>> cmdliner-1.0.3.tbz 48KiB 20.4MiB/s 00:00 [##################] 100.= 0% >>> >>> Backtrace: >>> In guix/ui.scm: >>> 2164:12 19 (run-guix-command _ . _) >>> In guix/scripts/substitute.scm: >>> 633:2 18 (guix-substitute . _) >>> In unknown file: >>> 17 (with-continuation-barrier #) >>> In ice-9/boot-9.scm: >>> 1736:10 16 (with-exception-handler _ _ #:unwind? _ # _) >>> In unknown file: >>> 15 (apply-smob/0 #) >>> In ice-9/boot-9.scm: >>> 1736:10 14 (with-exception-handler _ _ #:unwind? _ # _) >>> 1736:10 13 (with-exception-handler _ _ #:unwind? _ # _) >>> 1731:15 12 (with-exception-handler # =E2=80=A6) >>> In guix/scripts/substitute.scm: >>> 682:17 11 (_) >>> 391:7 10 (process-substitution _ "/gnu/store/p0xh0m6xkqfapgv7cy=E2= =80=A6" =E2=80=A6) >>> In ice-9/boot-9.scm: >>> 1736:10 9 (with-exception-handler _ _ #:unwind? _ # _) >>> In guix/scripts/substitute.scm: >>> 400:9 8 (_) >>> In ice-9/boot-9.scm: >>> 1731:15 7 (with-exception-handler # =E2=80=A6) >>> 1669:16 6 (raise-exception _ #:continuable? _) >>> 1667:16 5 (raise-exception _ #:continuable? _) >>> 1669:16 4 (raise-exception _ #:continuable? _) >>> 1764:13 3 (_ #<&compound-exception components: (#<&error> #<&irri=E2= =80=A6>) >>> 1669:16 2 (raise-exception _ #:continuable? _) >>> 1667:16 1 (raise-exception _ #:continuable? _) >>> 1669:16 0 (raise-exception _ #:continuable? _) >>> >>> ice-9/boot-9.scm:1669:16: In procedure raise-exception: >>> Bad http-version header component: =C3=82=C2=A1_=C2=A8=C2=94=C2=948=C3= =A1=C2=97=C2=AF=C3=B1=C3=BF >>> >>> Backtrace: >>> In ice-9/boot-9.scm: >>> 1736:10 4 (with-exception-handler _ _ #:unwind? _ # _) >>> In unknown file: >>> 3 (apply-smob/0 #) >>> In ice-9/boot-9.scm: >>> 718:2 2 (call-with-prompt _ _ #) >>> In ice-9/eval.scm: >>> 619:8 1 (_ #(#(#))) >>> In guix/ui.scm: >>> 2164:12 0 (run-guix-command _ . _) >>> >>> guix/ui.scm:2164:12: In procedure run-guix-command: >>> Bad http-version header component: =C3=82=C2=A1_=C2=A8=C2=94=C2=948=C3= =A1=C2=97=C2=AF=C3=B1=C3=BF >>> >>> substitution of /gnu/store/p0xh0m6xkqfapgv7cy9012mjf2rx720r-cudf-0.9.ta= r.gz failed=20 >>> guix package: error: corrupt input while restoring archive from socket >>> downloading from https://ci.guix.gnu.org/nar/lzip/wa2p58gv8fp81dglysnp2= c9bffpdcwsr-ghc-blaze-markup-0.8.2.3... >>> ghc-blaze-markup-0.8.2.3 124KiB = 1.4MiB/s 00:00 [##################] 100.0% >>> >>> Backtrace: >>> In guix/ui.scm: >>> 2164:12 19 (run-guix-command _ . _) >>> In guix/scripts/substitute.scm: >>> 633:2 18 (guix-substitute . _) >>> In unknown file: >>> 17 (with-continuation-barrier #) >>> In ice-9/boot-9.scm: >>> 1736:10 16 (with-exception-handler _ _ #:unwind? _ # _) >>> In unknown file: >>> 15 (apply-smob/0 #) >>> In ice-9/boot-9.scm: >>> 1736:10 14 (with-exception-handler _ _ #:unwind? _ # _) >>> 1736:10 13 (with-exception-handler _ _ #:unwind? _ # _) >>> 1731:15 12 (with-exception-handler # =E2=80=A6) >>> In guix/scripts/substitute.scm: >>> 682:17 11 (_) >>> 391:7 10 (process-substitution _ "/gnu/store/gs7l81p1xzgdzvxdjc=E2= =80=A6" =E2=80=A6) >>> In ice-9/boot-9.scm: >>> 1736:10 9 (with-exception-handler _ _ #:unwind? _ # _) >>> In guix/scripts/substitute.scm: >>> 400:9 8 (_) >>> In ice-9/boot-9.scm: >>> 1731:15 7 (with-exception-handler # =E2=80=A6) >>> 1669:16 6 (raise-exception _ #:continuable? _) >>> 1667:16 5 (raise-exception _ #:continuable? _) >>> 1669:16 4 (raise-exception _ #:continuable? _) >>> 1764:13 3 (_ #<&compound-exception components: (#<&error> #<&irri=E2= =80=A6>) >>> 1669:16 2 (raise-exception _ #:continuable? _) >>> 1667:16 1 (raise-exception _ #:continuable? _) >>> 1669:16 0 (raise-exception _ #:continuable? _) >>> >>> ice-9/boot-9.scm:1669:16: In procedure raise-exception: >>> Bad Read-Header-Line header: # >>> >>> Backtrace: >>> In ice-9/boot-9.scm: >>> 1736:10 4 (with-exception-handler _ _ #:unwind? _ # _) >>> In unknown file: >>> 3 (apply-smob/0 #) >>> In ice-9/boot-9.scm: >>> 718:2 2 (call-with-prompt _ _ #) >>> In ice-9/eval.scm: >>> 619:8 1 (_ #(#(#))) >>> In guix/ui.scm: >>> 2164:12 0 (run-guix-command _ . _) >>> >>> guix/ui.scm:2164:12: In procedure run-guix-command: >>> Bad Read-Header-Line header: # >>> >>> substitution of /gnu/store/gs7l81p1xzgdzvxdjcwfxqpfcwfdjbkv-ghc-clock-0= .8 failed >>> guix package: error: corrupt input while restoring archive from socket >> >> -- >> Mikhail > > --=20 > Mikhail =2D-=20 Mikhail --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHIBAEBCAAyFiEEw6yVFU/UQfkLWikDzxz0c4HWsG4FAmBLgQ0UHG1pa2hhaWxA a3J5c2hlbi5uZXQACgkQzxz0c4HWsG4O7Qv+OM78psw+ODuDUiJ4gWIybqMj1zZq 2ou3ytNkJxGjAH5tPLlA+bKbnjBmBPdTd8Yh941S24ZOIKD78h1wZg8y0+rI+o2a G6nJ9ppEKX3Jx5j4KExFsVKCOTCcbLqkGFjqCQBgdqjaQASNaDV0xrnr0Q511F/e G3TfXevwLeV4VQmN98NkIJYsvKyNz7dXQAu9Qh64mw2TtFjBx6E/iNU9qkF4lioI 838w2j3gTJ1YVMkOxvoK5rzXfwpHbAmhDQAk8mdWuwZDjLxpML0gcWqTD/ZiafLS QAuEXw4KsVc+xIsUiWLznuMfyD6iPaU4JBqE+CVOEUDo/l5XqE0uIILm3H/dNMlr B+wog9OSdfVjPVzkvqKgle34f1JZ1+amtlGBLwxbGkH0r/NtkLEQ95+VA1zbuKuR 60zliNPliEXo0kVYx2hx4M8nS2h2E0baccu69sL2oLtekHFBHd4tpEUD/3KNMkTC ygpyn9XV7/N3Tbu9esW76bRudioTB+ihiNBn =XiAk -----END PGP SIGNATURE----- --=-=-=--