-
May 23rd, 2016, 10:38 AM
#1
An activity warning - OnFailure: No data from server
hi,
i have a problem in my adapter that it is initialized then make a subscribe to items from another adapter to do some calculations an then push the result to lightstreamer.
sometimes after few minutes a some connection exceptions is appeared from the connection listener as :
public void OnActivityWarning(bool warningOn)
warningOn = true
public void OnFailure(PushServerException e)
e.Message = No data from server
what does these exceptions mean? and what the reasons which make that ?
-
May 24th, 2016, 09:48 AM
#2
Hi engcoder,
Indicates that an attempt to reconnect to a session has not received any answer for longer than a configurable timeout time.
Indeed, it should be further investigated in the server log to find out the reasons for the disconnection and the failure of reconnection.
Please confirm that the adapter and the Lightstreamer server run on different machines so that network issues can not be escluded.
Regards,
Giuseppe
-
May 24th, 2016, 10:20 AM
#3
hi,
i can not find the reason of disconnect
this is the log file of the day
http://www.mediafire.com/download/fe...er23-5.log.zip
the disconnection occured between 10:02 AM : 10:03 AM
and how can i manage the timeout period from config.
-
May 25th, 2016, 11:14 AM
#4
Hi engcoder,
I'm not sure I have identified just the Adapter disconnection we are talking about, indeed in the range indicated there are a few sessions that disconnected.
All these disconnections seem to be related to client-side problems, or in any case voluntary closure of the session.
However, I want to point out that starting at 10:00:00 AM for about 3 minutes we have thousands of messages like these:
Unexpected snapshot event for MERGE item trade_info179
Unexpected snapshot event for MERGE item syola108
Unexpected UPDATE event for key 164-p0-3. Event propagated as an ADD command.
Despite all these messages are not fatal, and the server still able to handle the updates, it might be useful to check the Adapter code to properly handle the snapshot flag on each update.
On the other hand, I have a doubt, it is possible that all these updates are also received by your other adapter and the load for calculations processing is so high to cause the disconnection?
That said, the reconnection timeout is configurable by ConnectionInfo.ReconnectionTimeoutMillis property.
Regards,
Giuseppe
Similar Threads
-
By New Soft in forum Client SDKs
Replies: 5
Last Post: July 1st, 2014, 03:55 PM
-
By thomas.renger@gmail.com in forum Client SDKs
Replies: 2
Last Post: January 10th, 2011, 03:07 PM
-
By indrajit in forum General
Replies: 2
Last Post: March 5th, 2008, 06:29 AM
-
By Waddy in forum Client SDKs
Replies: 4
Last Post: May 14th, 2007, 02:38 PM
-
By jsharpe in forum Client SDKs
Replies: 1
Last Post: April 19th, 2007, 09:24 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 10:12 AM.
Bookmarks