On Sun, Dec 04, 2022 at 04:28:00PM +0200, Teemu Likonen wrote:
> * 2022-12-04 12:05:56+0000, Alain D. D. Williams wrote:
> 
> > Part of the problem is the hopeless message "Server indicated a
> > failure" which says little. Any idea how I could get something more
> > informative ?
> 
> You can change debug logging level. Edit ~/.gnupg/dirmngr.conf file and
> write something like this:
> 
>     debug-level expert      #or: guru
>     log-file /tmp/dirmngr-log.txt
> 
> Then kill dirmngr
> 
>     $ gpgconf --kill dirmngr
> 
> and try key servers again. See the log file mentioned above.

Thanks ... it does not really help (I attach it).
The message is:

    command 'KS_PUT' failed: Server indicated a failure <Unspecified source>

I ran it with debugging on the Debian 11 machine where it works.

I put the PIv4 address for keys.openpgp.org into /etc/hosts - the Debian 10
machine has IPv6 that works, the Debian 11 machine is IPv4 only. No change.

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT 
Lecturer.
+44 (0) 787 668 0256  https://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: 
https://www.phcomp.co.uk/Contact.html
#include <std_disclaimer.h>
2022-12-04 17:44:27 dirmngr[18851.0] permanently loaded certificates: 138
2022-12-04 17:44:27 dirmngr[18851.0]     runtime cached certificates: 0
2022-12-04 17:44:27 dirmngr[18851.0]            trusted certificates: 138 
(137,0,0,1)
2022-12-04 17:44:27 dirmngr[18851.6] handler for fd 6 started
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> # Home: /home/addw/.gnupg
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> # Config: 
/home/addw/.gnupg/dirmngr.conf
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> OK Dirmngr 2.2.27 at your 
service
2022-12-04 17:44:27 dirmngr[18851.6] connection from process 18850 (1000:1000)
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 <- GETINFO version
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> D 2.2.27
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> OK
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 <- KEYSERVER
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> S KEYSERVER 
hkps://keys.openpgp.org
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> OK
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 <- KS_PUT
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> INQUIRE KEYBLOCK
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 <- [ 44 20 98 33 04 60 ec 50 
1f 16 09 2b 06 01 04 01 ...(626 byte(s) skipped) ]
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 <- END
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> INQUIRE KEYBLOCK_INFO
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 <- D 
pub::256:22:BA366B977C06BAF7:1626099743:::::::::::%0Afpr:::::::::4D48D5BAF3736D50214AFC3FBA366B977C06BAF7:%0Auid:::::1626099743::::Alain
 D D Williams <a...@phcomp.co.uk>:::::::%0Auid:::::1670002234::::Alain D D 
Williams 
<lcg-lloydsb...@email.phcomp.co.uk>:::::::%0Asub::256:18:0315E84A964E21C9:1626099743:::::::::::%0Afpr:::::::::75F7570849B82972171A762C0315E84A964E21C9:%0A
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 <- END
2022-12-04 17:44:27 dirmngr[18851.6] command 'KS_PUT' failed: Server indicated 
a failure <Unspecified source>
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> ERR 219 Server indicated a 
failure <Unspecified source>
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 <- BYE
2022-12-04 17:44:27 dirmngr[18851.6] DBG: chan_6 -> OK closing connection
2022-12-04 17:44:27 dirmngr[18851.6] handler for fd 6 terminated
2022-12-04 17:55:27 dirmngr[18851.0] running scheduled tasks
2022-12-04 18:05:28 dirmngr[18851.0] running scheduled tasks
2022-12-04 18:15:28 dirmngr[18851.0] running scheduled tasks
2022-12-04 18:25:29 dirmngr[18851.0] running scheduled tasks
2022-12-04 18:33:58 dirmngr[18851.6] handler for fd 6 started
2022-12-04 18:33:58 dirmngr[18851.6] DBG: chan_6 -> # Home: /home/addw/.gnupg
2022-12-04 18:33:58 dirmngr[18851.6] DBG: chan_6 -> # Config: 
/home/addw/.gnupg/dirmngr.conf
2022-12-04 18:33:58 dirmngr[18851.6] DBG: chan_6 -> OK Dirmngr 2.2.27 at your 
service
2022-12-04 18:33:58 dirmngr[18851.6] connection from process 22347 (1000:1000)
2022-12-04 18:33:58 dirmngr[18851.6] DBG: chan_6 <- KILLDIRMNGR
2022-12-04 18:33:58 dirmngr[18851.6] DBG: chan_6 -> OK closing connection
2022-12-04 18:36:18 dirmngr[22361.0] permanently loaded certificates: 138
2022-12-04 18:36:18 dirmngr[22361.0]     runtime cached certificates: 0
2022-12-04 18:36:18 dirmngr[22361.0]            trusted certificates: 138 
(137,0,0,1)
2022-12-04 18:36:18 dirmngr[22361.6] handler for fd 6 started
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> # Home: /home/addw/.gnupg
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> # Config: 
/home/addw/.gnupg/dirmngr.conf
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> OK Dirmngr 2.2.27 at your 
service
2022-12-04 18:36:18 dirmngr[22361.6] connection from process 22360 (1000:1000)
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 <- GETINFO version
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> D 2.2.27
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> OK
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 <- KEYSERVER
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> S KEYSERVER 
hkps://keys.openpgp.org
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> OK
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 <- KS_PUT
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> INQUIRE KEYBLOCK
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 <- [ 44 20 98 33 04 60 ec 50 
1f 16 09 2b 06 01 04 01 ...(626 byte(s) skipped) ]
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 <- END
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> INQUIRE KEYBLOCK_INFO
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 <- D 
pub::256:22:BA366B977C06BAF7:1626099743:::::::::::%0Afpr:::::::::4D48D5BAF3736D50214AFC3FBA366B977C06BAF7:%0Auid:::::1626099743::::Alain
 D D Williams <a...@phcomp.co.uk>:::::::%0Auid:::::1670002234::::Alain D D 
Williams 
<lcg-lloydsb...@email.phcomp.co.uk>:::::::%0Asub::256:18:0315E84A964E21C9:1626099743:::::::::::%0Afpr:::::::::75F7570849B82972171A762C0315E84A964E21C9:%0A
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 <- END
2022-12-04 18:36:18 dirmngr[22361.6] command 'KS_PUT' failed: Server indicated 
a failure <Unspecified source>
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> ERR 219 Server indicated a 
failure <Unspecified source>
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 <- BYE
2022-12-04 18:36:18 dirmngr[22361.6] DBG: chan_6 -> OK closing connection
2022-12-04 18:36:18 dirmngr[22361.6] handler for fd 6 terminated

Reply via email to