Subject: bug#36704: 27.0.50; Error retrieving: https://elpa.gnu.org/packages/archive-contents

From: "Basil L. Contovounesios" <[email-masked]>
Date: Wed, 17 Jul 2019 15:54:57 +0100

Sam Steingold <[email-masked]> writes:

> M-x package-list-packages RET U

Missing 'x' after 'U'?

> results in
>
> Debugger entered--Lisp error: (error "Error retrieving: https://elpa.gnu.org/packages/archive-contents (error connection-failed \"connect\" ...")
>   signal(error ("Error retrieving: https://elpa.gnu.org/packages/ar..."))
>   #f(compiled-function (status) #<bytecode 0x1fe486625009>)((:error (error connection-failed "connect" :host "elpa.gnu.org" :service 443)))
>   apply(#f(compiled-function (status) #<bytecode 0x1fe486625009>) (:error (error connection-failed "connect" :host "elpa.gnu.org" :service 443)))
>   url-http-activate-callback()
>   url-http-async-sentinel(#<process elpa.gnu.org> "connect")

Works here FWIW, but for a while now I've had 209.51.188.89 in place of
elpa.gnu.org in package-archives due to some IPv6 issues.  I haven't
checked whether I can go back to the default elpa.gnu.org since.

Have you tried setting gnutls-log-level?

-- 
Basil