From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IJtlL8MySmCBKAAA0tVLHw (envelope-from ) for ; Thu, 11 Mar 2021 15:09:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8PJGK8MySmAiIwAAbx9fmQ (envelope-from ) for ; Thu, 11 Mar 2021 15:09:55 +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 B67F5323B3 for ; Thu, 11 Mar 2021 16:09:54 +0100 (CET) Received: from localhost ([::1]:55834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKMwi-0004AR-5J for larch@yhetil.org; Thu, 11 Mar 2021 10:09:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKMVl-0004Um-CW for help-guix@gnu.org; Thu, 11 Mar 2021 09:42:02 -0500 Received: from vimdzmsp-sfwd02.bluewin.ch ([195.186.227.131]:33216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKMVX-00070B-4m for help-guix@gnu.org; Thu, 11 Mar 2021 09:42:00 -0500 Received: from bluewin.ch ([85.5.44.62]) by vimdzmsp-sfwd02.bluewin.ch Swisscom AG with ESMTPA id KMVPl029lIn7CKMVQlq3Hs; Thu, 11 Mar 2021 15:41:40 +0100 X-Bluewin-Spam-Analysis: v=2.4 cv=daFFYVbe c=1 sm=1 tr=0 ts=604a2c24 a=bLoAJnPGBKLbGpzEBMhwHQ==:117 a=IkcTkHD0fZMA:10 a=mDV3o1hIAAAA:8 a=6bqjPu9BEmPX1gjC-HwA:9 a=QEXdDO2ut3YA:10 a=_FVE-zBwftR9WsbkzFJk:22 a=BPzZvq435JnGatEyYwdK:22 X-Bluewin-Spam-Score: 0.00 X-FXIT-IP: IPv4[85.5.44.62] Epoch[1615473700] X-Bluewin-AuthAs: fulbert@bluewin.ch Date: Thu, 11 Mar 2021 15:41:39 +0100 From: Fulbert To: help-guix@gnu.org Subject: Re: error: corrupt input while restoring archive from socket Message-ID: Mail-Followup-To: help-guix@gnu.org References: <878s6tdc4x.fsf@kryshen.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878s6tdc4x.fsf@kryshen.net> X-CMAE-Envelope: MS4xfBPDN4I9W7oYSsTISN3NXXjTFCmsuivxzjizMHAFqCJr33z1LfhjfHYSIfzsMujzanugpXQx92oYxtalbfd2YKIHPvlSgP1STVuoAU+ghJsuapekW3zw hMAIUZlaZ6Tw+PhdE2Z+hNCyd2ytUyNo9oRWhCh+RnYaBT0eL/UIkrtT Received-SPF: pass client-ip=195.186.227.131; envelope-from=fulbert@bluewin.ch; helo=vimdzmsp-sfwd02.bluewin.ch X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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=1615475395; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=x6ZXaj/4RxvjyLBk8awa0ByPnQC8JUD5pCSjgZUPozk=; b=n+j+p7vCasP6IsUDZ9rsmFvqHBszlIMvJ+8ntJm9cyM+pQv9BEwaKCbM9/reiVVf+xwBhn CthqFRxuTyAZopakhP2wpwhPstNPC508Hk/kc7RfFj706xktiBxpDj3DaPHdPb0Q9bvk7k 38GbNIHyr/9mywd9CVje6yBmhQbRIh/G4AWOxeSZYRGSUpYDr98b5gM8hp/q7c8L+FSYjE R9inl8thzb/Otq8mAf8BCI6XhO+DZo5wywTaUt8z82EkCStJ9crVyWraPj+j69Rbo8KCJ+ mWwAZ9XbZKsQsED8lVG1I5D9miHYH0zSvr7Bo/hD5FsAVDtr9b3mWBCgjy+J3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615475395; a=rsa-sha256; cv=none; b=lgqpDtCQkMzOkCDWBQH1plqeNROYcWcTNQ8FC7+O/3QM3knP9hLC0CNiVaRmlQFzlW19qz VD/xKxfPRRRbEwKhgk1ZJ6Mw5rgnyZgDx4sveIXuZgWQ01ecDvld/9oFQrqBo2PInDJ722 h46WW//yQ+60qOBB+VarQH3oQyUPI1swoBrTCrgUxmjCp6KTgUTU3zvJEMdy5fb/0IGE+2 rRqIsoCJF9uo6Ez7vtWQzxUq2DfuDrZ8VoA0D1feTT3Je9tWq0u0bHC281nfxJu2RREW2S CX6qfGuMVv2k7FLo4W6entnM7vaP6B5iqsuO8Tf3YVh1Wj+f+1GlXYn0bS7XsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.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: -2.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.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: B67F5323B3 X-Spam-Score: -2.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2J82XVO+N3it Le Thu, Mar 11, 2021 at 04:59:42PM +0300, Mikhail Kryshen a écrit : > Fulbert writes: > > > Hello Guixers, > > > > For the past few days… 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)… just in > > case you find some typos and wonder how guix could mistype… ^^ > > > > 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. Downloading from > ci.guix.gnu.org works without errors. Could this be a race condition > related to download rate? Hello and thanks for your time Mikhail, I only have a local channel with a couple of local files but no subtitute server. All downloads go through ci.gui.gnu.org. > Downloading from ci.guix.gnu.org works without errors. Could > this be a race condition related to download rate? I don't know. I'm not even sure what it means and how I could check that. Wouldn't this kind of problem be handled on the network "layers" ?… Because, as stated, I have not experienced other problems besides guix substitutions, whether guix related or any other use as a connected "desktop" user. > > > Any idea ? I have not found any recent similar issue on > > issues.guix.gnu.org. > > downloading from https://ci.guix.gnu.org/nar/gzip/qd16lz61f4gn20456h4ri0xb59dfh8kg-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 # …) > > In guix/scripts/substitute.scm: > > 682:17 11 (_) > > 391:7 10 (process-substitution _ "/gnu/store/p0xh0m6xkqfapgv7cy…" …) > > 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 # …) > > 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…>) > > 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: ¡_¨””8ᗯñÿ > > > > 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: ¡_¨””8ᗯñÿ > > > > substitution of /gnu/store/p0xh0m6xkqfapgv7cy9012mjf2rx720r-cudf-0.9.tar.gz failed > > guix package: error: corrupt input while restoring archive from socket > > downloading from https://ci.guix.gnu.org/nar/lzip/wa2p58gv8fp81dglysnp2c9bffpdcwsr-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 # …) > > In guix/scripts/substitute.scm: > > 682:17 11 (_) > > 391:7 10 (process-substitution _ "/gnu/store/gs7l81p1xzgdzvxdjc…" …) > > 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 # …) > > 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…>) > > 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