Skip to content

Fallback to IPv4 pool to fix keyserver receive failed #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2018
Merged

Conversation

tomverin
Copy link
Contributor

Fix the random failure while receiving GPG key. Error comes from SKS Keyservers high-availability pool containing some IPv6-only servers

nodejs/docker-node#380

Fix by adding a conditional expression to fallback to the IPv4-only SKS pool if we get an IPv6 server from the high-availability pool.

@tomverin tomverin requested a review from Godin September 27, 2018 08:06
@Godin Godin merged commit b4e20d9 into master Sep 27, 2018
@Godin Godin deleted the fix/keyserver branch September 27, 2018 22:06
@Godin
Copy link
Member

Godin commented Sep 27, 2018

@tomverin even if was merged, not sure that this is enough:

+ gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
gpg: keybox '/tmp/tmp.35MM0H72yM/pubring.kbx' created
gpg: keyserver receive failed: Cannot assign requested address
+ gpg --keyserver ipv4.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
gpg: keyserver receive failed: No data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants