Search returns nothing, Refresh fails both in the GUI and CLI
An error occurred while trying to refresh OpenPGP certificates.
The output from
C:\Program Files (x86)\GnuPG\bin\gpg.exe was: gpg: refreshing 5 keys from hkps://keyserver.ubuntu.com gpg: keyserver refresh failed: Server indicated a failure
gpg: refreshing 5 keys from hkps://keyserver.ubuntu.com
gpg: keyserver refresh failed: Server indicated a failure
do you still have the problem? I tried to reach the server with gpg on Debian and Windows and it worked without any problem. Maybe the server was down at the time you tried to update the keys.
If the problem still occures: Is it possible for you to access the keyserver in the browser (https://keyserver.ubuntu.com/) and what version of GnuPG are you using?
Same issue, no changes.
I can access the keyserver via browser and get valid search results.
Which version of gpg are you using?
You could also try one of these servers: https://spider.pgpkeys.eu/sks-peers
So you can see if the problem only occurs with the keyserver of Ubuntu or generally.
Win 10 x64
I tried many other servers before I posted here, same story. I just installed Kleopatra on another Win 10 computer and that works fine so it’s something just with this one machine. I did an in-place upgrade, no changes. I guess I could uninstall and reinstall but will that delete my certs?
a deinstallation and reinstallation normally leaves the user data intact.
(Anyway, just make a backup, because the first rule of computer usage is: If you love your data, you copy it.)
Note that there is a rare defect triggered by some changes in Let’s encrypt a few months ago,
which have to do with the TLS certificates and which your windows system has in its store.
(Very technical details in https://dev.gnupg.org/T5882 and https://dev.gnupg.org/T5639)
However it is also possible that some networking problem exists and blocks access to this port. A personal or network firewall sometimes does this, or usage of a VPN, which changes your network characteristics.