-
July 29th, 2015, 01:15 PM
#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: 2351
Size: 8.3 KB
ID: 194](https://forums.lightstreamer.com/attachment.php?attachmentid=194&d=1438172092&thumb=1)
Thanks and sorry for my english.
-
July 30th, 2015, 08:41 AM
#2
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
-
By david@theredx.com in forum Client SDKs
Replies: 1
Last Post: July 25th, 2013, 05:13 PM
-
By Alessandro in forum Adapter SDKs
Replies: 0
Last Post: June 3rd, 2013, 01:47 PM
-
By Alessandro in forum Adapter SDKs
Replies: 0
Last Post: May 9th, 2013, 03:33 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 02:49 AM.
Bookmarks