Task #1810
closedERROR: command response timeout from "ndnputfile"
100%
Description
I have tried to put a test file to the repo by using command "ndnputfile ndn:/example/repo ndn:/example/hello.txt ./hello.txt". However, I have received an error message about "command response timeout".
I found that the ndnput file try to create a Face, but the connection was closed and removed immediately.
######################### Here is INFO messages that I got:
interlab@12:~/repo-ng$ ndn-repo-ng
1406692411.529349 INFO: [FaceTable] Added face id=4 remote=fd://16 local=unix:///run/nfd.sock
1406692433.191490 INFO: [FaceTable] Added face id=5 remote=fd://17 local=unix:///run/nfd.sock
1406692433.329152 INFO: [UnixStreamFace] [id:5,endpoint:/run/nfd.sock] Connection closed
1406692433.351592 INFO: [FaceTable] Removed face id=5 remote=fd://17 local=unix:///run/nfd.sock
######################### In addition, I also attached the nfd-status for your further investigation.
General NFD status:
version=2000
startTime=20140730T035321.367000
currentTime=20140730T045907.631000
uptime=3946 seconds
nNameTreeEntries=25
nFibEntries=10
nPitEntries=2
nMeasurementsEntries=0
nCsEntries=40
nInInterests=105
nOutInterests=102
nInDatas=40
nOutDatas=38
Channels:
ws://0.0.0.0:9696
unix:///run/nfd.sock
udp4://0.0.0.0:6363
tcp4://0.0.0.0:6363
Faces:
faceid=1 remote=internal:// local=internal:// counters={in={0i 32d} out={95i 0d}} local
faceid=2 remote=udp4://224.0.23.170:56363 local=udp4://192.168.1.223:56363 counters={in={0i 0d} out={0i 0d}}
faceid=3 remote=fd://15 local=unix:///run/nfd.sock counters={in={88i 10d} out={10i 23d}} local on-demand
faceid=4 remote=fd://16 local=unix:///run/nfd.sock counters={in={8i 0d} out={0i 8d}} local on-demand
faceid=8 remote=fd://17 local=unix:///run/nfd.sock counters={in={3i 0d} out={0i 2d}} local on-demand
FIB:
/example/repo/1/delete nexthops={faceid=4 (cost=0)}
/example/data/2 nexthops={faceid=4 (cost=0)}
/example/repo/1/insert nexthops={faceid=4 (cost=0)}
/localhost/nfd nexthops={faceid=1 (cost=0)}
/example/repo/2/insert%20check nexthops={faceid=4 (cost=0)}
/example/repo/2/insert nexthops={faceid=4 (cost=0)}
/example/data/1 nexthops={faceid=4 (cost=0)}
/example/repo/1/insert%20check nexthops={faceid=4 (cost=0)}
/example/repo/2/delete nexthops={faceid=4 (cost=0)}
/localhost/nfd/rib nexthops={faceid=3 (cost=0)}
Strategy choices:
/ strategy=/localhost/nfd/strategy/best-route