"keyserver receive failed: Try again later" on macOS
Walt Mankowski
waltman at pobox.com
Sat Jun 14 22:36:03 CEST 2025
Hi,
I recently got a new MacBook Air and I'm having trouble setting up gpg on it. I'm running macOS Sequoia 15.5 and the laptop has an Apple M4 chip.
I installed gpg 2.4.8 using homebrew and copied my .gnupg directory from my older Intel-based MacBook Pro. It can use existing keys just fine, but it fails to import any new keys.
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.
Has anyone else seen this behavior before and know how to fix it? If not, I'd appreciate some advice on how to get it to log more diagnostic info, because I'm pretty much stuck now.
Thanks.
Walt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250614/bd4360c3/attachment-0001.html>
More information about the Gnupg-users
mailing list