tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/100962-gpg-keychain-unable-to-access-keyserverGPGTools: Discussion 2019-09-04T14:48:48Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/474426672019-07-16T20:07:50Z2019-09-04T14:48:35ZGPG Keychain: unable to access keyserver<div><p>As noted above. Text is:</p>
<p>Details:<br>
Search keys failed! (Server indicated a failure)<br>
Code = 219<br>
Error text:<br>
gpg: error searching keyserver: Server indicated a failure<br>
gpg: keyserver search failed: Server indicated a failure</p>
<p>Also, when I go into Settings to select a key server, it tells me all of them are unreachable.</p>
<p><strong>Expected</strong><br>
to be able to connect to the key server!</p>
<pre>
<code>macOS 10.14.5 18F203
GPG Suite 2018.5 2368 (6f26711)
GPG Mail 3.0.1 1330 (807c323e) 30 trial days remaining
GPG Keychain 1.4.6 1514 (560b5a9)
GPG Services 1.11.6 1056 (ad0c960)
MacGPG 2.2.10 921 (b487092)
GPG Suite Preferences 2.1.4 1077 (ad934a9)
Libmacgpg 0.8.7 895 (78f424a)
pinentry 1.1.0 10 (1ff8803)</code>
</pre></div>Stephen Rosenfeldtag:gpgtools.tenderapp.com,2011-11-04:Comment/474426672019-07-22T13:45:33Z2019-09-04T14:48:35ZGPG Keychain: unable to access keyserver<div><p>Hi Stephen,</p>
<p>welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.</p>
<p>Unfortunately there are a variety of reasons why a key search can fail.</p>
<p>Is there any chance that you are using Little Snitch or any other firewall on your Mac? If so, please temporarily disable that software and repeat your search.</p>
<p>Can you let us know which key server address you see in GPG Keychain > Preferences > Key Server. What happens if you switch to the other default key servers in the list?</p>
<p>In an upcoming release we will switch the default key server to keys.openpgp.org. Our <a href="https://releases.gpgtools.org/nightlies/">nightly build</a> includes MacGPG 2.2.17 and adds support for the new key server.</p>
<p>We have two KB articles covering this:</p>
<ul>
<li><a href="https://gpgtools.tenderapp.com/kb/faq/key-server">Key Server</a></li>
<li><a href="https://gpgtools.tenderapp.com/kb/gpg-keychain-faq/upload-and-verify-a-key">Upload and verify a key</a></li>
</ul>
<p>All the best,<br>
Steve</p>
<p>Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/474426672019-08-26T17:43:28Z2019-09-04T14:48:34ZGPG Keychain: unable to access keyserver<div><p>I'm able to reproduce this issue on a fresh install of GPGTools 2019.1 & 2018.5 (it's OK in 2506n, but stops working sometime before 2539).</p>
<p>It seems like the newer version of the GPGTools.Org suite fails to assume tcp port numbers for hkp as 11371 & hkps as 443 if a DNS SRV query to determine the published port number fails. Setting the port number manually in the keyserver seems to work around this:</p>
<p>NO GOOD: hkps://hkps.pool.sks-keyservers.net<br>
GOOD: hkps://hkps.pool.sks-keyservers.net:443</p>
<p>NO GOOD: hkp://pool.sks-keyservers.net<br>
GOOD: hkp://pool.sks-keyservers.net:11371</p></div>gpg_dudetag:gpgtools.tenderapp.com,2011-11-04:Comment/474426672019-08-26T18:27:43Z2019-09-04T14:48:34ZGPG Keychain: unable to access keyserver<div><p>@gpg_dude Can you please try to reproduce the problem using the current nightly (2541n).</p>
<p>Both<br>
hkps://hkps.pool.sks-keyservers.net<br>
hkp://pool.sks-keyservers.net<br>
worked as expected in a test.</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/474426672019-08-26T18:50:23Z2019-09-04T14:48:34ZGPG Keychain: unable to access keyserver<div><p>I get the same behavior with 2541n - here is the exact message reported by the GUI:</p>
<p>"The key server you have entered is not working. Please check the key server address. It should look something like this hkp://some.key.server.org</p>
<p>The key server could also be offline. In that case, please use another key server"</p></div>gpg_dudetag:gpgtools.tenderapp.com,2011-11-04:Comment/474426672019-09-02T11:45:52Z2019-09-04T14:48:34ZGPG Keychain: unable to access keyserver<div><p>Hi gpg_dude,</p>
<p>I have split your case into a separate discussion as I think you are seeing a different problem from the original poster. Let's continue your case here: <a href="https://gpgtools.tenderapp.com/discussions/problems/101674-gpg-keychain-unable-to-access-keyserver">https://gpgtools.tenderapp.com/discussions/problems/101674-gpg-keyc...</a></p>
<p>@Stephen: Are you still seeing your problem after updating to GPG Suite 2019.1 and macOS 10.14.6 including the Supplement Updates from Apple?</p>
<p>All the best,<br>
Steve</p></div>Stevetag:gpgtools.tenderapp.com,2011-11-04:Comment/474426672019-09-03T14:30:00Z2019-09-04T14:48:34ZGPG Keychain: unable to access keyserver<div>It’s now connecting to the key servers. Thank you!</div>
<div><br></div>
<div>Stephen</div>
<br>
<div class="gmail_signature"></div>
<br>
<p class="airmail_on">On September 2, 2019 at 7:45:57 AM, Steve (<a href="mailto:tender2+d564c36604@tenderapp.com">tender2+d564c36604@tenderapp.com</a>) wrote:</p>
<blockquote type="cite" class="clean_bq">
<div>
<div><span>// Please reply above this line<br>
==================================================<br>
From: Steve (Support staff)<br>
Subject: GPG Keychain: unable to access keyserver<br>
<br>
Hi gpg_dude,<br>
<br>
I have split your case into a separate discussion as I think you are seeing a different problem from the original poster. Let's continue your case here: https://gpgtools.tenderapp.com/discussions/problems/101674-gpg-keychain-unable-to-access-keyserver<br>
<br>
@Stephen: Are you still seeing your problem after updating to GPG Suite 2019.1 and macOS 10.14.6 including the Supplement Updates from Apple?<br>
<br>
All the best,<br>
Steve<br>
<br>
<br>
<br>
View this discussion at our support site online: https://gpgtools.tenderapp.com/discussions/problems/100962-gpg-keychain-unable-to-access-keyserver<br>
<br>
<br>
--<br>
https://gpgtools.org<br>
https://twitter.com/gpgtools<br>
<br>
---<br>
<br>
Reply with #ignore to stop receiving notifications for this discussion.<br></span></div>
</div>
</blockquote>Stephen Rosenfeldtag:gpgtools.tenderapp.com,2011-11-04:Comment/474426672019-09-04T14:48:47Z2019-09-04T14:48:47ZGPG Keychain: unable to access keyserver<div><p>Glad this is solved for you. I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.</p>
<p>Best,<br>
Steve</p></div>Steve