Results 1 to 2 of 2
  1. #1
    michaelvb
    Guest

    subscription came to late

    Hi,

    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'
    com.lightstreamer.interfaces.data.SubscriptionExce ption: Subscribe request come
    too late
    at com.lightstreamer.adapters.remote.data.DataProvide rProtocol.readSubsc
    ribe(DataProviderProtocol.java:77)
    at com.lightstreamer.adapters.remote.data.RemoteDataP rovider$1.onReplyRe
    ceived(RemoteDataProvider.java:196)
    at com.lightstreamer.adapters.remote.request_reply.Re questSender.onNotif
    yReceived(RequestSender.java:296)
    at com.lightstreamer.adapters.remote.request_reply.No tifyReceiver.onNoti
    fyReceived(NotifyReceiver.java:165)
    at com.lightstreamer.adapters.remote.request_reply.No tifyReceiver.run(No
    tifyReceiver.java:89)


    Thanks in advance

    Michael

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    973
    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 APIs
    Replies: 3
    Last Post: March 24th, 2010, 08:35 AM
  2. Incremental fields subscription
    By Pradeep Chahal in forum Client APIs
    Replies: 1
    Last Post: February 2nd, 2010, 10:11 AM
  3. Incremental fields subscription
    By Pradeep Chahal in forum Adapter APIs
    Replies: 1
    Last Post: February 2nd, 2010, 09:23 AM
  4. Subscription Problem, I think
    By jcroston in forum Client APIs
    Replies: 4
    Last Post: October 7th, 2008, 04:06 PM
  5. Get <WARN> message: Reply too late.
    By aikobit in forum Adapter APIs
    Replies: 9
    Last Post: July 8th, 2008, 01:57 AM

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 03:46 PM.