[Ndn-interest] NFD - UdpTransport
dibenede at cs.colostate.edu
Sun Nov 16 06:20:21 PST 2014
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__().
> On Nov 16, 2014, at 4:40 AM, Bassem Labib <bassem.labib at gmail.com> wrote:
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest