unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: bug-guix@gnu.org
Subject: Re: Living with a proxy
Date: Thu, 06 Jun 2013 00:01:11 +0200	[thread overview]
Message-ID: <87mwr4usig.fsf@gnu.org> (raw)
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")

Konrad Hinsen <konrad.hinsen@fastmail.net> 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’s HTTP client, which doesn’t support proxies
(the FTP client doesn’t either.)  It should support it though.

It shouldn’t be too difficult to implement, but I’m not too familiar
with all that, so I’d welcome ideas and patches.  ;-)

(In the meantime, you could use wget + ‘guix hash’, but then you’ll again
stumble upon that problem when Guix tries to download other things.)

Thanks,
Ludo’.

  reply	other threads:[~2013-06-05 22:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05 16:27 Living with a proxy Konrad Hinsen
2013-06-05 22:01 ` Ludovic Courtès [this message]
2013-06-06 11:14   ` Konrad Hinsen
2013-06-06 12:54     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwr4usig.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guix@gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).