gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNUnet Name System not working (as expected)


From: Tanguy LE CARROUR
Subject: GNUnet Name System not working (as expected)
Date: Fri, 08 Apr 2022 09:25:06 +0200
User-agent: alot/0.10

Hello GNUnet,

I'm not reporting this into the bug tracker (yet), because (good) chances
are the problem exists between the chair and keyboard…

I'm testing the newly available GNUnet 0.16.3 on Guix, starting with the
GNS. I have a single-user setup, without a stand-alone database.

I'm following the [How to use GNUnet - in a 
nutshell](https://www.gnunet.org/en/use.html)
documentation.

On computer_1 (logs at the bottom of the email):

```console
$ gnunet-arm --start
$ gnunet-core
# connected to some peers
$ gnunet-identity --create computer_1
$ gnunet-identity --display
computer_1 - 000G004515E30YC1WTB7X51H95NGVEDK8974FS3DTPCREQT2KJN35ARRG4 - ECDSA
$ gnunet-namestore \
  --zone computer_1 \
  --add \
  --expiration "1 d" \
  --public \
  --type A \
  --name ccc \
  --value 195.54.164.39
$ gnunet-gns --type A --lookup ccc.computer_1
ccc.computer_1:
Got `A' record: 195.54.164.39
```

On computer_2 (logs at the bottom of the email):

```console
$ gnunet-arm --start
$ gnunet-core
# connected to some peers
$ gnunet-identity --create computer_2
$ gnunet-namestore \
  --zone computer_2 \
  --add \
  --expiration never \
  --public \
  --type PKEY \
  --name computer_1 \
  --value 000G004515E30YC1WTB7X51H95NGVEDK8974FS3DTPCREQT2KJN35ARRG4
$ gnunet-gns --type A --lookup ccc.computer_1.computer_2
# … hangs forever
```

I was expecting to see `Got `A' record: 195.54.164.39`.

Am I doing something wrong?

It could be useful to provide, in the "how to use GNUnet",
a real GNS record within a "public" zone so anyone could add it to her
namestore and look it up without having to set up a second host, IMHO.

Best regards,

Tanguy


On computer_1, the logs contain the following:

```
2022-04-07T17:14:00.996911+0200 peerstore-sqlite-29500 ERROR Error executing 
SQL query: attempt to write a readonly database
  PRAGMA auto_vacuum=INCREMENTAL
2022-04-07T17:14:00.997101+0200 peerstore-sqlite-29500 ERROR `sqlite3_step' 
failed at plugin_peerstore_sqlite.c:211 with error: attempt to write a readonly 
database
2022-04-07T17:14:00.997124+0200 sqlite-29500 ERROR Failed to reset sqlite 
statement with error: attempt to write a readonly database
2022-04-07T17:14:00.999847+0200 namestore-29495 ERROR Assertion failed at 
sq_result_helper.c:180.
2022-04-07T17:14:00.999877+0200 namestore-29495 ERROR Assertion failed at 
plugin_namestore_sqlite.c:537.
2022-04-07T17:14:00.999891+0200 namestore-29495 ERROR Assertion failed at 
gnunet-service-namestore.c:1949.
2022-04-07T17:14:01.000896+0200 transport-tcp-29503 WARNING Unexpected address 
length: 24 bytes
2022-04-07T17:14:01.000925+0200 transport-29503 ERROR Assertion failed at 
gnunet-service-transport_validation.c:902.
2022-04-07T17:14:01.000932+0200 transport-29503 ERROR Address with 24 bytes for 
plugin tcp and peer DSTJ is malformed
2022-04-07T17:14:01.000938+0200 transport-tcp-29503 WARNING Unexpected address 
length: 12 bytes
2022-04-07T17:14:01.000942+0200 transport-29503 ERROR Assertion failed at 
gnunet-service-transport_validation.c:902.
2022-04-07T17:14:01.000947+0200 transport-29503 ERROR Address with 12 bytes for 
plugin tcp and peer DSTJ is malformed
2022-04-07T17:14:01.001095+0200 transport-tcp-29503 WARNING Unexpected address 
length: 24 bytes
2022-04-07T17:14:01.001105+0200 transport-29503 ERROR Assertion failed at 
gnunet-service-transport_validation.c:902.
2022-04-07T17:14:01.001110+0200 transport-29503 ERROR Address with 24 bytes for 
plugin tcp and peer V8XX is malformed
2022-04-07T17:14:01.001114+0200 transport-tcp-29503 WARNING Unexpected address 
length: 12 bytes
2022-04-07T17:14:01.001118+0200 transport-29503 ERROR Assertion failed at 
gnunet-service-transport_validation.c:902.
2022-04-07T17:14:01.001125+0200 transport-29503 ERROR Address with 12 bytes for 
plugin tcp and peer V8XX is malformed
2022-04-07T17:14:01.005084+0200 nat-29505 ERROR UPnP enabled in configuration, 
but UPnP client `upnpc` command not found, disabling UPnP
2022-04-07T17:14:01.099784+0200 hostlist-29482 WARNING Download of hostlist 
from `https://gnunet.io/hostlist' failed: `SSL peer certificate or SSH remote 
key was not OK'
2022-04-07T17:14:02.015851+0200 hostlist-29482 WARNING Download of hostlist 
from `https://gnunet.io/hostlist' failed: `SSL peer certificate or SSH remote 
key was not OK'
```

On computer_2, the logs contain the following:

```
2022-04-07T19:18:24.601705+0200 hostlist-2604 WARNING Download of hostlist from 
`https://gnunet.io/hostlist' failed: `SSL peer certificate or SSH remote key 
was not OK'
2022-04-07T19:18:24.603510+0200 nat-2625 ERROR UPnP enabled in configuration, 
but UPnP client `upnpc` command not found, disabling UPnP
2022-04-07T19:18:25.597153+0200 hostlist-2604 WARNING Download of hostlist from 
`https://gnunet.io/hostlist' failed: `SSL peer certificate or SSH remote key 
was not OK'
2022-04-07T19:18:27.597664+0200 hostlist-2604 WARNING Download of hostlist from 
`https://gnunet.io/hostlist' failed: `SSL peer certificate or SSH remote key 
was not OK'
2022-04-07T19:18:31.628126+0200 transport-tcp-2621 WARNING Unexpected address 
length: 24 bytes
2022-04-07T19:18:31.628416+0200 transport-2621 ERROR Assertion failed at 
gnunet-service-transport_validation.c:902.
2022-04-07T19:18:31.628470+0200 transport-2621 ERROR Address with 24 bytes for 
plugin tcp and peer DSTJ is malformed
2022-04-07T19:18:31.628520+0200 transport-tcp-2621 WARNING Unexpected address 
length: 12 bytes
2022-04-07T19:18:31.628559+0200 transport-2621 ERROR Assertion failed at 
gnunet-service-transport_validation.c:902.
2022-04-07T19:18:31.628597+0200 transport-2621 ERROR Address with 12 bytes for 
plugin tcp and peer DSTJ is malformed
2022-04-07T19:18:31.630577+0200 transport-tcp-2621 WARNING Unexpected address 
length: 24 bytes
2022-04-07T19:18:31.630668+0200 transport-2621 ERROR Assertion failed at 
gnunet-service-transport_validation.c:902.
2022-04-07T19:18:31.630721+0200 transport-2621 ERROR Address with 24 bytes for 
plugin tcp and peer V8XX is malformed
2022-04-07T19:18:31.630776+0200 transport-tcp-2621 WARNING Unexpected address 
length: 12 bytes
2022-04-07T19:18:31.630826+0200 transport-2621 ERROR Assertion failed at 
gnunet-service-transport_validation.c:902.
2022-04-07T19:18:31.630882+0200 transport-2621 ERROR Address with 12 bytes for 
plugin tcp and peer V8XX is malformed
```



reply via email to

[Prev in Thread] Current Thread [Next in Thread]