[ndnSIM] Failed to register prefix in local hub's daemon
Alex Afanasyev
aa at CS.UCLA.EDU
Mon Dec 28 12:06:08 PST 2015
Most likely you're starting your NLSR application at time moment 0. You need to schedule the start at a later time moment (say, 1second). Otherwise, ndn::Face::registerPrefix() will always fail.
---
Alex
> On Dec 28, 2015, at 11:23 AM, Anil Jangam <anilj.mailing at gmail.com> wrote:
>
> Hi,
>
> I am testing a scenario of NLSR simulation and hitting an exception in ndnSIM. I searched for the error in the past learned that I need to start the NFD and NRD processes, but that suggestion was in case of real applications. What is the cause of this in the simulation setup?
>
> Am I missing any environment setup, which is leading to this error?
>
> 4.227s ndn-cxx.Face:expressInterest(): >> Interest: /ndn/NLSR/sync/00
> 4.227s ndn-cxx.Face:expressInterest(): >> Interest: /ndn/NLSR/sync/00
> 4.227s ndn-cxx.Face:expressInterest(): >> Interest: /ndn/NLSR/sync/00
> 8.487s ndn-cxx.Face:expressInterest(): >> Interest: /ndn/NLSR/sync/00
> 8.487s ndn-cxx.Face:expressInterest(): >> Interest: /ndn/NLSR/sync/00
> 8.487s ndn-cxx.Face:expressInterest(): >> Interest: /ndn/NLSR/sync/00
> 10s HelloProtocol:scheduleInterest(): Scheduling HELLO Interests in 5 seconds
> 10s HelloProtocol:scheduleInterest(): Scheduling HELLO Interests in 5 seconds
> 10s HelloProtocol:scheduleInterest(): Scheduling HELLO Interests in 5 seconds
> ERROR: Failed to register prefix in local hub's daemon
> terminate called after throwing an instance of 'nlsr::Nlsr::Error'
> what(): Error: Prefix registration failed
>
> Program received signal SIGABRT, Aborted.
> 0x00007fffe99cccc9 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
>
> /anil.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20151228/84d621c2/attachment.bin>
More information about the ndnSIM
mailing list