From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#36017: 27.0.50; TLS 1.3 on macOS exhibits similar issue to #34341 Date: Mon, 3 Jun 2019 17:41:07 +0100 Message-ID: <20190603164107.GB6381@breton.holly.idiocy.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81401"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.0 (2019-05-25) Cc: 36017@debbugs.gnu.org, Aaron Jensen To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 03 18:42:33 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXq2b-000L2w-4I for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2019 18:42:33 +0200 Original-Received: from localhost ([127.0.0.1]:37906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXq2a-0005aR-2v for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2019 12:42:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXq27-0005Jc-Ac for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2019 12:42:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXq26-0001Qv-BM for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2019 12:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57579) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXq26-0001P8-2f for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2019 12:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hXq25-0005TF-TH for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2019 12:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2019 16:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36017 X-GNU-PR-Package: emacs Original-Received: via spool by 36017-submit@debbugs.gnu.org id=B36017.155958007820969 (code B ref 36017); Mon, 03 Jun 2019 16:42:01 +0000 Original-Received: (at 36017) by debbugs.gnu.org; 3 Jun 2019 16:41:18 +0000 Original-Received: from localhost ([127.0.0.1]:42890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXq1O-0005S9-0T for submit@debbugs.gnu.org; Mon, 03 Jun 2019 12:41:18 -0400 Original-Received: from mail-wm1-f68.google.com ([209.85.128.68]:52338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXq1L-0005Rw-Rr for 36017@debbugs.gnu.org; Mon, 03 Jun 2019 12:41:16 -0400 Original-Received: by mail-wm1-f68.google.com with SMTP id s3so4597000wms.2 for <36017@debbugs.gnu.org>; Mon, 03 Jun 2019 09:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=IdbxjANJgWMcUjLysKIYQ4ir+CLZGu88xTN+bFXUCSc=; b=gh33raaFsNPf1BxstdCmfpW5GRjv79KBaFeaVkZj8+35xNllFLYpHxqdtNmY87BR3d sJA6m97SGZCuNwLpn6YSN/pntyk7cQT+tqg2CjVnxUMMU4og61R0T6V88XwKo/sevtrH lfbX87XAzAXRRWTdCAkGLVqcO3XcUM53MtDTx3scsutnh9o7nfol5meVs3RfWTy9gD+M Jxr20t+0q0704W01hjgZDKy8pZi2S1UqTCuski5AIbvnK7vNNBkGRctmwP8SsWG/txrL ijAZx50DGTeEipRkzajst/SG1GGoZj9fklVhE2pPNRrzoZe7wWtaxROdjZ+sqwIOUHZr DrWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=IdbxjANJgWMcUjLysKIYQ4ir+CLZGu88xTN+bFXUCSc=; b=ZNNwedopZWb+smoIOEW4SgxyyOae4pvP+KRP7aAqNLbwQWVEabGJApRLSg0A7s1Q9n LdJT5eZ1AThJYgz74if/xr/Le6F3n8SFN6gycs5WkyghZgYxwHy5doWq6TOmVg8iaZYO Fb+2+haHxxNR1Y78Vk1Oi6vIXkC5Eq5ug3qRNxOVwbHfH76DmydRjWscK11J/PmQoocT Y3EUyEysTEmubOOjg5MyuvgcoD9r9gCDD+qFpMbIVD1kWcWqzBNiX56KMwN6Jqyrj6w/ sZHoCFEC1QzgWpi6k+NTj/y1ZJbUTcdDJ+Is7HMlAk7/PphF5ejgatvA8Jo3aaacWIBX 1y2g== X-Gm-Message-State: APjAAAVysfLsgdPlXmGReHnvZ9SfR4VT6MlWgfh2X6f5CwVDJMogbtVX l1y1gLVCdPFNiVQRRA8Pk80= X-Google-Smtp-Source: APXvYqx5ln/juqI/Fj7dNGs2Ku5bMPqxmxWPTLfJWGiAct8FcM5WCXIaqWuhSn16xgqUbkEKaJLMdQ== X-Received: by 2002:a7b:c549:: with SMTP id j9mr3154180wmk.114.1559580069708; Mon, 03 Jun 2019 09:41:09 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-b813-8999-3371-7771.holly.idiocy.org. [2001:8b0:3f8:8129:b813:8999:3371:7771]) by smtp.gmail.com with ESMTPSA id y12sm7713979wrr.3.2019.06.03.09.41.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jun 2019 09:41:09 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160062 Archived-At: On Mon, Jun 03, 2019 at 12:05:41PM +0200, Robert Pluim wrote: > >>>>> On Mon, 3 Jun 2019 02:53:06 -0700, Aaron Jensen said: > > Aaron> (let ( > Aaron> ;; (gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") > Aaron> (url-request-method "POST") > Aaron> (url-request-data "{}") > Aaron> (url-request-extra-headers '(("Authorization" . "token XXX") > Aaron> ("Content-Type" . "application/json")))) > Aaron> (switch-to-buffer > Aaron> (url-retrieve > Aaron> "https://api.github.com/repos/facebook/react/pulls" > Aaron> (lambda (status) > Aaron> (error "Staus: %S" status))))) > > Aaron> For me, I get a blank buffer and then a connection error. > > Aaron> If I uncomment the gnutls-algorithm-priority, it works as expected (it > Aaron> should 401 because of the invalid token). Like the other bug, once the > Aaron> connection is established once, setting gnutls-algorithm-priority or > Aaron> not makes no difference. > > And that recipe works fine for me. Iʼll have to try again later today > when I can use a different network that I have more control over. > > One last thought: are you connecting over IPv4 or IPv6? (Iʼm currently > on an IPv4 only network) I can’t replicate either, although I’ve no idea what version of libgnutls I’m using. -- Alan Third