View previous topic :: View next topic |
Author |
Message |
324874 Apprentice

Joined: 26 Jul 2014 Posts: 168
|
Posted: Fri Nov 27, 2015 5:58 pm Post subject: [SOLVED] Fetch gpg keys -- keyserver receive failed |
|
|
Hi,
I'm a new Gnu/Linux user. I've installed Gentoo many times in the last months (unfortunately, incorrectly). Now, I've learned more by reading a few books and i found interesting docs* and good links, references, in the Gentoo Wiki (a few months ago, I couldn't understand useful documents). So, at that time i couldn't manage a functionnal operating system. I've decided to reinstall Gentoo. When I'm trying to fetch** the key during the install process I get error messages.
Code: | gpg : requesting key 2D182910 from hkp server hkps.pool.sks-keyservers.net
gpg : keyserver timed out
gpg : keyserver receive failed : keyserver error
|
This seems to be similar to error messages in his post https://forums.gentoo.org/viewtopic-t-1012664-highlight-keyserver+error.html
and maybe that refers to the following bug report --> https://bugs.gentoo.org/show_bug.cgi?id=538852
Unfortunately, I don't understand how to get over the problem. Could someone help me ?
------------------------------
* Sakaki's guide, for example (https://wiki.gentoo.org/wiki/Sakaki%27s_EFI_Install_Guide/Configuring_and_Building_the_Kernel)
** https://www.gentoo.org/downloads/signatures/
------------------------------
goodbye,
neoptslap
Last edited by 324874 on Sat Feb 20, 2016 8:16 am; edited 4 times in total |
|
Back to top |
|
 |
toralf Developer


Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Fri Nov 27, 2015 7:26 pm Post subject: |
|
|
Maybe the server is really obsolete ? Try this in gpg.conf: Code: | keyserver pgp.mit.edu
keyserver-options timeout=60
|
|
|
Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Nov 27, 2015 8:31 pm Post subject: Re: How to get over gpg keyserver error ? |
|
|
neoptslap wrote: | Code: | gpg : requesting key 2D182910 from hkp server hkps.pool.sks-keyservers.net
gpg : keyserver timed out
gpg : keyserver receive failed : keyserver error |
|
neoptslap ... to add to what toralf suggest above, you can also provide a keyserver on the command line (though I'm not sure where exactly you're getting this error as I didn't read the provided link).
Code: | # gpg --keyserver keys.gnupg.net --recv-keys 2D182910 || gpg --keyserver pgp.mit.edu --recv-keys 2D182910 |
Also worth asking, you are online, and can resolve addresses, prior to the above error?
HTH & best ... khay |
|
Back to top |
|
 |
324874 Apprentice

Joined: 26 Jul 2014 Posts: 168
|
Posted: Fri Nov 27, 2015 8:40 pm Post subject: |
|
|
Good evening, toraf !
Thank you for your help !
I use the config file but the problem continues. I have the same error messages.
Code: | gpg --recv-keys 0x9E6438C817072058
gpg: requesting key 17072058 from hkp server pgp.mit.edu
gpg: keyserver timed out
gpg: keyserver receive failed : keyserver error
|
I think I'm gonna to read the Gentoo Wiki about GnuPG, the official documentation and the manual page* to learn a little more about using and configuring GnuPG.
* I didn't find the manual page about GnuPG, I know now that I have to search gpg !
Best regards,
neoptslap |
|
Back to top |
|
 |
toralf Developer


Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Fri Nov 27, 2015 9:30 pm Post subject: |
|
|
You didn't block the IP port ? : Code: | $ grep -i hkp /etc/services
hkp 11371/tcp # OpenPGP HTTP Keyserver
hkp 11371/udp
|
|
|
Back to top |
|
 |
324874 Apprentice

Joined: 26 Jul 2014 Posts: 168
|
Posted: Sat Nov 28, 2015 7:47 am Post subject: |
|
|
Hello !
Thank you Khayyam for your answer. Yes, I can resolve adresses but indeed the problem came from the internet transmissions (some parameters in the firewall protection).
Code: | root@sysresccd /root % ping -c 3 hkps.pool.sks-keyservers.net
PING hkps.pool.sks-keyservers.net (192.146.137.11) 56(84) bytes of data.
64 bytes from pgpkeys.co.uk (192.146.137.11): icmp_seq=1 ttl=51 time=44.6 ms
64 bytes from pgpkeys.co.uk (192.146.137.11): icmp_seq=2 ttl=51 time=44.2 ms
64 bytes from pgpkeys.co.uk (192.146.137.11): icmp_seq=3 ttl=51 time=44.0 ms
--- hkps.pool.sks-keyservers.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 44.087/44.330/44.612/0.276 ms
root@sysresccd /root % gpg --keyserver keys.gnupg.net --recv-keys 2D182910 || gpg --keyserver pgp.mit.edu --recv-keys 2D182910
gpg: requesting key 2D182910 from hkp server keys.gnupg.net
gpg: keyserver timed out
gpg: keyserver receive failed: Keyserver error
gpg: requesting key 2D182910 from hkp server pgp.mit.edu
gpg: keyserver timed out
gpg: keyserver receive failed: Keyserver error
|
toralf, indeed, the problem came from the IP ports. In my Internet Service Provider 's router, in the advanced configuration, I have to chose one level of security or configure the settings myself. So, I chose the high level of security. I change for the medium level of security and It's run.
Code: | root@sysresccd /root % gpg --keyserver hkps.pool.sks-keyservers.net --recv-keys 0x9E6438C817072058
gpg: requesting key 17072058 from hkp server hkps.pool.sks-keyservers.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 17072058: public key "Gentoo Linux Release Engineering (Gentoo Linux Release Signing Key) <releng@gentoo.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
|
Note : the command below, in my case, doesn't indicate change in the firewall's configuration of the Internet Service Provider's router
Code: | root@sysresccd /root % grep -i hkp /etc/services
hkp 11371/tcp # OpenPGP HTTP Keyserver
hkp 11371/udp
|
Thank you !
Best regards,
neoptslap |
|
Back to top |
|
 |
cornelius80 n00b

Joined: 06 Dec 2016 Posts: 1
|
Posted: Tue Dec 06, 2016 6:15 am Post subject: gpg: keyserver receive failed: keyserver error |
|
|
Hello everyone,
After trying the steps from here and here
I am still encountering the following error while trying to validate my download.
gpg --keyserver subkeys.pgp.net --recv-keys 0xBB572E0E2D182910
gpg: requesting key 2D182910 from hkp server subkeys.pgp.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
Any ideas on how to solve this?
Kind Regards,
Cornelius |
|
Back to top |
|
 |
|