Java: Web socket onTick() receives 0 ticks

b6arat6
I don't receive any ticks on Java Web socket. I have been seeing this issue since last 2 days.
Is there an issue? When will it be fixed?
  • sujith
    It is a heartbeat tick. Kite Ticker sends a 1-byte message to check if the connection is intact. You can ignore that and check the length of incoming tick array length for doing your operations.
  • b6arat6
    Thanks, Sujith for a quick reply.

    What is the duration for the tick with data to arrive? I dont see any tick with data coming for more than 2 mins or so yet.
  • b6arat6
    Yes, I waited for more than 15 to 20 mins but no ticks yet. Could you check why?
  • tahseen
    @b6arat6 I think you should check Java code examples. Most of the time we make mistake and assume that the issue is on the other side.
  • b6arat6
    b6arat6 edited August 2020
    I was sending the tokens with a List(String) from one class to another with a casting to List(Long) through a generic method but it did not cause any error at the client as I see the Java client just converts that into json. Anyway, my bad and thanks, I looked at the code once again to cross verify and found that out.

    Please close it.
This discussion has been closed.