Kite API issue on Reconnection: Messed up streaming of quotes

chotabheem
I am experiencing a trouble with Kite API. The issue arrises on RECONNECTION (after Internet has briefly disconnected).
I have previously used this code a year or so ago. It worked fine. This seems to be a new issue.

Here is the specific issue: (Please refer to attached outputs)

Normal (No Color Marking):
When login occurs: Quote streaming works as expected. All fields are present in the packet, and values update normally.

Problematic (Colored Boxes and Underlines):
On reconnect after a brief internet disconnection, the quote packets are messed up. The mode unexpectedly downgrades to "quote".
Several fields in the packet become null which triggers repeated errors. The reconnect/disconnect keeps repeating despite internet being fine and this never recovers. There is also OnError:Lost ticker connection. There is a flurry of damaged quotes packet (with nulls etc) after each OnReconnect --> OnError --> OnConnect and this keeps repeating. Also "Object reference not set to an instance of an object" error.

Maybe something similar to this:
https://kite.trade/forum/discussion/15541/api-issue-post-websocket-re-connect#latest

Any advice regarding this is greatly appreciated.
Please ignore "x.x" and "ERROR : NOT A DATETIME MKC349". That is written by me to trace the segment.
Thank you!

Kite Api: Version 3.0.3
VIsual Studio/Visual Basic
The code worked fine sometime ago.



Sign In or Register to comment.