unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* GUIX behind a proxy
@ 2022-10-21 11:26 Diederich, Stefan
  2022-10-21 19:26 ` Wojtek Kosior via
  2022-10-24  7:22 ` 宋文武
  0 siblings, 2 replies; 3+ messages in thread
From: Diederich, Stefan @ 2022-10-21 11:26 UTC (permalink / raw)
  To: 'help-guix@gnu.org'

Dear Sir or Madame,

I installed guix with the installation script provided

sudo sh guix-install.sh

After this I added some the https_proxy and http_proxy to the environment in the file /etc/systemd/system/guix-daemon.service:

# This is a "service unit file" for the systemd init system to launch
# 'guix-daemon'.  Drop it in /etc/systemd/system or similar to have
# 'guix-daemon' automatically started.

[Unit]
Description=Build daemon for GNU Guix

[Service]
ExecStart=/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild
Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
Environment='https_proxy=https://10.10.6.11:8080'
Environment='http_proxy=http://10.10.6.11:8080'
Environment='HTTP_PROXY=http://10.10.6.11:8080'
Environment='HTTPS_PROXY=https://10.10.6.11:8080'
RemainAfterExit=yes
StandardOutput=syslog
StandardError=syslog

# See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
# Some package builds (for example, go@1.8.1) may require even more than
# 1024 tasks.
TasksMax=8192

[Install]
WantedBy=multi-user.target


I performed a
sudo systemctl restart guix-daemon.service
sudo systemctl daemon-reload

but unfortunately as I tried to do perform a
guix pull I got the following error messag:

die9s@k-hg-srv1:/media/Berechnungen$ guix pull
Kanal "guix" wird vom Git-Repository auf "https://git.savannah.gnu.org/git/guix.git" aktualisiert ...
Von diesem Kanal wird erstellt:
  guix      https://git.savannah.gnu.org/git/guix.git   98c4f01
substitute: guix substitute: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable
substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%guix substitute: warning: ci.guix.gnu.org: connection failed: Das Netzwerk ist nicht erreichbar
substitute:
substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%
substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%
substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%
substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%
substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%


Is there anything I might have missed? Can someone help me with configuring guix behind a proxy?

Thanks in advance
Stefan



________________________________________
Dr. Stefan Diederich
M. Sc. Bioinformatik

Universitätsmedizin
der Johannes Gutenberg-Universität Mainz
Langenbeckstraße 1, 55131 Mainz
Tel.: 06131 17-5797


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GUIX behind a proxy
  2022-10-21 11:26 GUIX behind a proxy Diederich, Stefan
@ 2022-10-21 19:26 ` Wojtek Kosior via
  2022-10-24  7:22 ` 宋文武
  1 sibling, 0 replies; 3+ messages in thread
From: Wojtek Kosior via @ 2022-10-21 19:26 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 3777 bytes --]

Hello Stefan,

I can't see any obvious problems here. Perhaps there's some more
information in the syslog? Just guessing.

Also (a rather obvious thing) the proxy you are using does not require
any special TLS cert of its to be installed, right? I'm asking because
I suppose Guix does not by default pick up certs installed on the host
system.

Although I cannot help much, I wish you good luck with the problem

Wojtek


-- (sig_start)
website: https://koszko.org/koszko.html
PGP: https://koszko.org/key.gpg
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A

Meet Kraków saints!           #13: blessed Jan Beyzym
Poznaj świętych krakowskich!  #13: błogosławiony Jan Beyzym
https://pl.wikipedia.org/wiki/Jan_Beyzym
-- (sig_end)


On Fri, 21 Oct 2022 11:26:53 +0000
"Diederich, Stefan" <Stefan.Diederich@unimedizin-mainz.de> wrote:

> Dear Sir or Madame,
> 
> I installed guix with the installation script provided
> 
> sudo sh guix-install.sh
> 
> After this I added some the https_proxy and http_proxy to the environment in the file /etc/systemd/system/guix-daemon.service:
> 
> # This is a "service unit file" for the systemd init system to launch
> # 'guix-daemon'.  Drop it in /etc/systemd/system or similar to have
> # 'guix-daemon' automatically started.
> 
> [Unit]
> Description=Build daemon for GNU Guix
> 
> [Service]
> ExecStart=/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild
> Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
> Environment='https_proxy=https://10.10.6.11:8080'
> Environment='http_proxy=http://10.10.6.11:8080'
> Environment='HTTP_PROXY=http://10.10.6.11:8080'
> Environment='HTTPS_PROXY=https://10.10.6.11:8080'
> RemainAfterExit=yes
> StandardOutput=syslog
> StandardError=syslog
> 
> # See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
> # Some package builds (for example, go@1.8.1) may require even more than
> # 1024 tasks.
> TasksMax=8192
> 
> [Install]
> WantedBy=multi-user.target
> 
> 
> I performed a
> sudo systemctl restart guix-daemon.service
> sudo systemctl daemon-reload
> 
> but unfortunately as I tried to do perform a
> guix pull I got the following error messag:
> 
> die9s@k-hg-srv1:/media/Berechnungen$ guix pull
> Kanal "guix" wird vom Git-Repository auf "https://git.savannah.gnu.org/git/guix.git" aktualisiert ...
> Von diesem Kanal wird erstellt:
>   guix      https://git.savannah.gnu.org/git/guix.git   98c4f01
> substitute: guix substitute: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable
> substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%guix substitute: warning: ci.guix.gnu.org: connection failed: Das Netzwerk ist nicht erreichbar
> substitute:
> substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%
> substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%
> substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%
> substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%
> substitute: Liste der Substitute von "https://ci.guix.gnu.org" wird aktualisiert ...   0.0%
> 
> 
> Is there anything I might have missed? Can someone help me with configuring guix behind a proxy?
> 
> Thanks in advance
> Stefan
> 
> 
> 
> ________________________________________
> Dr. Stefan Diederich
> M. Sc. Bioinformatik
> 
> Universitätsmedizin
> der Johannes Gutenberg-Universität Mainz
> Langenbeckstraße 1, 55131 Mainz
> Tel.: 06131 17-5797
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GUIX behind a proxy
  2022-10-21 11:26 GUIX behind a proxy Diederich, Stefan
  2022-10-21 19:26 ` Wojtek Kosior via
@ 2022-10-24  7:22 ` 宋文武
  1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 @ 2022-10-24  7:22 UTC (permalink / raw)
  To: Diederich, Stefan; +Cc: 'help-guix@gnu.org'

"Diederich, Stefan" <Stefan.Diederich@unimedizin-mainz.de> writes:

> Dear Sir or Madame,
>
> I installed guix with the installation script provided
>
> sudo sh guix-install.sh
>
> After this I added some the https_proxy and http_proxy to the environment in the file /etc/systemd/system/guix-daemon.service:
>
> # This is a "service unit file" for the systemd init system to launch
> # 'guix-daemon'.  Drop it in /etc/systemd/system or similar to have
> # 'guix-daemon' automatically started.
>
> [Unit]
> Description=Build daemon for GNU Guix
>
> [Service]
> ExecStart=/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild
> Environment='GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8
> Environment='https_proxy=https://10.10.6.11:8080'
> Environment='http_proxy=http://10.10.6.11:8080'
> Environment='HTTP_PROXY=http://10.10.6.11:8080'
> Environment='HTTPS_PROXY=https://10.10.6.11:8080'
> [...]
>
> Is there anything I might have missed? Can someone help me with configuring guix behind a proxy?
>

Hello, I think the value of https_proxy should also be
'http://10.10.6.11:8080', not https.  Unless you does have the proxy
server listen https, which usually not setup that way.

Hope it help!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-24  8:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-21 11:26 GUIX behind a proxy Diederich, Stefan
2022-10-21 19:26 ` Wojtek Kosior via
2022-10-24  7:22 ` 宋文武

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).