Results 1 to 2 of 2
  1. #1

    Node js onServerError not handled

    Hi, i'm trying to connect with the node js client but when i connect i have a message on onStatusChange saying Disconnected:Will-Retry but the function of onServerError is not handled so i don't know where is the error.
    Click image for larger version. 

Name:	Capture.PNG 
Views:	1017 
Size:	8.3 KB 
ID:	194
    Thanks and sorry for my english.

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Eslem,

    Please note that the onServerError event handler is called only when the refusal error was sent directly by the Lightstreamer server.
    In this case, no recovery attempts would be performed and the connection status would eventually switch to "DISCONNECTED".

    But, in your case it seems that the Lightstreamer server is not even reached, and indeed the LightstreamerClient tries to re-connects.
    Please could you check the server url that you specified in your client or consider any other impediment to the communication between client and server.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Node.js client failing to connect in HTTP-STREAMING transport
    By david@theredx.com in forum Client SDKs
    Replies: 1
    Last Post: July 25th, 2013, 06:13 PM
  2. Benchmarking Socket.IO vs. Lightstreamer with Node.js
    By Alessandro in forum Adapter SDKs
    Replies: 0
    Last Post: June 3rd, 2013, 02:47 PM
  3. Replies: 0
    Last Post: May 9th, 2013, 04:33 PM

Tags for this Thread

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 05:48 AM.