GNU bug report logs - #36017
27.0.50; TLS 1.3 on macOS exhibits similar issue to #34341

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Fri, 31 May 2019 01:46:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Joseph Mingrone <jrm <at> ftfl.ca>
To: Aaron Jensen <aaronjensen <at> gmail.com>
Cc: Robert Pluim <rpluim <at> gmail.com>, 36017 <at> debbugs.gnu.org, Noam Postavsky <npostavs <at> gmail.com>
Subject: bug#36017: 27.0.50; TLS 1.3 on macOS exhibits similar issue to #34341
Date: Wed, 07 Aug 2019 15:34:24 -0300
[Message part 1 (text/plain, inline)]
Aaron Jensen <aaronjensen <at> gmail.com> writes:

> On Mon, Jun 3, 2019 at 2:11 AM Robert Pluim <rpluim <at> gmail.com> wrote:
>> I have the same versions of libgnutls and macOS, and I donʼt see
>> this (but I donʼt use ghub). Can you try (from emacs -Q)

>> M-x eww RET www.gmail.com

>> That fails for me with e87e6a24c49542111e669b7d0f1a412024663f8e
>> reverted, and works with the latest emacs master.

> This works for me. I only get the error while creating a pull request,
> so perhaps it is limited to POST requests?

> Try this in emacs -Q:

> (let (
>       ;; (gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
>       (url-request-method "POST")
>       (url-request-data "{}")
>       (url-request-extra-headers '(("Authorization" . "token XXX")
>                                    ("Content-Type" . "application/json"))))
>   (switch-to-buffer
>    (url-retrieve
>     "https://api.github.com/repos/facebook/react/pulls"
>     (lambda (status)
>       (error "Staus: %S" status)))))

> For me, I get a blank buffer and then a connection error.

> If I uncomment the gnutls-algorithm-priority, it works as expected (it
> should 401 because of the invalid token). Like the other bug, once the
> connection is established once, setting gnutls-algorithm-priority or
> not makes no difference.

Hello,

npostavs on #emacs <at> freenode pointed me here.

I am running FreeBSD 12.0 and a master build from today (d5622eb from
2019-08-07) and also get: error in process sentinel: Staus: (:error
(error connection-failed "connect" :host "api.github.com" :service 443))

`list-packages' gives a similar error: error in process sentinel: Error
retrieving: https://elpa.gnu.org/packages/archive-contents (error
connection-failed "connect" :host "elpa.gnu.org" :service 443)

--
Joseph
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 312 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.