From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bengt Richter Subject: bug#38171: guix lynx can not connect, ArchLinux lynx can, why? Date: Mon, 11 Nov 2019 13:08:33 -0800 Message-ID: <20191111210833.GA128109@PhantoNv4ArchGx.localdomain> Reply-To: Bengt Richter Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55180) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUGvp-0002pG-Be for bug-guix@gnu.org; Mon, 11 Nov 2019 16:09:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUGvn-00075o-Em for bug-guix@gnu.org; Mon, 11 Nov 2019 16:09:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47249) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUGvm-00075e-GF for bug-guix@gnu.org; Mon, 11 Nov 2019 16:09:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iUGvm-0003A7-8n for bug-guix@gnu.org; Mon, 11 Nov 2019 16:09:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:55153) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUGva-0002f2-6G for bug-guix@gnu.org; Mon, 11 Nov 2019 16:08:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUGvY-00071q-EU for bug-guix@gnu.org; Mon, 11 Nov 2019 16:08:49 -0500 Received: from imta-38.everyone.net ([216.200.145.38]:57164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iUGvY-000718-65 for bug-guix@gnu.org; Mon, 11 Nov 2019 16:08:48 -0500 Received: from pps.filterd (omta003.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id xABL5gbm022081 for ; Mon, 11 Nov 2019 13:08:45 -0800 Received: by m0116293.mta.everyone.net (EON-AUTHRELAY2 - 32d0d199) id m0116293.5dc217be.179885 for ; Mon, 11 Nov 2019 13:08:42 -0800 Content-Disposition: inline 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" To: 38171@debbugs.gnu.org Hi Guix, Sorry about the vterm escapes, but perhaps it's easy to see for someone anyway? Both lynxes started and both use the same lynx.cfg and lynx.lss in /etc/. I selected a bookmark link to duckduckgo and /usr/bin/lynx got there, but guix lynx did not. Either way, I just exited lynx, so make the strace as small as possible. The first lines from the greps show a TLS difference -- (why? different internal defaults?) and is that the explanation? Can I fix it with /etc/lynx.cfg? guix describe: Generation 22 Nov 08 2019 17:49:27 (current) guix be4f2d9 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: be4f2d9451344701599b6dc000c0345ce53b2128 The respective lynxes: /gnu/store/7vwm0ly476k7p2spbwxsqr2p7khg69yc-lynx-2.8.9rel.1/bin/lynx: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped /usr/bin/lynx: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=9a1efceaaead8942151b0719125d63cbd4e296cf, stripped Results: --8<----(guix lynx)-----------cut here---------------start------------->8--- [12:07 ~/bs]$ egrep -E '(Alert|TLS|HTTP)' lynx-gx.strace 122385 write(1, "\33[0;10;1m\17\33[33m\33[44mSecure 256-bit TLS1.3 (ECDHE_RSA_AES_256_GCM_SHA384) HTTP co"..., 91) = 91 122385 write(1, "\33[0;10;1m\17\33[33m\33[44mnding HTTP request.\33[K", 42) = 42 122385 write(1, "\33[0;10;1m\17\33[33m\33[44mHTTP request sent; w", 40) = 40 122385 write(1, "\33[0;10;1m\17\33[33m\33[41mAlert!: Unexpected network read error; connection aborted.\33["..., 81) = 81 122385 write(1, "\33[0;10;1m\17\33[33m\33[41mAlert!: Unable to access document.\33[K", 57) = 57 --8<----(guix lynx)-----------cut here---------------end--------------->8--- --8<----(ArchLinux lynx)-----------cut here---------------start------------->8--- [12:07 ~/bs]$ egrep -E '(Alert|TLS|HTTP)' lynx-usr.strace 122308 write(1, "\33[0;10;1m\17\33[33m\33[44mSecure 256-bit TLSv1.3 (TLS_AES_256_GCM_SHA384) HTTP connect"..., 86) = 86 122308 write(1, "\33[0;10;1m\17\33[33m\33[44mnding HTTP request.", 39) = 39 122308 write(1, "\33[0;10;1m\17\33[33m\33[44mHTTP request sent; w", 40) = 40 122308 write(1, "\33[0;10;1m\17\33[33m\33[44mHTTP/1.1 302 Moved Temporarily", 50) = 50 122308 write(1, "\33[0;10;1m\17\33[33m\33[44mSecure 256-bit TLSv1.3 (TLS_AES_256_GCM_SHA384) HTTP connect"..., 86) = 86 122308 write(1, "\33[0;10;1m\17\33[33m\33[44mnding HTTP request.", 39) = 39 122308 write(1, "\33[0;10;1m\17\33[33m\33[44mHTTP request sent; w", 40) = 40 122308 write(1, "\33[0;10;1m\17\33[33m\33[44mHTTP/1.1 200 OK\33[K", 38) = 38 --8<----(ArchLinux lynx)-----------cut here---------------end--------------->8--- --8<----(strace cmds)-----------cut here---------------start------------->8--- [12:07 ~/bs]$ # above from: strace -s 80 -yfo lynx-gx.strace lynx [12:15 ~/bs]$ # and: strace -s 80 -yfo lynx-usr.strace /usr/bin/lynx --8<----(strace cmds)-----------cut here---------------end--------------->8--- I've got the whole strace logs still, in case you want me to grep out something more. TIA -- Regards, Bengt Richter