Closed longquan7 closed 6 years ago
Keyserver issues are unfortunately very common -- we've tried a number of different methods, and the only method that's reasonably successful at combating the issue on a large scale is trying multiple keyservers in a loop until one succeeds. Usually, just re-starting the failing build is enough to get it to work in our testing, but there may be firewalls, etc in place that force a keyserver switch (keyserver.ubuntu.com
is a good one that supports port 80 and is commonly allowed).
@tianon OK,thanks,I will try it
Experiencing the same, tho restarting doesn't help - it happens on every run since some days when using ha.pool.sks-keyservers.net
, on multiple machines.
Seems that using keyserver.ubuntu.com
also fails. Not sure the keyservers are the actual problem.
Thanks, I was take it . I found I was work with proxy,So I was used by this way to resolve. gpg --keyserver-options http-proxy="http://xxxx:xxxx@proxy:8080" --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
@longquan7 This is the way I solved it. Give it a try :)
for server in ha.pool.sks-keyservers.net \
hkp://p80.pool.sks-keyservers.net:80 \
keyserver.ubuntu.com \
hkp://keyserver.ubuntu.com:80 \
pgp.mit.edu; do
gpg --keyserver "$server" --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 && break || echo "Trying new server..."
done
@camilo0365 Because I was use proxy, So this is the way I sovled my problem :)
'gpg --keyserver-options http-proxy="http://XXXXXXX"
--keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D'
I solved it by u getting it from multiple servers.. Not ideal but it works
key='B42F6819007F00F88E364FD4036A9C25BF357DD4'; \
gpg --yes --always-trust --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --yes --always-trust --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --yes --always-trust --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" ; \
gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; \
Hi, I am trying to install this:
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4
its giving:
problem with server ? when I was used "gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4" have the same problem.