[Nfd-dev] NFDC Register
Lan Wang (lanwang)
lanwang at memphis.edu
Tue Jan 27 07:35:28 PST 2015
Maybe the function that canonizes faceUri needs to remove the trailing /?
Lan
On Jan 27, 2015, at 4:26 AM, Ivan Yeo <ivanyeo at CS.UCLA.EDU> wrote:
> Hi all,
>
> Thanks for all the help and replies. I finally got it figured out. I left the trailing slash '/' at the end of the command and it cause both an error on this Mac OS X Yosemite 10.10 that I'm running and on the Android as well. Nonetheless, when I removed it, all was fine. I have since been able to use nfdc to append a RIB entry.
>
> The command that works for me now is: nfdc register /ndn tcp4://spurs.cs.ucla.edu
>
> Cheers,
> Ivan
>
> ----- Original Message -----
> From: "Alex Afanasyev" <alexander.afanasyev at ucla.edu>
> To: "Lan Wang" <lanwang at memphis.EDU>
> Cc: "Ivan Yeo" <ivanyeo at cs.ucla.edu>, "nfd-dev" <nfd-dev at lists.cs.ucla.edu>
> Sent: Monday, January 26, 2015 11:18:46 AM
> Subject: Re: [Nfd-dev] NFDC Register
>
>
>> On Jan 26, 2015, at 7:37 AM, Lan Wang (lanwang) <lanwang at memphis.EDU> wrote:
>>
>> See http://redmine.named-data.net/issues/1988 (note #30 reported by Yi Huang).
>
> This specific issue was within the Android environment.
>
> I may have read wrong Ivan's original message. If you're running **not** within Android, then the error should not exist and its origin needs to be tracked down. If it is within the Android, then we already may have a solution.
>
> ---
> Alex
>
>> Lan
>>
>> On Jan 26, 2015, at 9:00 AM, "Lan Wang (lanwang)" <lanwang at memphis.edu>
>> wrote:
>>
>>> This is one of the problems Yi Zhuang reported in redmine.
>>>
>>> Lan
>>>
>>> Sent from my iPhone
>>>
>>>> On Jan 26, 2015, at 6:27 AM, Ivan Yeo <ivanyeo at CS.UCLA.EDU> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I ran into some issues when I tried to run the following command on my localhost with NFD running:
>>>> nfdc register /ndn tcp4://spurs.cs.ucla.edu/
>>>>
>>>> What I am trying to achieve is to modify the RIB so that I am able to forward the expressed name: /ndn/org/caida/ping/78038.0 through my localhost. However, the error message is shown as such:
>>>>
>>>> ERROR: Face creation failed: Invalid URI (code: 408)
>>>> Obtain faceId failure: Canonize faceUri failed : Remote endpoint hostname or port cannot be resolved: Invalid argument
>>>>
>>>> I'm not too sure if I'm missing anything or doing something wrong?
>>>>
>>>> I'll keep looking around for now. Many thanks in advance.
>>>>
>>>> Cheers,
>>>> Ivan
More information about the Nfd-dev
mailing list