-
December 12th, 2018, 02:53 PM
#1
Multiple create_session.js calls made before successfully establishing the connection
Hi,
I am using lightstreamer version 6 web client to connect to the LS server. I have observed in network logs that multiple create_session.js call is made before the connection is established successfully.
LS_cause for the first call is new.api
and for others it is timeout.11.0
Due to this, my initial request for data is delayed significantly. Let me know if this can be fixed in any way.
Thanks
-
December 13th, 2018, 08:44 AM
#2
Hi,
The client issues multiple create_session requests because the server doesn’t send a response to the client. You can reduce the number of issued requests increasing the timeout interval the client waits for before attempting a new request (see ConnectionOptions#setConnectTimeout). The default is 4 seconds.
Anyway I suggest you to investigate whether there are connectivity problem on your network before setting a connect timeout too big.
Similar Threads
-
By rajesh.palanisamy in forum Adapter SDKs
Replies: 7
Last Post: June 1st, 2018, 09:40 AM
-
By Sathyaayyanar in forum Adapter SDKs
Replies: 5
Last Post: August 24th, 2010, 09:32 AM
-
By brianjohnson in forum Adapter SDKs
Replies: 2
Last Post: April 5th, 2010, 12:02 PM
-
By latha in forum Adapter SDKs
Replies: 9
Last Post: June 3rd, 2009, 09:56 AM
-
By Peterhuang in forum General
Replies: 1
Last Post: November 8th, 2007, 08:31 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 08:23 AM.
Bookmarks