Results 1 to 3 of 3
  1. #1

    Failure to connect, "/null not found"

    I'm trying to use node.js to use Lightstreamer to stream my real time data and node.js as my adapter, to host pages and to host additional out-of-band data. I used the github project, Weswit/Lightstreamer-lib-node-adapter, as a template for the adapter. The problem I'm having is with my following lines on the client side:

    client = new LightstreamerClient("http://localhost:8080/","PROXY_NODE");
    client.connect()

    I'm running everything on the same PC, for now, so I'm using localhost on the client side. But I get the following error on the "client.connect()" line as seen from the Google Chrome javascript console:

    GET http://192.168.0.14:3000/null 404 (Not Found)

    I also noticed node.js did get a request for http://192.168.0.14:3000/null, which of course was not there. Why is LightstreamerClient even trying to go to my web server at port 3000 (the node web server)? What am I doing wrong?
    Last edited by mbenson; March 16th, 2014 at 09:26 PM.

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    I think you have stumbled into the same issue discussed in this thread; for more details, please refer also to this blog post.

    Please let me know if this is not your case.

  3. #3
    I don't think I enabled sharing yet, but I fixed it anyway. I think I had a mismatch between the server and client code. Once I dropped in the correct client library, that error went away.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 09:49 PM.