When using HKPS, invoking recv-key on GnuPG 2.1.6 fails with a «general error».
This might be the same issue reported in T1851
. The issue was reported to be fixed in 2.1.3, but I still run into it on 2.1.6.
$ gpg --recv-keys 5EE1DBA789C809CB
gpg: reading options from '/home/seb/.gnupg/gpg.conf'
gpg: enabled debug flags: ipc
gpg: DBG: chan_3 <- # Home: /home/seb/.gnupg
gpg: DBG: chan_3 <- # Config: /home/seb/.gnupg/dirmngr.conf
gpg: DBG: chan_3 <- OK Dirmngr 2.1.6 at your service
gpg: DBG: chan_4 <- # Home: /home/seb/.gnupg
gpg: DBG: chan_4 <- # Config: /home/seb/.gnupg/dirmngr.conf
gpg: DBG: chan_4 <- OK Dirmngr 2.1.6 at your service
gpg: DBG: connection to the dirmngr established
gpg: DBG: chan_4 -> KEYSERVER --clear hkps://hkps.pool.sks-keyservers.net
gpg: DBG: chan_4 <- OK
gpg: DBG: chan_4 -> KS_GET -- 0x5EE1DBA789C809CB
gpg: DBG: chan_4 <- ERR 1 General error <Unspecified source>
gpg: keyserver receive failed: General error
gpg: DBG: chan_4 -> BYE
gpg: secmem usage: 0/32768 bytes in 0 blocks