From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Y/9INOLy/mBcNgEAgWs5BA (envelope-from ) for ; Mon, 26 Jul 2021 19:37:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OIR9L+Ly/mADaAAA1q6Kng (envelope-from ) for ; Mon, 26 Jul 2021 17:37:38 +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 52B7323B69 for ; Mon, 26 Jul 2021 19:37:38 +0200 (CEST) Received: from localhost ([::1]:59738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m84Xp-0005VJ-Co for larch@yhetil.org; Mon, 26 Jul 2021 13:37:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m84XL-0005Ti-V5 for help-guix@gnu.org; Mon, 26 Jul 2021 13:37:07 -0400 Received: from box.euandre.org ([46.101.160.115]:42281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m84XJ-0005ds-4V for help-guix@gnu.org; Mon, 26 Jul 2021 13:37:07 -0400 Received: from authenticated-user (box.euandre.org [46.101.160.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.euandre.org (Postfix) with ESMTPSA id 8CFA8FC3D7 for ; Mon, 26 Jul 2021 14:36:29 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1627320990; bh=WvsT2q8uxkHGnkDN1Vwtv8PAmlh+xpSf2aIqYE6EvKs=; h=From:To:Subject:Date:From; b=GMw1S2UPNI6oUp82HmMZEmyHjMWP6OwiKx/mqUZ5zfP02npJTjSE/H76na6ArtkQA LXlesUDn+6pFqJY81rUOVCUee37FPC8vnPGYicldEo0ZXM3WtZh0Txv9BHiJvzID4a g91T0G6NiToRuvA5rRRyV1XD3IvKEjbrHKJoY7RCVwAR8e3evT45DlzyRDb/DMssL4 74MF9LN/hHe7LQode9a2ImHlcUkNW1h7Pof/zV2Hx/2xxT3i37sSKhCJDMPHdFwkaV 5reoa/H17r/QCNXFG5/OiVmPV/HjUhSppdWmyGDc4ePSdKe7jjP7JZSmWhdSv2XWrG /7vIeSHoe+dUA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: EuAndreh To: help-guix@gnu.org Subject: Can't serve a custom channel on a HTTPS repository Date: Mon, 26 Jul 2021 14:36:24 -0300 Message-ID: <162732098483.1190082.2428052336447457010@localhost> Received-SPF: pass client-ip=46.101.160.115; envelope-from=eu@euandre.org; helo=box.euandre.org X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 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, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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=1627321058; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2iXnvONwWYAi4o8cmBXiwCZXyJfmfJFwL9EO1/rRy7Q=; b=VrxdrtlP0LNhQQh3TJzPFfHrW4djodLK/dGwPt4FlMAkWVdcfzTyV6C/b49Yhb9yAtn0QP jMpbi9vegH3GUYQvhRXGf3DOuNb3YJBV95Fm4yjYA8FrNQQPJXWjIyMD/eKQlX2kmHWUjn mB/jYdb5K6N8yjpI2VRrthk/UEYTsNtt5hPN3ZC4AefWCH8GMLf0xfBM/PbK4gJQc9IdCz wFAAKLXLCi30YIuhp7mW4tmhRbA/dn0IInbVzwB0H6QD9aDsKX6ZHADj7CaabB/79U7k4I NDEtaSjS91u+yWyS0kR/cA6UUrh5j6eoSpQiRfrVUEhIglTQDJRzhzrZOgP6WA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627321058; a=rsa-sha256; cv=none; b=nBm6LyDy5U7FLHHYudoMZNBzlGMDFiYUKbXlrU8ndMeMeYWfn6sKiXkYwjB8oJ6UKPf9V6 6TW26TDH8vuOACr8WB34tigC3GNEEy0FrJ7FCtrSoUs+uD7SUfn812ZdyvmDj9fNHMpFB4 epsprEqGYeVUULoVD0ie3Q9MB66oJl1QIvFIgwLjpzCYUjxeEMtlbDMO/s7beZx5tny9BR eay4N5lBmB0F2vVIzg4btZ1FaGO1UJCVITDco5MzBd8Lk2IJCEAe0f2/+3qzi9Gw5cIBEJ p/xOLVwNW5REjhSnd75viqBpr/MxbVcECmN1h/W66+05tCP9OTbkYyY5+aPQUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=euandre.org header.s=mail header.b=GMw1S2UP; 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.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=euandre.org header.s=mail header.b=GMw1S2UP; dmarc=pass (policy=quarantine) header.from=euandre.org; 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: 52B7323B69 X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6XPQLrtdmnFP Hi! I have the following "channels.scm" file: (cons* (channel (name 'xyz-euandreh) (url "git://euandreh.xyz/package-repository.git") (branch "main") (introduction (make-channel-introduction "d749e053e6db365069cb9b2ef47a78b06f9e7361" (openpgp-fingerprint "5BDA E9B8 B2F6 C6BC BB0D 6CE5 81F9 0EC3 CD35 6060")))) %default-channels) And I'm using "guix time-machine" with it: $ guix time-machine -C channels.scm -- environment --ad-hoc hello This works very well this way. However if I change the Git URL to HTTPS, it stops working: diff --git a/channels.scm b/channels.scm --- a/channels.scm +++ b/channels.scm @@ -1,7 +1,7 @@ (cons* (channel (name 'xyz-euandreh) - (url "git://euandreh.xyz/package-repository.git") + (url "https://euandreh.xyz/package-repository.git") (branch "main") (introduction (make-channel-introduction $ guix time-machine -C channels.scm -- environment --ad-hoc hello guix time-machine: error: Git error: invalid content-type: 'application/o= ctet-stream' The server is configured to serve over HTTPS and the Git protocol, and I can successfully clone either way: $ cd /tmp/ $ git clone git://euandreh.xyz/package-repository.git git # works $ git clone https://euandreh.xyz/package-repository.git https # also works I see that the "%default-channel-url" [0] Guile variable points to a bare H= TTPS Git repository, and that the "Content-Type" header of those files is also "application/octet-stream": (define %default-channel-url ;; URL of the default 'guix' channel. "https://git.savannah.gnu.org/git/guix.git") It seems that I also need some kind of extra HTTPS header configuration. Is this an issue with the "guile-git" library? Does Savannah has any special treatment of HTTPS repositories, or guile-git requests? What configuration= I'm missing from the server to be able to serve over HTTPS only? [0]: https://git.savannah.gnu.org/cgit/guix.git/tree/guix/channels.scm?id= =3D68ce40cad7782e75d665283fbe67b330d9a6fdcd#n175