Results 1 to 10 of 16

Hybrid View

  1. #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

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    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

  1. LightStreamer Server Failing Upon A Connection
    By ErikLatimer in forum General
    Replies: 3
    Last Post: October 3rd, 2018, 12:06 PM
  2. Replies: 1
    Last Post: June 13th, 2016, 10:01 AM
  3. Replies: 5
    Last Post: January 18th, 2016, 10:10 AM
  4. Internal cause codes & Session callbacks
    By jonasby1 in forum General
    Replies: 4
    Last Post: February 16th, 2012, 08:47 AM
  5. Internal cause codes
    By BKnight in forum General
    Replies: 3
    Last Post: February 10th, 2012, 09:33 AM

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 03:03 PM.