From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6J04I/WJ0V/gaQAA0tVLHw (envelope-from ) for ; Thu, 10 Dec 2020 02:37:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CEkDH/WJ0V+uHwAAB5/wlQ (envelope-from ) for ; Thu, 10 Dec 2020 02:37:41 +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 01ACD94011A for ; Thu, 10 Dec 2020 02:37:40 +0000 (UTC) Received: from localhost ([::1]:46858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knBpr-0003VV-PZ for larch@yhetil.org; Wed, 09 Dec 2020 21:37:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knBpY-0003VL-EO for guix-devel@gnu.org; Wed, 09 Dec 2020 21:37:21 -0500 Received: from mx1.riseup.net ([198.252.153.129]:51070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knBpW-0005DD-18 for guix-devel@gnu.org; Wed, 09 Dec 2020 21:37:19 -0500 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Cryk25Th9zFmZw for ; Wed, 9 Dec 2020 18:37:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1607567834; bh=zY4hC7zEr4IXrKdxuAakBuCBVm7H6yUeU392S7FivsA=; h=From:To:Subject:Date:From; b=GwrYt1I0PUya3qeMmfQvwNaMwUFbJPnWPpakSNyamZASc+kAuGchYEkiyli4nA3Sn fmVQy8+tTLWanBlN9/U0Y2cUzXy266qJgjWufEBC6R8lYMXXBtVpf0m6XL103pmIML bF8sUWl820g13duYP34KZsRlfXAQDCdOAwiRuZHc= X-Riseup-User-ID: 5FA467E4298EA54191DBDD1A78FD80A63C3CDB51553731AD87DE302AA429C40C Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4Cryk20P4GzJnxf for ; Wed, 9 Dec 2020 18:37:13 -0800 (PST) Received: from localhost (dinosaur [local]) by dinosaur (OpenSMTPD) with ESMTPA id f11d6a83 for ; Thu, 10 Dec 2020 02:37:08 +0000 (UTC) From: Peng Mei Yu To: guix-devel@gnu.org Subject: Let guix client accept HTTP redirection Date: Thu, 10 Dec 2020 10:37:07 +0800 Message-ID: <87tusuidyk.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.129; envelope-from=pengmeiyu@riseup.net; helo=mx1.riseup.net 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=GwrYt1I0; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 01ACD94011A X-Spam-Score: -1.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9qi6njh21G7H Hello, I have a good news and a bad news. Good news. The maintainers of mirrors.sjtug.sjtu.edu.cn (an academic free software mirror site) agreed to accept Guix into their support list. Bad news. Their first implementation of a Guix mirror failed. Their server architecture is like this: A front-end program accepts HTTP requests. It looks up the requested resource from a storage server similar to Amazon S3. If the resource is found on storage server, return an HTTP 302 redirection to the storage server. If the resource is not found, return an HTTP 302 redirection to ci.guix.gnu.org and fetch the resource from ci.guix.gnu.org then store it in the storage server. So the next time the same resource is requested, it can be served from the storage server. During the test, we found that guix client does not accept HTTP 302 redirection. So we are working on a different implementation. In the meantime, I think the problem should be reported here and let's find out if something can be done from the Guix side. -- Peng Mei Yu