[Ndn-interest] (NDN-js) query localhost from browser?

Ashlesh Gawande (agawande) agawande at memphis.edu
Wed Jul 20 13:41:40 PDT 2016

I have tried that example and the browser does not get anything.

NFD logs show that the interest for /localhost/nfd/faces/list is dropped due to scope violation.

In https://github.com/named-data/ndn-js/blob/master/examples/browser/test-list-faces.html#L47

it says that a Unix socket is used to connect to the local forwarder, but nfd-status shows websocket.


From: Ndn-interest <ndn-interest-bounces at lists.cs.ucla.edu> on behalf of Thompson, Jeff <jefft0 at remap.ucla.edu>
Sent: Wednesday, July 20, 2016 3:25:27 PM
To: El Mimouni, Omar Ilias (IntlAssoc); ndn-interest at lists.cs.ucla.edu
Subject: Re: [Ndn-interest] (NDN-js) query localhost from browser?

See the example test-list-faces:

- Jeff T

From: Ndn-interest <ndn-interest-bounces at lists.cs.ucla.edu<mailto:ndn-interest-bounces at lists.cs.ucla.edu>> on behalf of "El Mimouni, Omar Ilias (IntlAssoc)" <omarilias.elmimouni at nist.gov<mailto:omarilias.elmimouni at nist.gov>>
Date: Wednesday, July 20, 2016 at 13:16:00
To: "ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>" <ndn-interest at lists.cs.ucla.edu<mailto:ndn-interest at lists.cs.ucla.edu>>
Subject: [Ndn-interest] (NDN-js) query localhost from browser?

Hi all,

I am currently playing with NDN-js library, and I was wondering if it is possible to query the localhost (e.g.  ndn:/localhost/nfd/faces/list) .
I could do that with node using UnixSocket. Is it possible to do it from a browser (knowing that the browser uses WebSockets) ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20160720/3f0e376a/attachment.html>

More information about the Ndn-interest mailing list