Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008

    Getting PushServerException SYNC_ERROR under Https load test of Lightstreamer server


    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(
    at com.lightstreamer.ls_client.PushServerProxy.resync Session(
    at com.lightstreamer.ls_client.ServerManager.rebind(S
    at com.lightstreamer.ls_client.ServerManager$SessionA ctivityManager.resumeSession( 7)
    at com.lightstreamer.ls_client.ServerManager$SessionA ctivityManager.runSession(
    at com.lightstreamer.ls_client.ServerManager$SessionA ctivityManager.access$200(
    at com.lightstreamer.ls_client.ServerManager$SessionA ctivityManager$

    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,.

  2. #2
    Join Date
    Jul 2006
    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

  1. Replies: 2
    Last Post: August 22nd, 2011, 09:25 AM
  2. Replies: 1
    Last Post: July 12th, 2010, 11:05 AM
  3. PushServerException: "No more answer from server"
    By mnfjorge in forum Client SDKs
    Replies: 2
    Last Post: March 16th, 2010, 09:21 PM
  4. lightstreamer on https
    By ddhanis in forum General
    Replies: 3
    Last Post: December 15th, 2009, 10:45 AM
  5. Performance test for Lightstreamer
    By quanhm in forum General
    Replies: 1
    Last Post: May 19th, 2008, 10: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
All times are GMT +1. The time now is 07:30 PM.