Project

General

Profile

Bug #2334

Updated by Junxiao Shi over 9 years ago

When the "transport" field in configuration file "client.conf" is changed to value other than  
 {tcp|udp}://127.0.0.1 or unix:///var/run/nfd.sock 
 then whenever NRD is run it reports the fatal error message 
 "FATAL: [NRD] error while connecting to the forwarder" 

 environment on OS X 10.10.1   
 
 OSTYPE: darwin14   
 
 boost: 1.55.0 

 steps to reproduce 

 ``` 
 sudo cp /usr/local/etc/ndn/nfd.conf.sample /usr/local/etc/ndn/nfd.conf 
 sudo cp /usr/local/etc/ndn/client.conf.sample /usr/local/etc/ndn/client.conf 

 change the following line in "client.conf" 
 transport=unix:///var/run/nfd.sock 
 to 
 transport=tcp4://172.18.53.106:6363 
 ; another computer with the exact same environment, OS, hardware running up an nfd and nrd successfully 

 ndnsec-keygen /`whoami` | ndnsec-install-cert - 
 sudo mkdir -p /usr/local/etc/ndn/keys/ 
 ndnsec-cert-dump -i /`whoami` >    default.ndncert 
 sudo mv default.ndncert /usr/local/etc/ndn/keys/default.ndncert 

 nfd-start 
 ``` 

  ----> boom! The error occurs 
 " [NRD] error while connecting to the forwarder" 

 By the way on my Fedora 20 with boost 1.54.0 there is no such problem.

Back