[Ndn-interest] NFD - UdpTransport

Steve DiBenedetto dibenede at cs.colostate.edu
Sun Nov 16 06:20:21 PST 2014


Hi Bassem,

Did you call Face’s setCommandSigningInfo method before registerPrefix? NFD requires signed Interests to register new prefixes and setCommandSignInfo configures the library to use an identity. Otherwise, JNDN assumes you want to talk to NDNx.

I have a (python) setCommandSigningInfo example here: https://github.com/dibenede/ndn-tutorial-gec21/blob/master/solutions/hello_producer.py <https://github.com/dibenede/ndn-tutorial-gec21/blob/master/solutions/hello_producer.py> . The KeyChain is initialized in __init__().

-Steve

> On Nov 16, 2014, at 4:40 AM, Bassem Labib <bassem.labib at gmail.com> wrote:
> 
> Hi,
> 
> Using JNDN, How can I registerPrefix from a Face object using UdpTransport?
> 
> When I tried it gave me the following:
> Nov 16, 2014 1:33:54 PM net.named_data.jndn.Node$RegisterResponse onTimeout
> INFO: Timeout for NFD register prefix command. Attempting an NDNx command...
> Nov 16, 2014 1:33:58 PM net.named_data.jndn.Node$NdndIdFetcher onTimeout
> INFO: Register prefix failed: Timeout fetching the NDNx ID
> 
> I think it is try to use NDNx not NFD, is not it?
> Please I need a guide to solve this issue.
> 
> Thanks in advance,
> Bassem Labib
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20141116/0a1373f2/attachment.html>


More information about the Ndn-interest mailing list