Добрый день, такая же проблема Could not handshake: Error in the pull function. [IP: 151.101.194.217 443]
Так делаю
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
sudo apt update
sudo apt install --install-recommends winehq-stable
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
curl -LI 'dl.winehq.org/wine-builds/ubuntu'
HTTP/1.1 301 Moved Permanently
Server: Apache
Strict-Transport-Security: max-age=31536000
Cache-Control: max-age=604800
Location: https://dl.winehq.org/wine-builds/ubuntu/
Content-Type: text/html; charset=iso-8859-1
Via: 1.1 varnish, 1.1 varnish
Fastly-Debug-Digest: e2b589d03d9686a6abd9b06db799eccc156c2a6e34639a4cda4e671eadde308c
Content-Length: 249
Accept-Ranges: bytes
Date: Wed, 08 Sep 2021 09:35:02 GMT
Age: 1116896
Connection: keep-alive
X-Served-By: cache-ord1740-ORD, cache-hhn4047-HHN
X-Cache: HIT, HIT
X-Cache-Hits: 1, 1
X-Timer: S1631093703.576586,VS0,VE1
HTTP/2 200
server: Apache
strict-transport-security: max-age=31536000
cache-control: max-age=604800
access-control-allow-origin: *
content-type: text/html;charset=UTF-8
via: 1.1 varnish, 1.1 varnish
fastly-debug-digest: 8a890ea386d2255ecaf3485c4cd6ff0c25664bd2412c0567214d5b57ff283e19
accept-ranges: bytes
date: Wed, 08 Sep 2021 09:35:02 GMT
age: 1072046
x-served-by: cache-ord1743-ORD, cache-hhn4049-HHN
x-cache: HIT, HIT
x-cache-hits: 1, 1
x-timer: S1631093703.834958,VS0,VE1
vary: Accept-Encoding
content-length: 3640