You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gpg: keyserver receive failed: Address not available #380
(Came here through Google after having the same error in a different container.)
In my case, the error with [ha.]pool.sks-keyservers.net was related to IPv4 vs. IPv6: GPG's dirmngr might select a v6 server from the pool and try to connect to it, even though it doesn't have v6 connectivity inside the container.
I'm not sure whether this is a bug in Docker or dirmngr, but there is at least this bug related to dirmngr and IPv6.
If one wants stay with sks-keyservers, ipv4.pool.sks-keyservers.net can be used.
Reacted by Daniel Quinn, Andrew Phillips, Ron Arts, Stephen Lacy, Stefan Nordhausen, Bryan Stitt, Dimitrios Karagiannis, Nikolay Kushin, Zlatko Čalušić, Andrew Kravchuk and 29 more
Reacted by Artem Melnyk, Nikos Paschos, Lenin Jose Meza Zarco, Domantas, Kevin Robatel, Adam Hanna, deniska-info, dekey, Thomas Gamauf, Irzhy Ranaivoarivony and 2 more
Reacted by Adam Hanna, Wojciech Bartosiak and Kote Mushegiani
Reacted by Serghei Iakovlev, Adam Hanna and Kote Mushegiani
Activity
chorrell commentedon Apr 20, 2017
That looks like a possible network issue in your docker setup. We also recently updated the docker files to try more than one key server:
https://github.com/nodejs/docker-node/blob/master/6.10/Dockerfile#L18
We would get periodic failures with ha.pool.sks-keyservers.net
F30 commentedon Jun 6, 2017
(Came here through Google after having the same error in a different container.)
In my case, the error with [ha.]pool.sks-keyservers.net was related to IPv4 vs. IPv6: GPG's dirmngr might select a v6 server from the pool and try to connect to it, even though it doesn't have v6 connectivity inside the container.
I'm not sure whether this is a bug in Docker or dirmngr, but there is at least this bug related to dirmngr and IPv6.
If one wants stay with sks-keyservers, ipv4.pool.sks-keyservers.net can be used.
nicolas-albert commentedon Dec 1, 2017
Thank @chorrell , I fixed my Dockerfiles with your workaround 👍
Use ipv4 keyservers to fix failing builds.
chorrell commentedon May 25, 2018
Also see:
CLI integration tests: Set reliable default keyserver.
CLI integration tests: Set reliable default keyserver.
CLI integration tests: Set reliable default keyserver.
CLI integration tests: Set reliable default keyserver.
CLI integration tests: Set reliable default keyserver.
Force ipv4 keyserver as per nodejs/docker-node#380
CLI integration tests: Set reliable default keyserver.
Try multiple keyservers
Adds keyserver fallbacks
Added several gpg keyserver.
Make the keyserver lookup more robust