Re: Cannot bootstrap GNUnet 0.21.0

Martin Schanzenbach <[email protected]> Wed, 13 Mar 2024 19:53:19 +0100
Newsgroups gmane.network.gnunet.general
Message-ID <[email protected]>
------F1R6502R3LHLGKDZVDSW3OA5OQ8C1I
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

did you install using meson? then you may be missing dhtu=2Econf

Am 13=2E M=C3=A4rz 2024 19:29:33 MEZ schrieb t3sserakt <t3ss@posteo=2Ede>:
>I guess the log level of your peer is not DEBUG=2E
>
>Please start the peer like this
>
>GNUNET_FORCE_LOG=3D';;;;DEBUG' GNUNET_FORCE_LOGFILE=3D'gnunet=2Elog' gnun=
et-arm -s
>
>On 13=2E03=2E24 17:46, marty1885 wrote:
>> Hi,
>>=20
>> Thanks for the direction=2E I looked into my GNUnet logs and see DHT is=
 spamming "No DHT underlays configured" message=2E
>>=20
>> I have attached a debug log=2E GNUnet generated more then 10MB in less =
then 1 minutes=2E
>>=20
>> 2024-03-14T00:38:24=2E453491+0800 dht-3589431 ERROR No DHT underlays co=
nfigured!
>> 2024-03-14T00:38:24=2E477297+0800 dht-3589432 ERROR No DHT underlays co=
nfigured!
>> 2024-03-14T00:38:24=2E501079+0800 dht-3589433 ERROR No DHT underlays co=
nfigured!
>> 2024-03-14T00:38:24=2E518726+0800 dht-3589434 ERROR No DHT underlays co=
nfigured!
>> 2024-03-14T00:38:24=2E535907+0800 dht-3589435 ERROR No DHT underlays co=
nfigured!
>> 2024-03-14T00:38:24=2E555994+0800 dht-3589436 ERROR No DHT underlays co=
nfigured!
>> 2024-03-14T00:38:24=2E576093+0800 dht-3589437 ERROR No DHT underlays co=
nfigured!
>> =2E=2E=2E
>> On Wednesday, March 13th, 2024 at 6:45 PM, t3sserakt <t3ss@posteo=2Ede>=
 wrote:
>>=20
>>> Hey Martin,
>>>=20
>>> the actual log of the bootstrap peer begins 9 in the morning on the 12=
th=2E I can not see any log entry for your peer CCXH in the bootstrap peer =
logs=2E
>>>=20
>>> Do you have any output if you grep for "Abort" in yours peer log file?
>>>=20
>>> You could start your peer with log level DEBUG to see more details wha=
t your peer is doing, and could provide us the log entries of your log runn=
ing for a minute after starting the peer with log level DEBUG=2E
>>>=20
>>> - t3sserakt
>>>=20
>>> On 13=2E03=2E24 11:10, marty1885 wrote:
>>>=20
>>>> Hi,
>>>>=20
>>>> Yes=2E I've restarted GNUnet several times=2E For safety I've restart=
ed it once again after reeving your reply=2E Still can't bootstrap=2E
>>>>=20
>>>> Martin
>>>>=20
>>>> On Tuesday, March 12th, 2024 at 10:15 PM, Schanzenbach, Martin <schan=
zen@gnunet=2Eorg> wrote:
>>>>=20
>>>>> Hi,
>>>>>=20
>>>>> did you try again the last few days?
>>>>> We are currently observing better connectivity after fixing a
>>>>> configuration mistake on the bootstrap peer=2E
>>>>>=20
>>>>> Best
>>>>> Martin
>>>>>=20
>>>>> On 10=2E03=2E24 15:41, marty1885 wrote:
>>>>>=20
>>>>>> I deleted the databases for namestore and peerstore to get all proc=
esses running (peerstore and namestore was failing)=2E But still no peer co=
nnections=2E
>>>>>>=20
>>>>>> `=E2=9D=AF gnunet-arm -I Services (excluding stopped services): (st=
arted: 23 / stopped: 22) cadet (binary=3D'gnunet-service-cadet', status=3Ds=
tarted) core (binary=3D'gnunet-service-core', status=3Dstarted) datastore (=
binary=3D'gnunet-service-datastore', status=3Dstarted) dht (binary=3D'gnune=
t-service-dht', status=3Dstarted) fs (binary=3D'gnunet-service-fs', status=
=3Dstarted) gns (binary=3D'gnunet-service-gns', status=3Dstarted) hostlist =
(binary=3D'gnunet-daemon-hostlist', status=3Dstarted) identity (binary=3D'g=
nunet-service-identity', status=3Dstarted) namecache (binary=3D'gnunet-serv=
ice-namecache', status=3Dstarted) namestore (binary=3D'gnunet-service-names=
tore', status=3Dstarted) nat (binary=3D'gnunet-service-nat', status=3Dstart=
ed) nse (binary=3D'gnunet-service-nse', status=3Dstarted) peerstore (binary=
=3D'gnunet-service-peerstore', status=3Dstarted) reclaim (binary=3D'gnunet-=
service-reclaim', status=3Dstarted) rest (binary=3D'gnunet-rest-server', st=
atus=3Dstarted) revocation (binary=3D'gnunet-service-revocation', status=3D=
started) rps (binary=3D'gnunet-service-rps', status=3Dstarted) setu (binary=
=3D'gnunet-service-setu', status=3Dstarted) statistics (binary=3D'gnunet-se=
rvice-statistics', status=3Dstarted) topology (binary=3D'gnunet-daemon-topo=
logy', status=3Dstarted) transport (binary=3D'gnunet-service-transport', st=
atus=3Dstarted) communicator-tcp (binary=3D'gnunet-communicator-tcp', statu=
s=3Dstarted) zonemaster (binary=3D'gnunet-service-zonemaster', status=3Dsta=
rted)`
>>>>>>=20
>>>>>> On Sunday, March 10th, 2024 at 3:00 PM, Schanzenbach, Martin schanz=
en@gnunet=2Eorg wrote:
>>>>>>=20
>>>>>>> Hi,
>>>>>>>=20
>>>>>>> what does gnunet-arm -I output? Are all of the services running?
>>>>>>> For example, the peerstore database layout changed, so you probabl=
y have
>>>>>>> to delete your old database ($HOME/=2Elocal/share/gnunet/peerstore=
/sqlite=2Edb)=2E
>>>>>>>=20
>>>>>>> The road to a stable TNG will also be bumpy, so we rely on reports=
 such
>>>>>>> as this to iron out the remaining bugs with it=2E
>>>>>>>=20
>>>>>>> BR
>>>>>>> Martin
>>>>>>>=20
>>>>>>> On 10=2E03=2E24 06:08, marty1885 wrote:
>>>>>>>=20
>>>>>>>> Thanks for the reply=2E
>>>>>>>>=20
>>>>>>>> I tried a few commands and still feels like my node is really not=
 connected=2E DHT can't put, NSE returns a very small network size and GNS =
cannot resolve=2E
>>>>>>>>=20
>>>>>>>> Is this expected?
>>>>>>>>=20
>>>>>>>> ```
>>>>>>>> =E2=9D=AF gnunet-core -si
>>>>>>>> Current local peer identity: CCXHBE49GRQVFAVFQ3BXVXPHHD63NG6ZNY31=
R0F59KVDZQA42PTG
>>>>>>>> (no further output)
>>>>>>>>=20
>>>>>>>> =E2=9D=AF gnunet-dht-put -k "hello" -d "world" -e 40m
>>>>>>>> (hangs, this used to return almost immidately)
>>>>>>>>=20
>>>>>>>> =E2=9D=AF gnunet-nse
>>>>>>>> 1710047156276913 1=2E688203 0=2E755488 1=2E474102
>>>>>>>>=20
>>>>>>>> =E2=9D=AF gnunet-gns -u gnunet=2Egns=2Ealt -t PKEY
>>>>>>>>=20
>>>>>>>>>>> Looking for `PKEY' records under` gnunet=2Egns=2Ealt'
>>>>>>>>>>> (no output)
>>>>>>>>>>> ```
>>>>>>>> On Saturday, March 9th, 2024 at 11:39 PM, Schanzenbach, Martin sc=
hanzen@gnunet=2Eorg wrote:
>>>>>>>>=20
>>>>>>>>> Hi,
>>>>>>>>>=20
>>>>>>>>> the behaviour of gnunet-core changed=2E You can check the new sw=
itches
>>>>>>>>> with --help=2E
>>>>>>>>> Long-term core connections are know to be problematic behind NAT=
s, still=2E
>>>>>>>>> But with a freshly started peer, "gnunet-core -i" should give yo=
u your
>>>>>>>>> peer id, "gnunet-core -s" the connections (you can also combine =
the
>>>>>>>>> switches)=2E
>>>>>>>>> The command should probably output the help when called without =
arguments=2E
>>>>>>>>>=20
>>>>>>>>> BR
>>>>>>>>> Martin
>>>>>>>>>=20
>>>>>>>>> On 09=2E03=2E24 14:55, marty1885 wrote:
>>>>>>>>>=20
>>>>>>>>>> Hi all,
>>>>>>>>>>=20
>>>>>>>>>> I've just built and installed the new GNUnet 0=2E21=2E But my n=
ode isn't connected to any peer after hours of waiting=2E Running gnunet-co=
re shows no node is connected to me=2E
>>>>>>>>>>=20
>>>>>>>>>> `=E2=9D=AF gnunet-core (no output)`
>>>>>>>>>>=20
>>>>>>>>>> I have also checked `iotop` and can confirm gnunet-service-tran=
sport isn't doing much IO=2E While I was expecting at least hundreds of Kbp=
s from experience in the past=2E
>>>>>>>>>>=20
>>>>>>>>>> How can I connect to the network? Please let me know what infor=
mation I can provide to diagnose the issue=2E
>>>>>>>>>>=20
>>>>>>>>>> Best,
>>>>>>>>>> Martin

------F1R6502R3LHLGKDZVDSW3OA5OQ8C1I
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div dir=3D"auto">did you install using meson? the=
n you may be missing dhtu=2Econf</div><br><br><div class=3D"gmail_quote"><d=
iv dir=3D"auto">Am 13=2E M=C3=A4rz 2024 19:29:33 MEZ schrieb t3sserakt &lt;=
t3ss@posteo=2Ede&gt;:</div><blockquote class=3D"gmail_quote" style=3D"margi=
n: 0pt 0pt 0pt 0=2E8ex; border-left: 1px solid rgb(204, 204, 204); padding-=
left: 1ex;">
<pre class=3D"k9mail"><div dir=3D"auto">I guess the log level of your peer=
 is not DEBUG=2E<br><br>Please start the peer like this<br><br>GNUNET_FORCE=
_LOG=3D';;;;DEBUG' GNUNET_FORCE_LOGFILE=3D'gnunet=2Elog' gnunet-arm -s<br><=
br>On 13=2E03=2E24 17:46, marty1885 wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px solid #72=
9fcf; padding-left: 1ex;"><div dir=3D"auto">Hi,<br><br>Thanks for the direc=
tion=2E I looked into my GNUnet logs and see DHT is spamming "No DHT underl=
ays configured" message=2E<br><br>I have attached a debug log=2E GNUnet gen=
erated more then 10MB in less then 1 minutes=2E<br><br>2024-03-14T00:38:24=
=2E453491+0800 dht-3589431 ERROR No DHT underlays configured!<br>2024-03-14=
T00:38:24=2E477297+0800 dht-3589432 ERROR No DHT underlays configured!<br>2=
024-03-14T00:38:24=2E501079+0800 dht-3589433 ERROR No DHT underlays configu=
red!<br>2024-03-14T00:38:24=2E518726+0800 dht-3589434 ERROR No DHT underlay=
s configured!<br>2024-03-14T00:38:24=2E535907+0800 dht-3589435 ERROR No DHT=
 underlays configured!<br>2024-03-14T00:38:24=2E555994+0800 dht-3589436 ERR=
OR No DHT underlays configured!<br>2024-03-14T00:38:24=2E576093+0800 dht-35=
89437 ERROR No DHT underlays configured!<br>=2E=2E=2E<br>On Wednesday, Marc=
h 13th, 2024 at 6:45 PM, t3sserakt &lt;t3ss@posteo=2Ede&gt; wrote:<br><br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex=
; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><div dir=3D"auto">Hey=
 Martin,<br><br>the actual log of the bootstrap peer begins 9 in the mornin=
g on the 12th=2E I can not see any log entry for your peer CCXH in the boot=
strap peer logs=2E<br><br>Do you have any output if you grep for "Abort" in=
 yours peer log file?<br><br>You could start your peer with log level DEBUG=
 to see more details what your peer is doing, and could provide us the log =
entries of your log running for a minute after starting the peer with log l=
evel DEBUG=2E<br><br>- t3sserakt<br><br>On 13=2E03=2E24 11:10, marty1885 wr=
ote:<br><br></div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0p=
t 1ex 0=2E8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"><div dir=
=3D"auto">Hi,<br><br>Yes=2E I've restarted GNUnet several times=2E For safe=
ty I've restarted it once again after reeving your reply=2E Still can't boo=
tstrap=2E<br><br>Martin<br><br>On Tuesday, March 12th, 2024 at 10:15 PM, Sc=
hanzenbach, Martin &lt;schanzen@gnunet=2Eorg&gt; wrote:<br><br></div><block=
quote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-le=
ft: 1px solid #fcaf3e; padding-left: 1ex;"><div dir=3D"auto">Hi,<br><br>did=
 you try again the last few days?<br>We are currently observing better conn=
ectivity after fixing a<br>configuration mistake on the bootstrap peer=2E<b=
r><br>Best<br>Martin<br><br>On 10=2E03=2E24 15:41, marty1885 wrote:<br><br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8e=
x; border-left: 1px solid #e9b96e; padding-left: 1ex;"><div dir=3D"auto">I =
deleted the databases for namestore and peerstore to get all processes runn=
ing (peerstore and namestore was failing)=2E But still no peer connections=
=2E<br><br>`=E2=9D=AF gnunet-arm -I Services (excluding stopped services): =
(started: 23 / stopped: 22) cadet (binary=3D'gnunet-service-cadet', status=
=3Dstarted) core (binary=3D'gnunet-service-core', status=3Dstarted) datasto=
re (binary=3D'gnunet-service-datastore', status=3Dstarted) dht (binary=3D'g=
nunet-service-dht', status=3Dstarted) fs (binary=3D'gnunet-service-fs', sta=
tus=3Dstarted) gns (binary=3D'gnunet-service-gns', status=3Dstarted) hostli=
st (binary=3D'gnunet-daemon-hostlist', status=3Dstarted) identity (binary=
=3D'gnunet-service-identity', status=3Dstarted) namecache (binary=3D'gnunet=
-service-namecache', status=3Dstarted) namestore (binary=3D'gnunet-service-=
namestore', status=3Dstarted) nat (binary=3D'gnunet-service-nat', status=3D=
started) nse (binary=3D'gnunet-service-nse', status=3Dstarted) peerstore (b=
inary=3D'gnunet-service-peerstore', status=3Dstarted) reclaim (binary=3D'gn=
unet-service-reclaim', status=3Dstarted) rest (binary=3D'gnunet-rest-server=
', status=3Dstarted) revocation (binary=3D'gnunet-service-revocation', stat=
us=3Dstarted) rps (binary=3D'gnunet-service-rps', status=3Dstarted) setu (b=
inary=3D'gnunet-service-setu', status=3Dstarted) statistics (binary=3D'gnun=
et-service-statistics', status=3Dstarted) topology (binary=3D'gnunet-daemon=
-topology', status=3Dstarted) transport (binary=3D'gnunet-service-transport=
', status=3Dstarted) communicator-tcp (binary=3D'gnunet-communicator-tcp', =
status=3Dstarted) zonemaster (binary=3D'gnunet-service-zonemaster', status=
=3Dstarted)`<br><br>On Sunday, March 10th, 2024 at 3:00 PM, Schanzenbach, M=
artin schanzen@gnunet=2Eorg wrote:<br><br></div><blockquote class=3D"gmail_=
quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px solid #ccc; p=
adding-left: 1ex;"><div dir=3D"auto">Hi,<br><br>what does gnunet-arm -I out=
put? Are all of the services running?<br>For example, the peerstore databas=
e layout changed, so you probably have<br>to delete your old database ($HOM=
E/=2Elocal/share/gnunet/peerstore/sqlite=2Edb)=2E<br><br>The road to a stab=
le TNG will also be bumpy, so we rely on reports such<br>as this to iron ou=
t the remaining bugs with it=2E<br><br>BR<br>Martin<br><br>On 10=2E03=2E24 =
06:08, marty1885 wrote:<br><br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px solid #ccc; padding-left=
: 1ex;"><div dir=3D"auto">Thanks for the reply=2E<br><br>I tried a few comm=
ands and still feels like my node is really not connected=2E DHT can't put,=
 NSE returns a very small network size and GNS cannot resolve=2E<br><br>Is =
this expected?<br><br>```<br>=E2=9D=AF gnunet-core -si<br>Current local pee=
r identity: CCXHBE49GRQVFAVFQ3BXVXPHHD63NG6ZNY31R0F59KVDZQA42PTG<br>(no fur=
ther output)<br><br>=E2=9D=AF gnunet-dht-put -k "hello" -d "world" -e 40m<b=
r>(hangs, this used to return almost immidately)<br><br>=E2=9D=AF gnunet-ns=
e<br>1710047156276913 1=2E688203 0=2E755488 1=2E474102<br><br>=E2=9D=AF gnu=
net-gns -u gnunet=2Egns=2Ealt -t PKEY<br><br></div><blockquote class=3D"gma=
il_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px solid #ccc=
; padding-left: 1ex;"><blockquote class=3D"gmail_quote" style=3D"margin: 0p=
t 0pt 1ex 0=2E8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockq=
uote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-lef=
t: 1px solid #ccc; padding-left: 1ex;"><div dir=3D"auto">Looking for `PKEY'=
 records under` gnunet=2Egns=2Ealt'<br>(no output)<br>```<br></div></blockq=
uote></blockquote></blockquote><div dir=3D"auto">On Saturday, March 9th, 20=
24 at 11:39 PM, Schanzenbach, Martin schanzen@gnunet=2Eorg wrote:<br><br></=
div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex;=
 border-left: 1px solid #ccc; padding-left: 1ex;"><div dir=3D"auto">Hi,<br>=
<br>the behaviour of gnunet-core changed=2E You can check the new switches<=
br>with --help=2E<br>Long-term core connections are know to be problematic =
behind NATs, still=2E<br>But with a freshly started peer, "gnunet-core -i" =
should give you your<br>peer id, "gnunet-core -s" the connections (you can =
also combine the<br>switches)=2E<br>The command should probably output the =
help when called without arguments=2E<br><br>BR<br>Martin<br><br>On 09=2E03=
=2E24 14:55, marty1885 wrote:<br><br></div><blockquote class=3D"gmail_quote=
" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px solid #ccc; paddin=
g-left: 1ex;"><div dir=3D"auto">Hi all,<br><br>I've just built and installe=
d the new GNUnet 0=2E21=2E But my node isn't connected to any peer after ho=
urs of waiting=2E Running gnunet-core shows no node is connected to me=2E<b=
r><br>`=E2=9D=AF gnunet-core (no output)`<br><br>I have also checked `iotop=
` and can confirm gnunet-service-transport isn't doing much IO=2E While I w=
as expecting at least hundreds of Kbps from experience in the past=2E<br><b=
r>How can I connect to the network? Please let me know what information I c=
an provide to diagnose the issue=2E<br><br>Best,<br>Martin<br></div></block=
quote></blockquote></blockquote></blockquote></blockquote></blockquote></bl=
ockquote></blockquote></blockquote></pre></blockquote></div></body></html>
------F1R6502R3LHLGKDZVDSW3OA5OQ8C1I--