<div dir="auto"><div>Hi Sabet</div><div dir="auto"><br></div><div dir="auto">This log confirms NLSR has received the Interest. However, the Interest is malformed: it should be a Command Interest which has four more components, but they are missing because you forgot to sign the Interest via KeyChain.</div><div dir="auto"><br></div><div dir="auto">Also, next time you report a crash (including "terminate called ..."), be sure to include a stack trace. See <a href="http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2016-May/001748.html">http://www.lists.cs.ucla.edu/pipermail/nfd-dev/2016-May/001748.html</a></div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div dir="auto"><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Mar 22, 2017 02:24, "Muhammad Hosain Abdollahi Sabet" <<a href="mailto:mhasabet@gmail.com">mhasabet@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Ashlesh,<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I have installed a simple app on one router node just for expressing the advertise command interest as follows:<br><br><blockquote>    auto advertiseCommand = make_shared<Interest>();<br>    Name command = Name("/localhost/nlsr/prefix-u<wbr>pdate/advertise");<br>    ndn::nfd::ControlParameters parameters;<br>    parameters.setName(Name("updat<wbr>ed-prefix"));<br>    advertiseCommand->setName(comm<wbr>and.append(parameters.wireEnco<wbr>de()));<br>    m_transmittedInterests(adverti<wbr>seCommand,this,m_face);<br>    m_appLink->onReceiveInterest(*<wbr>advertiseCommand);<br></blockquote>The last 2 lines are for ndnSIM applications. They basically send packet on wire.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">For this I have:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">6s 2 nfd.Forwarder:onIncomingIntere<wbr>st(): [DEBUG] onIncomingInterest face=261 interest=/localhost/nlsr/prefi<wbr>x-update/advertise/h%12%07%10%<wbr>08%0Eupdated-prefix<br>6s 2 nfd.Forwarder:onContentStoreMi<wbr>ss(): [DEBUG] onContentStoreMiss interest=/localhost/nlsr/prefi<wbr>x-update/advertise/h%12%07%10%<wbr>08%0Eupdated-prefix<br>6s 2 nfd.Forwarder:onContentStoreMi<wbr>ss(): [LOGIC] onContentStoreMiss noLinkObject<br>6s 2 nfd.Forwarder:onOutgoingIntere<wbr>st(): [DEBUG] onOutgoingInterest face=260 interest=/localhost/nlsr/prefi<wbr>x-update/advertise/h%12%07%10%<wbr>08%0Eupdated-prefix<br></blockquote><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">6s 2 nfd.Forwarder:onIncomingData()<wbr>: [DEBUG] onIncomingData face=260 data=/localhost/nlsr/prefix-up<wbr>date/advertise/h%12%07%10%08%<wbr>0Eupdated-prefix<br>6s 2 nfd.Forwarder:onIncomingData()<wbr>: [DEBUG] onIncomingData matching=/localhost/nlsr/prefi<wbr>x-update/advertise/h%12%07%10%<wbr>08%0Eupdated-prefix<br>6s 2 nfd.Forwarder:onOutgoingData()<wbr>: [DEBUG] onOutgoingData face=261 data=/localhost/nlsr/prefix-up<wbr>date/advertise/h%12%07%10%08%<wbr>0Eupdated-prefix<br></blockquote><div><br></div><div>But just after that:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> terminate called after throwing an instance of 'boost::exception_detail::clon<wbr>e_impl<boost::exception_detail<wbr>::error_info_injector<ndn::<wbr>name::Component::Error> >'<br>  what():  Name component does not have the requested marker or the value is not a nonNegativeInteger<br></blockquote>And it seems it has nothing to do with encoding. I have tried without encoding, but the error is the same. Also tried with ndn::name instead of controlparameters, but again the same error comes up. <br>There is no other application on node 2 but nlsr;<br></div> </div>I appreciate your help.<br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks,<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Sabet</div></div></div></blockquote></div></div></div></div>