From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add darkhttpd. Date: Sun, 11 Sep 2016 15:52:42 +0200 Message-ID: <8737l6lf11.fsf@gnu.org> References: <20160909204158.GA4337@jasmine> <20160910065157.5289-1-arunisaac@systemreboot.net> <87oa3wtekf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj5Bi-0006JH-BF for guix-devel@gnu.org; Sun, 11 Sep 2016 09:52:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bj5Be-00065u-7T for guix-devel@gnu.org; Sun, 11 Sep 2016 09:52:49 -0400 In-Reply-To: (Arun Isaac's message of "Sat, 10 Sep 2016 18:00:38 +0530") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Arun Isaac Cc: guix-devel@gnu.org, Alex Kost Arun Isaac skribis: >> Why 'git-fetch'? There is a release tarball: >> >> https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.tar.bz2 > > Yes, there is a release tarball. But, there is some server side issue > with the url. When I try to download it with wget, I get a "The server > name sent was not recognized" warning. wget ignores this warning and > moves on. The guix downloader fails completely. Should the guix > downloader be patched to ignore this warning as well? > > The guix downloader output is shown below. > > $ guix download https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.tar.bz2 > > Starting download of /tmp/guix-file.9jzMRu > From https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.tar.bz2... > ERROR: Throw to key `gnutls-error' with args `(# handshake)'. > failed to download "/tmp/guix-file.9jzMRu" from "https://unix4lyfe.org/da= rkhttpd/darkhttpd-1.12.tar.bz2" > guix download: error: https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.tar.= bz2: download failed > > The wget downloader output is shown below. > > $ wget https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.tar.bz2 > > --2016-09-09 23:58:53-- https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.t= ar.bz2 > Resolving unix4lyfe.org (unix4lyfe.org)... 64.62.188.248, 2001:470:1:41::= 403e:bcf8 > Connecting to unix4lyfe.org (unix4lyfe.org)|64.62.188.248|:443... connect= ed. > GnuTLS: A TLS warning alert has been received. > GnuTLS: received alert [112]: The server name sent was not recognized This has to do with the TLS =E2=80=98SERVER NAME=E2=80=99 extension (info "= (gnutls) Server name indication"). Unfortunately gnutls-cli -p https unix4lyfe.org -VV doesn=E2=80=99t seem to provide helpful info. I don=E2=80=99t think we can easily ignore this alert in (guix build downlo= ad), and it=E2=80=99s really a server configuration issue in the first place. Ludo=E2=80=99.