-
February 20th, 2009, 02:05 PM
#1
Getting PushServerException SYNC_ERROR under Https load test of Lightstreamer server
Hi,
I am getting the following error when running some load tests on lightstreamer server.
The client (java) that i am using connects to the Lightstreamer server using HTTPS.
Basically, i am running multiple concurrent clients , and sometimes getting the following error:
com.lightstreamer.ls_client.PushServerException: Session not found
at com.lightstreamer.ls_client.PushServerTranslator.c heckAnswer(PushServerTranslator.java:582)
at com.lightstreamer.ls_client.PushServerProxy.resync Session(PushServerProxy.java:399)
at com.lightstreamer.ls_client.ServerManager.rebind(S erverManager.java:787)
at com.lightstreamer.ls_client.ServerManager$SessionA ctivityManager.resumeSession(ServerManager.java:17 7)
at com.lightstreamer.ls_client.ServerManager$SessionA ctivityManager.runSession(ServerManager.java:243)
at com.lightstreamer.ls_client.ServerManager$SessionA ctivityManager.access$200(ServerManager.java:104)
at com.lightstreamer.ls_client.ServerManager$SessionA ctivityManager$1.run(ServerManager.java:121)
on further investigation i found out that the onDataError method of ConnectionListener (i pass in my own implementation to the client) class is getting called , with a PushServerException which has an error code of 8 . This error maps to SYNC_ERROR.
the javadoc is not very clear as to under what circumstances such an error appear.
i didnt see this error when clients connected using HTTP.
can someone shed some light as to what this error message means,.
Thanks
-
February 23rd, 2009, 11:41 AM
#2
The client is trying to rebind to the session after the previous streaming connection has consumed the content-length.
The SYNC ERROR means that the Server could not find the session; you should be able to find corresponding log lines in the Server log.
This usually happens because the client is very slow (probably because of the load of your load test) and it issues the rebind request with a significant delay.
Note that, if the test is for the Server, overloading the client process may affect the test outcome. If overloading the client is part of the test, then the <session_timeout_mills> setting on the Server can be increased.
Also, rebind operations, if they are not intended as part of the test, can be suppressed by increasing the <content_length> setting on the Server.
Similar Threads
-
By PraveenN in forum Client SDKs
Replies: 2
Last Post: August 22nd, 2011, 08:25 AM
-
By dalmy in forum Adapter SDKs
Replies: 1
Last Post: July 12th, 2010, 10:05 AM
-
By mnfjorge in forum Client SDKs
Replies: 2
Last Post: March 16th, 2010, 08:21 PM
-
By ddhanis in forum General
Replies: 3
Last Post: December 15th, 2009, 09:45 AM
-
By quanhm in forum General
Replies: 1
Last Post: May 19th, 2008, 09:48 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 01:20 PM.
Bookmarks