From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: guix pull behind proxy not working Date: Thu, 15 Aug 2019 21:20:27 +0200 Message-ID: <87tvaigrr8.fsf@devup.no> References: <20190704090535.GB24157@famic.de> <87imqyclxy.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44175) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyLIZ-0001HP-Po for help-guix@gnu.org; Thu, 15 Aug 2019 15:20:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyLIX-0003Mq-DP for help-guix@gnu.org; Thu, 15 Aug 2019 15:20:35 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:32931) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hyLIX-0003ED-5W for help-guix@gnu.org; Thu, 15 Aug 2019 15:20:33 -0400 In-Reply-To: <87imqyclxy.fsf@disroot.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: "Jorge P. de Morais Neto" , martin@famic.de, help-guix@gnu.org --=-=-= Content-Type: text/plain Jorge P. de Morais Neto writes: > Em 2019-07-04T11:05:35+0200, martin@famic.de escreveu: > >> However, calling `guix pull` and `guix system reconfigure` still fails >> due to unreachable network. Does it need different proxy settings? >> What can I do? > > I have the same problem on a Debian buster foreign distro. I have > configured the proxy in > /etc/systemd/system/guix-daemon.service.d/override.conf > > It contains the following lines: > > Environment="http_proxy=http://localhost:3128" > Environment="https_proxy=http://localhost:3128" > > And I confirmed with ~systemctl show~ that both variables are correct in > the environment of Guix daemon. I think you also need these variables in the environment that invokes the 'guix' command. Does it work if you export these variables before running guix, in addition to having them in the daemon environment? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl1VsHsACgkQoqBt8qM6 VPoFsQgAsVxf8MgF75uD85dNuVdRef+8YG8qfyGkesGShAFxSCcSav+gGjpplQdT aJcsNOwYi+U1OxJT2HlVxy9WESBCa8kZ6e02rq4xBgvNY4lSgsgV88rJbrhTNTwW fBLgXWefeOazgNzewcZW+Wn93H/4TkmlWIak8DeDSwQEScfUrsRWr3s/iwwYez23 8sbjD6U/FYG5VvrBSXnmDA0atZ/uydKGCckNSc7hcIYolvuA9CN8wmkirBhAYSFs UWZ1v7D5qOsDD5TX8LFtIIQz+JC/sPgfvbna59qKUmKRZNYZrROSr5N0W5U3jjfj tngWgzkmm2kpi2l34e6EzE6eF77hRQ== =SslB -----END PGP SIGNATURE----- --=-=-=--