Results 1 to 2 of 2
  1. #1

    subscription came to late


    I'm getting an error message when using a helloworld example modified adapter on the ipod touch.

    When it detects streaming has commenced it request an initial update (via a fake subscription) which does the initial page update.

    This works fine... most of the time..

    Sometimes I get a java error in the lightstreamer command box that says subscription came to late. This happens about 1 in every 10 refreshes.

    This does not occur if I use Safari on a normal pc (was able to do refresh, page update etc 50 times in a row).

    Is the ipod touch just being too slow to load up sometimes? Is there any way of increasing the time which the lightstreamer aportions for subs to come in?

    Here is the specific error message

    28.May.08 13:06:50,852 <ERROR> Exception caught while subscribing to item 'INIT1
    211944004139' ption: Subscribe request come
    too late
    at rProtocol.readSubsc
    at rovider$1.onReplyRe
    at com.lightstreamer.adapters.remote.request_reply.Re questSender.onNotif
    at com.lightstreamer.adapters.remote.request_reply.No tifyReceiver.onNoti
    at com.lightstreamer.adapters.remote.request_reply.No

    Thanks in advance


  2. #2
    Join Date
    Jul 2006
    The message is issued by the Remote .NET Server when it receives (from the Proxy Adapter on Lightstreamer Server) a subscribe request and an unsubscribe request for the same item in sequence, in such a way that the unsubscribe request comes even before the subscribe request has been dispatched to the Remote Adapter.
    Maybe, the requests were queued because of a previous subscribe-unsubscribe pair.

    As you say you use a "fake subscription", do you unsubscribe the item immediately after it is subscribed?
    Anyway, it is not clear how this could be related to a slow client (if we understand well, you are running your client on the ipod touch and Lightstreamer Server and the Remote Adapter on a normal host; may you please confirm?)
    I assume that as long as the client is not receiving any data, the fake subscription is kept active by the client, hence no unsubscription can take place on the Remote Server.
    Only a log from Lightstreamer Server, configured with the "LightstreamerLogger.subscriptions" category as DEBUG, could help us clarify things.



Similar Threads

  1. re subscription
    By Pradeep Chahal in forum Client SDKs
    Replies: 3
    Last Post: March 24th, 2010, 09:35 AM
  2. Incremental fields subscription
    By Pradeep Chahal in forum Client SDKs
    Replies: 1
    Last Post: February 2nd, 2010, 11:11 AM
  3. Incremental fields subscription
    By Pradeep Chahal in forum Adapter SDKs
    Replies: 1
    Last Post: February 2nd, 2010, 10:23 AM
  4. Subscription Problem, I think
    By jcroston in forum Client SDKs
    Replies: 4
    Last Post: October 7th, 2008, 05:06 PM
  5. Get <WARN> message: Reply too late.
    By aikobit in forum Adapter SDKs
    Replies: 9
    Last Post: July 8th, 2008, 02:57 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 06:57 AM.