Send keys failed! (Connection refused)

(anonymous)'s Avatar

(anonymous)

12 Jul, 2018 08:26 AM

Send keys failed! (Connection refused)
Code = 32793
Error text:
gpg: sende Schlüssel 28B5AD877AFBEFDC auf hkps://hkps.pool.sks-keyservers.net
gpg: Senden an Schlüsselserver fehlgeschlagen: Connection refused
gpg: Senden an Schlüsselserver fehlgeschlagen: Connection refused

DNS Server 1.1.1.1 included

  1. Support Staff 1 Posted by Steve on 12 Jul, 2018 09:28 AM

    Steve's Avatar

    Hi there,

    welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.

    Can you send us the output of the following command:

    cat /etc/resolv.conf
    

    Best,
    steve

  2. 2 Posted by (anonymous) on 12 Jul, 2018 09:55 AM

    (anonymous)'s Avatar

    #
    # macOS Notice
    #
    # This file is not consulted for DNS hostname resolution, address
    # resolution, or the DNS query routing mechanism used by most
    # processes on this system.
    #
    # To view the DNS configuration used by this system, use:
    # scutil --dns
    #
    # SEE ALSO
    # dns-sd(1), scutil(8)
    #
    # This file is automatically generated.
    #
    search fritz.box
    nameserver 127.0.0.1
    nameserver 8.8.8.8
    nameserver 1.1.1.1

  3. Support Staff 3 Posted by Luke Le on 12 Jul, 2018 12:48 PM

    Luke Le's Avatar

    Hi,

    please remove the nameserver 127.0.0.1 line and run the following command in Terminal afterwards:

    killall dirmngr

    Sending keys should work now.

  4. Support Staff 4 Posted by Steve on 12 Jul, 2018 08:36 PM

    Steve's Avatar

    We've implemented a fix that would solve the situation. Could you please download and install our latest hotfix GPG Suite and see if that solves your problem.

    All the best,
    steve

    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.

  5. 5 Posted by (anonymous) on 16 Jul, 2018 05:54 AM

    (anonymous)'s Avatar

    Yes indeed, Steve.

    I didn`t change anything, but installed that hotfix. It works better.

    I am now getting this error:

    Send keys failed! (No data)
    Code = 58
    Error text:
    gpg: sende Schlüssel 28B5AD877AFBEFDC auf hkps://hkps.pool.sks-keyservers.net
    gpg: Senden an Schlüsselserver fehlgeschlagen: No data
    gpg: Senden an Schlüsselserver fehlgeschlagen: No data

  6. Support Staff 6 Posted by Steve on 06 Sep, 2018 02:56 PM

    Steve's Avatar

    Can you please open Terminal and run the following commands to create some debug output for us:

    echo "debug-level guru" >> ~/.gnupg/dirmngr.conf
    echo "debug-all" >> ~/.gnupg/dirmngr.conf
    echo "log-file /tmp/dirmngr.log" >> ~/.gnupg/dirmngr.conf
    killall dirmngr
    gpg --search-keys [email blocked]
    gpg --keyserver hkps://hkps.pool.sks-keyservers.net --search-keys [email blocked]
    

    After running these commands, please send us the /tmp/dirmngr.log file

    1. open finder and press ⇧⌘G
    2. paste /tmp/dirmngr.log
    3. attach the dirmngr.log file to this discussion

    Once you are done, it's best to remove the debugging option:

    1. open finder and press ⇧⌘G
    2. paste ~/.gnupg/dirmngr.conf
    3. open that file with TextEdit
    4. remove the following lines
      • debug-level guru
      • debug-all
      • log-file /tmp/dirmngr.log

    Now open Terminal.app again and execute the following commands:

    rm /tmp/dirmngr.log killall dirmngr

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac