Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Dec 2019
    Posts
    66

    Question WIFI Disconnection

    when wifi disconnection happened, the client entered the DISCONNECTED state, and keep trying to reconnect.

    my question, when the client goes to DISCCONNECTED state, does that mean that all previous subscriptions have been killed by the server, or the client should handle the unsubscriptions.

    I have a very strange scenario as the following:
    1 - LS client connected and subscribed item#1
    2 - Wifi disconnected.
    3 - LS client ==> DISCONNECTED.
    4 - LS RECONNECTED and subscribed again
    5 - LS Client receives two updates for item#1 with same values????????


    How this happened?

  2. #2
    Hello,

    When the client is disconnected, all the subscriptions are lost and you donít have to make any unsubscritiptions. Then, when it gets reconnected, the client issues again all the subscriptions automatically.

    If after the reconnection you receive two updates with the same values, a possible explanation is that you have subscribed to the same item twice.

    You can exclude this scenario by calling the method LightstreamerClient.getSubscriptions and checking there arenít any duplicates.

    If itís not the case, can you enable the client logger to the DEBUG level and post an excerpt of the output showing the unexpected behavior?

 

 

Similar Threads

  1. Replies: 3
    Last Post: June 26th, 2018, 09:51 AM
  2. Replies: 3
    Last Post: February 11th, 2014, 09:43 AM
  3. Client Server Disconnection Notification
    By vaduganathan in forum Adapter SDKs
    Replies: 1
    Last Post: May 28th, 2010, 10:34 AM
  4. Track the Server disconnection
    By vaduganathan in forum Client SDKs
    Replies: 1
    Last Post: May 12th, 2010, 10:26 AM
  5. Security patterns: Forcing disconnection
    By churrusco in forum General
    Replies: 15
    Last Post: April 20th, 2010, 09:46 AM

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 12:39 AM.