Skip to content
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

Cannot install rvm. gpg key install fails. Server receive failed #4404

Closed
rithvik1705 opened this issue Jun 9, 2018 · 6 comments
Closed

Comments

@rithvik1705
Copy link

Cannot install rvm gpg key.

Error pops up 'keyserver receive failed.No keyserver available'

Steps to reproduce

  1. open terminal
  2. paste gpg install key

rvm error

@rithvik1705 rithvik1705 changed the title Cannot install rvm. gpg key install fails. Server receive failed #Cannot install rvm. gpg key install fails. Server receive failed Jun 9, 2018
@rithvik1705 rithvik1705 changed the title #Cannot install rvm. gpg key install fails. Server receive failed Cannot install rvm. gpg key install fails. Server receive failed Jun 9, 2018
@x-yuri
Copy link

x-yuri commented Jun 14, 2018

Is it just me, or my comment was deleted...

Anyways, keys.gnupg.net is a pool of servers:

$ dig +noall +answer keys.gnupg.net
keys.gnupg.net.         59897   IN      CNAME   hkps.pool.sks-keyservers.net.
hkps.pool.sks-keyservers.net. 1381 IN   A       51.15.53.138
hkps.pool.sks-keyservers.net. 1381 IN   A       18.191.65.131
hkps.pool.sks-keyservers.net. 1381 IN   A       176.9.147.41
hkps.pool.sks-keyservers.net. 1381 IN   A       18.9.60.141
hkps.pool.sks-keyservers.net. 1381 IN   A       37.191.226.104
hkps.pool.sks-keyservers.net. 1381 IN   A       193.164.133.100
hkps.pool.sks-keyservers.net. 1381 IN   A       216.66.15.2

Not all of them work. And even not all of them work all the time. See for yourself:

while true; do
    for ip in $(dig +noall +answer keys.gnupg.net | tail +2 | awk '{print $NF}'); do
        gpg --delete-keys --yes --batch 409B6B1796C275462A1703113804BB82D39DC0E3 &> /dev/null
        gpg --keyserver hkp://"$ip" --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 2>&1 \
            && echo "+$ip"
            || echo "-$ip"
        sleep 1
    done
done

@hermanomark
Copy link

I have the same problem, any update on this?

@x-yuri
Copy link

x-yuri commented Sep 29, 2018

@hermanomark Does it fail under vagrant? Try the CNAME: hkps.pool.sks-keyservers.net.

@hermanomark
Copy link

hermanomark commented Oct 1, 2018

@x-yuri nevermind. I managed to fix the issue I followed this source: #4215

I'm using it on windows 10 though so its futile lol mingw is not supported by rvm

@sammcj
Copy link

sammcj commented Dec 27, 2018

Note: #4215 (comment)

@pkuczynski
Copy link
Member

We just released a new version 1.29.7 fixing this issue.

Become a backer and support us with a small donation to help us continue our activities. Thank you if you already one! 🙏

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

No branches or pull requests

5 participants