guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.

OpenSubmitted by Maxim Cournoyer.
Details
3 participants
  • Ludovic Courtès
  • Maxim Cournoyer
  • Maxime Devos
Owner
unassigned
Severity
important
M
M
Maxim Cournoyer wrote 7 days ago
(name . bug-guix)(address . bug-guix@gnu.org)
87bl8hvhgx.fsf@gmail.com
Hello,
Using Guix from the master branch at commitb2122b07dc24007263b92247cc479713c2101390, with a system reconfigured onthe 2nd of June (Guix commit bb325c5611553a6db21ee7499ac07d5757d24fc3):
Toggle snippet (19 lines)Generation 216 Jun 02 2021 10:14:19 (current) file name: /var/guix/profiles/system-216-link canonical file name: /gnu/store/apjg70083nc5xj816y0ff3r8ir9gh5py-system label: GNU with Linux-Libre 5.11.20 bootloader: grub root device: /dev/mapper/cryptroot kernel: /gnu/store/ghijd80qabdyf0p6jcich9ggnpwrbwxw-linux-libre-5.11.20/bzImage channels: sfl-packages: repository URL: https://gitlab.com/Apteryks/sfl-guix-channel branch: master commit: 37d017573350b64f8a8c992530153f42806b6a6f guix: repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: bb325c5611553a6db21ee7499ac07d5757d24fc3 configuration file: /gnu/store/qvhl7ya2xn4gr9mn29hg93p1dcbdlyfy-configuration.scm
with the guix-daemon running being:
Toggle snippet (6 lines)/gnu/store/9zh3bg8d4y08jnkqyrk6xczahiahhcy4-guix-1.3.0-1.771b866/bin/guix-daemon29920 guixbuild --max-silent-time 0 --timeout 0 --log-compression none--discover=no --substitute-urls http://127.0.0.1:8080https://ci.guix.gnu.org --max-jobs=4
Attempting to update my profile keeps failing with:
Toggle snippet (22 lines)$ ./pre-inst-env guix package -m ~/stow/guix/manifest.scm -L ~/src/sfl-guix-channel/ --substitute-urls=https://ci.guix.gnu.org --no-offload;;; note: source file /home/maxim/src/guix-master/gnu/packages/networking.scm;;; newer than compiled /home/maxim/src/guix-master/gnu/packages/networking.go;;; note: source file /home/maxim/src/guix-master/gnu/packages/networking.scm;;; newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/networking.goThe following packages will be installed: acpi 1.7 adb 7.1.2_r36 adwaita-icon-theme 3.34.3 alsa-utils 1.2.4 [...] xrandr 1.5.1 xrdb 1.2.0 xsetroot 1.1.2 yelp 3.32.2
122.8 MB will be downloaded libreoffice-6.4.7.2 117.1MiB 344KiB/s 03:04 [######### ] 52.7%guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.substitution of /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffice-6.4.7.2 failedguix package: error: some substitutes for the outputs of derivation `/gnu/store/9f8sffldy39mprihx6xgrs7hys9j75jm-libreoffice-6.4.7.2.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
I'm attaching my (large!) profile manifest. It depends on thehttps://gitlab.com/Apteryks/sfl-guix-channelchannel, which just adds 3Python packages. You could comment out the "sflvault-client" packagefrom the manifest to lift that requirement.
Thanks,
Maxim
(use-modules (gnu packages) (gnu packages emacs) (guix build-system emacs) (guix profiles)) (concatenate-manifests (list ;;; Emacs packages. (specifications->manifest '("emacs" "emacs-auctex" "emacs-bash-completion" "emacs-bbdb" "emacs-cmake-mode" "emacs-company" "emacs-company-quickhelp" "emacs-counsel" "emacs-counsel-bbdb" "emacs-csv-mode" "emacs-debbugs" "emacs-diff-hl" "emacs-el-mock" "emacs-elpy" "emacs-emms" "emacs-ggtags" "emacs-go-mode" "emacs-grep-a-lot" "emacs-groovy-modes" "emacs-guix" "emacs-htmlize" "emacs-ivy" "emacs-magit" "emacs-markdown-mode" "emacs-nix-mode" "emacs-org" "emacs-org-reveal" "emacs-paredit" "emacs-php-mode" "emacs-pdf-tools" "emacs-qml-mode" "emacs-realgud" "emacs-rpm-spec-mode" "emacs-sr-speedbar" "emacs-string-inflection" "emacs-swiper" "emacs-w3m" "emacs-ws-butler" "emacs-yaml-mode" "emacs-yasnippet" "emacs-yasnippet-snippets")) ;; Other software. (specifications->manifest '("adb" "acpi" "adwaita-icon-theme" "alsa-utils" "anthy" "arc-icon-theme" "arc-theme" "aspell" "aspell-dict-en" "aspell-dict-fr" "autoconf" "automake" "autossh" "bash" "bc" "beep" "bind:utils" ;for 'dig' "bluez" "bridge-utils" "cheese" "compsize" "cqfd" "cryptsetup" "curl" "dbus" "dconf" "ddcutil" "diffoscope" "docker-cli" "dosfstools" "evince" "file" "font-adobe-source-han-sans" "font-dejavu" "font-google-roboto" "font-hack" "gcc-toolchain" "gdb" "geeqie" "ghostscript-with-x" "gimp" "git" "git:send-email" "glibc-locales" "global" "gnome-bluetooth" "gnome-boxes" "gnu-standards" "gnucash" "gnucash:doc" "gnupg" "graphviz" "grub" ;for the manual "gtk-engines" "guile" "guile-lib" "guile-readline" "guile-sqlite3" "guile-ssh" "hackneyed-x11-cursors" "hicolor-icon-theme" "hunspell" "hunspell-dict-fr" "ibus" "ibus-anthy" "icecat" "imagemagick" "inetutils" "inkscape" "iotop" "jack" "jami-gnome" "jami-qt" "nethogs" ;pre-process bandwith monitoring "jnettop" ;bandwidth monitoring "keepassxc" "libjpeg" "libmtp" "libpcap" "libreoffice" "libssh" "libx11" "linphone-desktop" "lm-sensors" "lsof" "ltrace" "lvm2" ;for dmsetup "maim" ;take screenshots "make" "man-pages" "mesa-utils" "moreutils" "mpv" "mtr" "ncftp" ;for gnupload "nmap" "openssh" "openvpn" "parted" "pavucontrol" "perl" "pinentry" "pkg-config" "poppler" "pulseaudio" "pv" "python" "python-wrapper" "qemu" "recutils" "rofi" "rsync" "rtorrent" "screen" "setxkbmap" "shepherd" "sicp" "smartmontools" "spacefm" "stow" "strace" "sysstat" ;for iostat "tcpdump" "the-silver-searcher" ;ag "time" ;aliased to time+ "transmission" "transmission:gui" "tree" "unzip" "vinagre" "vorbis-tools" "weechat" "wget" "workrave" "wpa-supplicant" "xclip" "xdpyinfo" "xdg-utils" "xev" "xmodmap" "xournal" "xrandr" "xrdb" "xsetroot" "yelp" "gxtuner" "shellcheck" "wireguard-tools" "wireshark")) ;; SFL stuff -- todo extract in separate manifest (specifications->manifest '("ansible" "docker-compose" "emacs-adoc-mode" "emacs-clang-format" "emacs-clang-rename" "emacs-feature-mode" "picocom" "python-git-review" "sflvault-client" "sshpass" "ungoogled-chromium" "ddrescue"))))
L
L
Ludovic Courtès wrote 7 days ago
control message for bug #48903
(address . control@debbugs.gnu.org)
87zgw1it1d.fsf@gnu.org
severity 48903 importantquit
M
M
Maxime Devos wrote 6 days ago
Re: bug#48903: guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.
bd60b06842be6645d2947e49b709ad358e9516bc.camel@telenet.be
Toggle quote (7 lines)> 122.8 MB will be downloaded> libreoffice-6.4.7.2 117.1MiB 344KiB/s 03:04 [######### ] 52.7%guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.> substitution of /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffice-6.4.7.2 failed> guix package: error: some substitutes for the outputs of derivation `/gnu/store/9f8sffldy39mprihx6xgrs7hys9j75jm-libreoffice-6.4.7.2.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source> --8<---------------cut here---------------end--------------->8--->
I often have the same problem when I do "guix package -u".(Same error message, same package libreoffice, same derivation)(Usually libreoffice, sometimes with other packages as well.)
I don't know the cause though.
-----BEGIN PGP SIGNATURE-----
iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYL5bThccbWF4aW1lZGV2b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vdfAQDP7hYYsVYbCvm3aiDP7R0lxdSJhfH67m16fdVsGntpVgD/eOHTlj3H8LvnAZFI1ncxWKCNlbPIg8uMcgxKBa2hrwM==4APP-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote 3 days ago
(name . Maxime Devos)(address . maximedevos@telenet.be)
87wnr05tfz.fsf@gnu.org
Hi Maxim{,e}!
Maxime Devos <maximedevos@telenet.be> skribis:
Toggle quote (11 lines)>> 122.8 MB will be downloaded>> libreoffice-6.4.7.2 117.1MiB 344KiB/s 03:04 [######### ] 52.7%guix substitute: error: TLS error in procedure 'read_from_session_record_port': Error decoding the received TLS packet.>> substitution of /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffice-6.4.7.2 failed>> guix package: error: some substitutes for the outputs of derivation `/gnu/store/9f8sffldy39mprihx6xgrs7hys9j75jm-libreoffice-6.4.7.2.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source>> --8<---------------cut here---------------end--------------->8--->> >> I often have the same problem when I do "guix package -u".> (Same error message, same package libreoffice, same derivation)> (Usually libreoffice, sometimes with other packages as well.)
As a first step, can you reproduce the bug like this:
while echo substitute /gnu/store/44h13hn5zssfppz67vydxcf95qsc8qfw-libreoffice-6.4.7.2 /tmp/t | guix substitute --substitute ; do chmod -R +w /tmp/t && rm -rf /tmp/t; done
?
FWIW, I can’t seem to reproduce it with:
Toggle snippet (8 lines)$ guix describe Generacio 185 Jun 07 2021 15:07:46 (nuna) guix e3611cc repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: e3611cc412e7b1c750a56d17fb1b7cde684baa3f
TIA,Ludo’.
?