Project

General

Profile

Actions

Bug #2174

open

Multiple register prefix gives NFD error "request timed out (code: 10060)"

Added by Anonymous over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
RIB
Target version:
-
Start date:
11/13/2014
Due date:
% Done:

0%

Estimated time:

Description

We came across this issue when trying to register multiple prefixes in a group chat application.

To reproduce: Start NFD with the installed defaults in a separate window so you can see errors. Modify the ndn-cxx examples/producer.cpp run method to register 300 different prefixes. https://github.com/named-data/ndn-cxx/blob/b6783065ae24f4035a95d7ab6effd81b720a6f23/examples/producer.cpp#L80 . Replace:

m_face.setInterestFilter("/example/testApp",
                         bind(&Producer::onInterest, this, _1, _2),
                         RegisterPrefixSuccessCallback(),
                         bind(&Producer::onRegisterFailed, this, _2));

with:

for (int x = 1; x <= 300; ++x) {
  std::ostringstream prefix;
  prefix << "/example/testApp" << x;
  m_face.setInterestFilter(prefix.str(),
                           bind(&Producer::onInterest, this, _1, _2),
                           RegisterPrefixSuccessCallback(),
                           bind(&Producer::onRegisterFailed, this, _2));
}

In ndn-cxx, compile and run the producer:

./waf configure --with-examples
./waf
build/examples/producer

Expected result: All prefixes are registered.

Actual result: After a few seconds, NFD prints the following error several times:

[RibManager] NFD returned an error: request timed out (code: 10060)

It also prints the following error a few times:

[RibManager] NFD returned an error: Face not found (code: 410)

Finally, it prints:

Face Status Dataset request timed out

Many of the prefixes are not registered, presumably related to the above messages.


Related issues 4 (2 open2 closed)

Related to NFD - Bug #4511: Failure of RIB register commands within short period of time Rejected

Actions
Related to NFD - Bug #5149: Error 10060 when fetching RIB dataset: Timeout exceededNew02/26/2021

Actions
Blocked by ndn-cxx - Bug #1589: KeyChain::sign is slow with tpm=osx-keychainRejected05/10/2014

Actions
Blocked by ndn-cxx - Feature #2293: Controller: stop-and-waitNew

Actions
Actions

Also available in: Atom PDF