<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I cannot reproduce this problem on my macbook.<div class=""><br class=""></div><div class="">Ivan, can you show us the exact command that resulted in the error?</div><div class=""><br class=""></div><div class="">I tried</div><div class=""><br class=""></div><div class="">    nfdc register /ndn/ <a href="tcp4://spurs.cs.ucla.edu/" class="">tcp4://spurs.cs.ucla.edu/</a></div><div class=""><br class=""></div><div class="">and </div><div class=""><br class=""></div><div class="">    nfdc register /ndn <a href="udp://spurs.cs.ucla.edu/" class="">udp://spurs.cs.ucla.edu/</a></div><div class=""><br class=""></div><div class="">Both succeeded, as expected</div><div class=""><br class=""></div><div class="">—</div><div class="">Alex</div><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 27, 2015, at 7:41 AM, Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" class="">shijunxiao@email.arizona.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">Hi Lan</p><p dir="ltr" class="">There's already a test case for trailing slash:<br class="">
    addTest("udp4://<a href="http://192.0.2.4:6363/" class="">192.0.2.4:6363/</a>", true, "udp4://<a href="http://192.0.2.4:6363/" class="">192.0.2.4:6363</a>");<br class="">
But there's no test case with DNS resolution + trailing slash.</p><p dir="ltr" class="">Please report a bug on Redmine.</p><p dir="ltr" class="">Yours, Junxiao</p><p dir="ltr" class="">On Jan 27, 2015 8:35 AM, "Lan Wang (lanwang)" <<a href="mailto:lanwang@memphis.edu" class="">lanwang@memphis.edu</a>> wrote:<br class="">
><br class="">
> Maybe the function that canonizes faceUri needs to remove the trailing /?<br class="">
><br class="">
> Lan<br class="">
><br class="">
> On Jan 27, 2015, at 4:26 AM, Ivan Yeo <<a href="mailto:ivanyeo@CS.UCLA.EDU" class="">ivanyeo@CS.UCLA.EDU</a>> wrote:<br class="">
><br class="">
> > Hi all,<br class="">
> ><br class="">
> > Thanks for all the help and replies. I finally got it figured out. I left the trailing slash '/' at the end of the command and it cause both an error on this Mac OS X Yosemite 10.10 that I'm running and on the Android as well. Nonetheless, when I removed it, all was fine. I have since been able to use nfdc to append a RIB entry.<br class="">
> ><br class="">
> > The command that works for me now is: nfdc register /ndn tcp4://<a href="http://spurs.cs.ucla.edu/" class="">spurs.cs.ucla.edu</a><br class="">
> ><br class="">
> > Cheers,<br class="">
> > Ivan</p>
</div></blockquote></div><br class=""></div></div></body></html>