Results 1 to 2 of 2

Hybrid View

  1. #1
    Member
    Join Date
    Nov 2007
    Location
    London
    Posts
    18

    Incorrect Answer - PushServerException

    Hi,

    We're getting the following PushServerException ("Incorrect Answer") thrown in our application and we're not sure why. Could you shed some light on what might cause this problem?

    Thanks,

    Richard


    25-Feb-2009 13:43:19 com.lightstreamer.ls_client.ServerManager waitEvents

    SEVERE: Error while listening for data in session S147e2fb49e25364dT4232984

    2009-02-25 13:43:19,552 ERROR

    com.lightstreamer.ls_client.PushServerException: Incorrect answer: END

    at com.lightstreamer.ls_client.PushServerTranslator.p arsePushData(PushServerTranslator.java:661)

    at com.lightstreamer.ls_client.PushServerProxy.waitUp date(PushServerProxy.java:485)

    at com.lightstreamer.ls_client.ServerManager.waitEven ts(ServerManager.java:585)

    at com.lightstreamer.ls_client.ServerManager$1.run(Se rverManager.java:94)

    25-Feb-2009 13:43:19 com.lightstreamer.ls_client.ServerManager waitEvents

    SEVERE: Error while listening for data in session S147e2fb49e25364dT4232984

    2009-02-25 13:43:19,552 ERROR
    com.lightstreamer.ls_client.PushServerException: Incorrect answer:

    at com.lightstreamer.ls_client.PushServerTranslator.p arsePushData(PushServerTranslator.java:661)

    at com.lightstreamer.ls_client.PushServerProxy.waitUp date(PushServerProxy.java:485)

    at com.lightstreamer.ls_client.ServerManager.waitEven ts(ServerManager.java:585)

    at com.lightstreamer.ls_client.ServerManager$1.run(Se rverManager.java:94)

    25-Feb-2009 13:43:19 com.lightstreamer.ls_client.ServerManager waitEvents

    SEVERE: Error while listening for data in session S147e2fb49e25364dT4232984

    2009-02-25 13:43:19,552 ERROR
    com.lightstreamer.ls_client.PushConnException: java.io.IOException

    at com.lightstreamer.ls_client.PushServerProxy.waitCo mmand(PushServerProxy.java:454)

    at com.lightstreamer.ls_client.PushServerProxy.waitUp date(PushServerProxy.java:472)

    at com.lightstreamer.ls_client.ServerManager.waitEven ts(ServerManager.java:585)

    at com.lightstreamer.ls_client.ServerManager$1.run(Se rverManager.java:94)

    Caused by: java.io.IOException

    at com.lightstreamer.ls_client.PushServerTranslator.w aitCommand(PushServerTranslator.java:607)

    at com.lightstreamer.ls_client.PushServerProxy.waitCo mmand(PushServerProxy.java:425)

    ... 3 more

    unsubscr table

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    You actually have found a bug. The Server shouldn't have sent the END message, as it is reserved for future versions of the client library (thus, the bug is in the Server).

    Note that the END message just notifies that the session is being forcibly (and unexpectedly from the client point of view) closed by the Server.
    However, the current version of the java client library does not support this notification and just finds that the connection closes at once.
    Therefore, without the bug, the session would have been closed the same; you just wouldn't have got the two onDataError calls, but only the final onFailure call.
    We cannot fix the bug in short time and we apologize for the inconvenient. For now, you can just recognize the "Incorrect answer" errors and ignore them.

    If needed, a look at the corresponding Server log could help us understand the reason why the Server forcibly closed the session.

 

 

Similar Threads

  1. PushServerException: "No more answer from server"
    By mnfjorge in forum Client SDKs
    Replies: 2
    Last Post: March 16th, 2010, 09:21 PM
  2. Replies: 1
    Last Post: February 23rd, 2009, 12:41 PM

Bookmarks

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 09:55 AM.