Bug #2274
closed
ERROR: (Block::get) Requested a non-existed type [7] from Block
Added by Andrew Brown almost 10 years ago.
Updated almost 10 years ago.
Description
When trying to add routes to the RIB with 'nfdc register /test/route 256', nfdc always returns 'ERROR: (Block::get) Requested a non-existed type [7] from Block'. 256 in this case was the multicast face 'udp4://224.0.23.170:56363' but the same thing happens with all other faces.
Curious, I turned on all logging and tried 'echo "Hello World" | ndn-tlv-poke -w 30000 /hello/world' which returned the same error as above. I looked through the log files (attached) but did not see anything that would indicate why the error was happening. I also looked at the context of the ndn-cxx code throwing the exception (https://github.com/named-data/ndn-cxx/blob/master/src/encoding/block.cpp#L397) but I'm still not clear on why it is being thrown.
I am running NFD on Ubuntu 14.04. Any help is appreciated.
Files
- Assignee set to Chengyu Fan
- Target version changed from v0.2 to v0.3
I'm not able to reproduce this problem on OSX.
I have feeling that this is related to certificates. Can you delete ~/.ndn/ndnsec-public-info.db
and ~/.ndn/ndnsec-tpm-file
and then generate self-signed certificate
ndnsec-keygen /some/name | ndnsec-install-cert -
Alex, thanks for the advice. Just deleting the keys and SQLite DB did the trick. Is there some way to catch that error at a higher level to output a more meaningful error message?
- Assignee deleted (
Chengyu Fan)
I agree. We do need a more meaningful message. I'll create another task for that.
- Related to Bug #2278: Unintuitive error reporting by SecPublicInfo (SecPublicInfoSqlite3) added
I would close this issue but I don't have permissions to.
- Status changed from New to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF