[Mini-NDN] Face register failed

Otávio Augusto otavio.augusto.snc at gmail.com
Thu May 4 11:09:00 PDT 2023


Hello, Saurab. Thanks for the quick response.

a) After executing "ps aux | grep nfd":

otavio      2711  0.0  0.0  17560   720 pts/0    S+   13:52   0:00 grep
> --color=auto nfd


I'm not sure what it really means but I believe there is no instance of NFD
being executed because I also executed sudo nfd-stop.

I use sudo nfd-stop followed by sudo mn -c, but the error persists. I
forgot to mention befor, sometimes this error happens to other devices,
like device [c].

b) I annex the log files  of the device [d]. I believe the error is in the
NFD process, so I tried to analyze the *nfd.log* file. In line 151 has:

1683222210.317364  INFO: [nfd.FaceTable] Added face id=260 remote=udp4://
> 10.0.0.9:6363 local=udp4://10.0.0.10:6363


The strange thing is that the face seems to have been successfully
registered. I don't know.

Thanks,
Otavio

Em qui., 4 de mai. de 2023 às 11:38, Saurab Dulal (sdulal) <
sdulal at memphis.edu> escreveu:

> Hi Otávio,
>
> Can't exactly say what might be an issue just by looking at the error you
> sent. Can you verify a couple of things?
>
>
> a) Check if there is any stray NFD instance already running before you
> start the experiment. You can grep the processes to check "ps aux | grep
> nfd". If there is any, you need to kill it/them before running the
> experiment.
>
> Also would recommend to run *sudo mn -c​ *before running the experiments,
> this will clear any stray processes from the previous run.
>
>
> b) Set the NFD and NLSR log level to DEBUG and check the logs (NFD/NLSR)
> and see if you can find a more detailed cause of your issue. NFD and NLSR
> logs are stored in */tmp/minindn* by default.
>
>
> You can set the logs by changing the following lines in the experiment
> script.
>
>
> nfds = AppManager(ndn, ndn.net.hosts, Nfd, *logLevel='DEBUG'*)
>
> nlsrs = AppManager(ndn, ndn.net.hosts, Nlsr, *logLevel='DEBUG'*)
>
>
> Thanks,
>
> Saurab
>
> ------------------------------
> *From:* Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of Otávio
> Augusto via Mini-NDN <mini-ndn at lists.cs.ucla.edu>
> *Sent:* Wednesday, May 3, 2023 8:54 AM
> *To:* mini-ndn at lists.cs.ucla.edu <mini-ndn at lists.cs.ucla.edu>
> *Subject:* [Mini-NDN] Face register failed
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender and trust
> the content is safe.
> Hello everybody. I'm starting to emulate an NDN-based proposal in the
> mini-NDN. I'm using an ubuntu 20.04 virtual machine and I installed the
> mini-NDN using the "install.sh" file. However, when trying to run the
> mnndn.py example I get the following error:
>
> Using topology file /usr/local/etc/mini-ndn/default-topology.conf
> *** Creating network
> *** Adding controller
> *** Adding hosts:
> a b c d
> *** Adding switches:
>
>
> *** Adding links:
> (10ms delay) (10ms delay) (a, b) (10ms delay) (10ms delay) (a, c) (10ms
> delay) (10ms delay) (b, d)
> *** Configuring hosts
> a b c d
> *** Starting controller
> c0
> *** Starting 0 switches
>
>
> Starting NFD on nodes
> Starting NLSR on nodes
> [d] Face register failed: face-updated id=260 local=udp4://10.0.0.10:6363
> remote=udp4://10.0.0.9:6363 persistency=permanent reliability=off
> congestion-marking=on congestion-marking-interval=100ms
> default-congestion-threshold=65536B mtu=8800
> *** Starting CLI:
>
>
> I tested this same process through vagrant and it worked well, however, I
> would like to start using it through my virtual machine due to the
> graphical interface.
>
> Thank you very much in advance.
>
> --
> Otávio da Cruz
> M.Sc. student
> Electrical Engineering at the Graduate Program in Electrical Engineering
> of the Federal University of Rio Grande do Sul (UFRGS)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20230504/5cdd376e/attachment-0001.html>
-------------- next part --------------
NameLsaSeq 12
AdjLsaSeq 11
CorLsaSeq 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nlsr.log
Type: text/x-log
Size: 29640 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20230504/5cdd376e/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nlsr.conf
Type: application/octet-stream
Size: 5233 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20230504/5cdd376e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nfd.log
Type: text/x-log
Size: 503505 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20230504/5cdd376e/attachment-0003.bin>


More information about the Mini-NDN mailing list