-
April 28th, 2022, 08:51 PM
#1
Hello support.
whenever I shutdown the lightstreamer server in my simulator i get this callback ConnectionListener:: onFailure(PushConnException e) and after that onUnsubscrAll() from com.lightstreamer.ls_client.HandyTableListener i have which i guess its normal.
The issue happened with our real MD provider, we are connected to it we received this:
ConnectionListener: Connection stalled then ConnectionListener:: onFailure(PushServerException e):
In that case is it normal that this is not called: onUnsubscrAll() from com.lightstreamer.ls_client.HandyTableListener ?
Thanks
-
April 29th, 2022, 09:49 AM
#2
Hi baalbaki,
It seems that the two environments have different network infrastructures or anyway with substantially different behavior when shutting down a Lightstreamer server.
In the first case, the client immediately detects the disconnection of the client session and correctly throws a PushConnException and signals the unsubscription of all active subscriptions.
In the second case, however, the client does not immediately detect the disconnection but the session simply becomes silent.
After the proper timeout the session goes into the Stalled state. Then once the PushServerException is received, that is considered a serious error.
In any case is the application that must take the necessary actions to create a new session (and new subscriptions).
Regards,
Giuseppe
Similar Threads
-
By ErikLatimer in forum General
Replies: 3
Last Post: October 3rd, 2018, 12:06 PM
-
By carenot in forum General
Replies: 1
Last Post: June 13th, 2016, 10:01 AM
-
By tsezuu in forum Client SDKs
Replies: 5
Last Post: January 18th, 2016, 10:10 AM
-
By jonasby1 in forum General
Replies: 4
Last Post: February 16th, 2012, 08:47 AM
-
By BKnight in forum General
Replies: 3
Last Post: February 10th, 2012, 09:33 AM
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 03:03 PM.
Bookmarks