Subject: bug#50890: 27.2; Can't connect to elpa.gnu.org

From: Stefan Kangas <[email-masked]>
Date: Wed, 29 Sep 2021 08:20:24 -0700

Stephan Hradek <[email-masked]> writes:

> Trying to do a package-refresh-contents my emacs times out reporting
>
> error in process sentinel: Error retrieving: https://elpa.gnu.org/packages/archive-contents (error connection-failed "connect" :host
> "elpa.gnu.org" :service 443) [2 times]
>
> Trying with M-x eww to load that url fails
>
> Other URLs like gnu.org or ix.de work

It works for me.  Did you try getting that file with wget or curl?

Could you try it again, to exclude some intermittent network failure?