-
May 29th, 2023, 03:14 PM
#1
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?
-
May 29th, 2023, 04:30 PM
#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
-
By tscreators in forum General
Replies: 3
Last Post: June 26th, 2018, 09:51 AM
-
By vpurohit in forum Client SDKs
Replies: 3
Last Post: February 11th, 2014, 09:43 AM
-
By vaduganathan in forum Adapter SDKs
Replies: 1
Last Post: May 28th, 2010, 10:34 AM
-
By vaduganathan in forum Client SDKs
Replies: 1
Last Post: May 12th, 2010, 10:26 AM
-
By churrusco in forum General
Replies: 15
Last Post: April 20th, 2010, 09:46 AM
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 11:59 PM.
Bookmarks