"keyserver receive failed: Try again later" on macOS

Andrew Gallagher andrewg at andrewg.com
Mon Jun 16 11:53:34 CEST 2025


On 14 Jun 2025, at 21:36, Walt Mankowski via Gnupg-users <gnupg-users at gnupg.org> wrote:
> 
> Every time I try to import a key, it fails almost immediately with the error
> 
> gpg: keyserver receive failed: Try again later
> 
> I've tried a number of different keyservers and keep getting the same error. I have an Ubuntu box on the same network. I've run the same command on each box, for example:
> 
> gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 77D4D81DC47D68FA9E9E6A7C5DF19E2B67A7B584
> 
> This imports the key on Ubuntu but gives me the "Try again later" error on macOS.
> 
> I looked online for help but didn't find very much. I've set ~/.gnupg/dirmngr.conf to
> 
> log-file ~/.gnupg/dirmngr.log
> debug-level guru
> standard-resolver
> 
> and restarted dirmngr, but that had very little effect. In particular nothing gets logged to dirmngr.log.

This is most likely a name resolution error. What are the contents of your /etc/resolv.conf file?

A

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250616/27a2417f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250616/27a2417f/attachment.sig>


More information about the Gnupg-users mailing list