From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Living with a proxy Date: Thu, 06 Jun 2013 00:01:11 +0200 Message-ID: <87mwr4usig.fsf@gnu.org> References: <20911.26346.165530.348092@Konrad-Hinsens-MacBook-Pro.local> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkLqU-0006pl-C3 for bug-guix@gnu.org; Wed, 05 Jun 2013 18:06:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkLqP-0006Un-OY for bug-guix@gnu.org; Wed, 05 Jun 2013 18:06:18 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:45567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkLqP-0006Uh-Iz for bug-guix@gnu.org; Wed, 05 Jun 2013 18:06:13 -0400 In-Reply-To: <20911.26346.165530.348092@Konrad-Hinsens-MacBook-Pro.local> (Konrad Hinsen's message of "Wed, 5 Jun 2013 18:27:22 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Konrad Hinsen Cc: bug-guix@gnu.org Konrad Hinsen skribis: > When I use my laptop at work, any use of "guix download" (and any > package install etc.) ends with > > ERROR: In procedure connect: Network is unreachable > > But I can download the exact same URL with wget. With that kind of > problem I tend to blame my network's Web proxy. I have configured it > by setting the environment variable http_proxy, which most Linux > software uses for this purpose. Does guix perhaps need something else? Currently Guix uses Guile=E2=80=99s HTTP client, which doesn=E2=80=99t supp= ort proxies (the FTP client doesn=E2=80=99t either.) It should support it though. It shouldn=E2=80=99t be too difficult to implement, but I=E2=80=99m not too= familiar with all that, so I=E2=80=99d welcome ideas and patches. ;-) (In the meantime, you could use wget + =E2=80=98guix hash=E2=80=99, but the= n you=E2=80=99ll again stumble upon that problem when Guix tries to download other things.) Thanks, Ludo=E2=80=99.