[Mini-NDN] Face register failed

Saurab Dulal (sdulal) sdulal at memphis.edu
Thu May 4 07:37:58 PDT 2023


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<http://10.0.0.10:6363/> remote=udp4://10.0.0.9:6363<http://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/041404a7/attachment-0001.html>


More information about the Mini-NDN mailing list