Frequent disconnects and unable to parse instrument tokens

Ramkrishna
Hi,
Please find below logs. I noticed it from few days and now today it was extreme disconnects. Please note I've removed sensitive information from the logs.

I think it is since kite version 2.4.0. I have to also remove plenty of logs to fit the post's character limit, something you guys should increase or provide a way to attach files.

10:20:20 Reconnecting
10:20:20 Closed ticker
10:20:08 Closed ticker
10:20:05 Error: Error parsing instrument tokens.
10:20:04 Error: Error parsing instrument tokens.
10:19:57 Connected ticker
10:19:49 Error: Error parsing instrument tokens.
10:19:49 Error: Error parsing instrument tokens.
10:19:48 Connected ticker
10:19:47 Error: Error parsing instrument tokens.
10:19:47 Error: Error parsing instrument tokens.
10:19:47 Connected ticker
10:19:44
10:19:44 Reconnecting
10:19:38
10:19:38 Reconnecting
10:19:31
10:19:31 Reconnecting
10:19:25
10:19:25 Reconnecting
10:19:25 Closed ticker
10:19:20 Error: Error parsing instrument tokens.
10:19:20 Error: Error parsing instrument tokens.
10:19:09 Connected ticker
10:19:06 Connected ticker
10:19:03
10:19:03 Reconnecting
10:18:57
10:18:57 Reconnecting
10:18:57 Closed ticker
10:18:51 Error: Error parsing instrument tokens.
10:18:51 Error: Error parsing instrument tokens.
10:18:51 Connected ticker
10:18:42 Connected ticker
10:18:42
10:18:42 Connected ticker
10:18:42 Error: Error while recieving data. Message: A send has been interrupted.
10:17:28 Closed ticker
10:17:22 Closed ticker
10:17:12 Closed ticker
10:16:59 Closed ticker
10:16:57
10:16:57 Reconnecting
10:16:57 Closed ticker
10:16:51 Error: Error parsing instrument tokens.
10:16:51 Error: Error parsing instrument tokens.
10:16:51 Connected ticker
10:16:46
10:16:46 Reconnecting
10:16:40
10:16:40 Reconnecting
10:16:34 Closed ticker
10:16:28 Connected ticker
10:16:23
10:16:23 Reconnecting
10:16:17
10:16:17 Reconnecting
10:16:17 Closed ticker
10:16:11 Error: Error parsing instrument tokens.
10:16:11 Error: Error parsing instrument tokens.
10:16:11 Connected ticker
10:16:10
10:16:10 Reconnecting
10:16:04
10:16:04 Reconnecting
10:15:58
10:15:58 Reconnecting
10:15:52 Connected ticker
10:15:52
10:15:52 Connected ticker
10:15:52 Error: Error while recieving data. Message: A send has been interrupted.
10:15:52 Error: Error while recieving data. Message: A send has been interrupted.
10:15:31 Closed ticker
10:15:28
10:15:28 Reconnecting
10:15:28 Connected ticker
10:15:28 Error: Error while recieving data. Message: A send has been interrupted.
10:15:26 Connected
10:15:26 timer fired
10:15:25 Closed ticker
10:15:03
10:15:03 Reconnecting
10:15:03 Closed ticker
10:14:57 Error: Error parsing instrument tokens.
10:14:57 Error: Error parsing instrument tokens.
10:14:57 Connected ticker
10:14:55
10:14:55 Reconnecting
10:14:49
10:14:49 Reconnecting
10:14:43
10:14:43 Reconnecting
10:14:43 Connected ticker
10:14:43 Error: Error while recieving data. Message: A send has been interrupted.
10:10:31
10:10:31 Reconnecting
10:10:31 Closed ticker
10:10:26 Connected
10:10:25 Connected ticker
10:10:22
10:10:22 {"APIKey":"","Products":["CNC","NRML","MIS","BO","CO"],"UserName":"","UserShortName":"","AvatarURL":"","Broker":"ZERODHA","AccessToken":"","PublicToken":"","RefreshToken":"","UserType":"individual","UserId":"","LoginTime":"10:10:22 AM","Exchanges":["NSE","NFO","BSE","CDS","MF"],"OrderTypes":["MARKET","LIMIT","SL","SL-M"],"Email":""}
10:10:22 requesttoken=
10:10:22 successfully logged in:
10:10:21 Ticker not connected
10:10:21 timer fired
10:08:15 Closed ticker
10:07:56 Connected ticker
10:07:52
10:07:52 Reconnecting
10:07:52 Closed ticker
10:06:12 Error: Error parsing instrument tokens.
10:06:12 Error: Error parsing instrument tokens.
10:06:11 Connected ticker
10:05:57 Error: Error parsing instrument tokens.
10:05:57 Error: Error parsing instrument tokens.
10:05:57 Connected ticker
10:05:50
10:05:50 Reconnecting
10:05:39 Connected ticker
10:05:39 Error: Error while recieving data. Message: A send has been interrupted.
10:05:39 Closed ticker
10:05:26
10:05:26 Reconnecting
10:05:26 Closed ticker
10:05:17 Error: Error parsing instrument tokens.
10:05:17 Error: Error parsing instrument tokens.
10:05:17 Connected ticker
10:05:16
10:05:16 Reconnecting
10:05:16 Closed ticker
10:04:57 Error: Error parsing instrument tokens.
10:04:57 Error: Error parsing instrument tokens.
10:04:57 Connected ticker
10:04:56
10:04:56 Reconnecting
10:04:56 Closed ticker
10:03:17 Error: Error parsing instrument tokens.
10:03:17 Error: Error parsing instrument tokens.
10:03:17 Connected ticker
10:03:02 Error: Error parsing instrument tokens.
10:03:02 Error: Error parsing instrument tokens.
10:03:02 Connected ticker
10:03:01
10:03:01 Reconnecting
10:02:48 Connected ticker
10:02:47 Connected ticker
10:02:44
10:02:44 Reconnecting
10:02:38
10:02:38 Reconnecting
10:02:32
10:02:32 Reconnecting
10:02:11 Closed ticker
10:01:48 Connected ticker
10:01:29
10:01:29 Reconnecting
10:01:23
10:01:23 Reconnecting
10:01:23 Closed ticker
10:00:50 Error: Error parsing instrument tokens.
10:00:50 Error: Error parsing instrument tokens.
10:00:50 Connected ticker
10:00:48 Connected ticker
10:00:23
10:00:23 Reconnecting
10:00:21 ticker will try reconnecting
10:00:21 Ticker not connected
10:00:21 timer fired
10:00:17
10:00:17 Reconnecting
10:00:17 Closed ticker
9:59:44 Error: Error parsing instrument tokens.
9:59:44 Error: Error parsing instrument tokens.
9:59:44 Connected ticker
9:59:40 Connected ticker
9:59:40 Error: Error while recieving data. Message: A send has been interrupted.
9:59:40
9:59:40 Reconnecting
9:59:40 Closed ticker
9:59:20
9:59:20 Reconnecting
9:59:20 Closed ticker
9:58:21 Error: Error parsing instrument tokens.
9:58:21 Error: Error parsing instrument tokens.
9:58:21 Connected ticker
9:58:19
9:58:19 Reconnecting
9:58:19 Closed ticker
9:57:35 Error: Error parsing instrument tokens.
9:57:35 Error: Error parsing instrument tokens.
9:57:35 Connected ticker
9:57:34
9:57:34 Reconnecting
9:57:34 Closed ticker
9:56:14 Error: Error parsing instrument tokens.
9:56:14 Error: Error parsing instrument tokens.
9:56:14 Connected ticker
9:56:13
9:56:13 Reconnecting
9:56:13 Closed ticker
9:55:21 Connected
9:55:21 timer fired
9:51:17 Error: Error parsing instrument tokens.
9:51:17 Error: Error parsing instrument tokens.
9:51:17 Connected ticker
9:51:02 Error: Error parsing instrument tokens.
9:51:02 Error: Error parsing instrument tokens.
9:51:02 Connected ticker
9:51:02
9:51:02 Reconnecting
9:50:56
9:50:56 Reconnecting
9:50:56 Closed ticker
9:48:12 Error: Error parsing instrument tokens.
9:48:12 Error: Error parsing instrument tokens.
9:48:12 Connected ticker
9:48:12
9:48:12 Reconnecting
9:48:12 Closed ticker
9:38:47 Error: Error parsing instrument tokens.
9:38:47 Error: Error parsing instrument tokens.
9:38:47 Connected ticker
9:38:46
9:38:46 Reconnecting
9:38:46 Closed ticker
9:10:20 Connected ticker
9:10:20 requesttoken=
9:10:20 successfully logged in:
9:10:20
9:10:20 Reconnecting
9:10:09 Closed ticker
9:10:20 Ticker not connected
8:50:06 DoAcceptTcpClientCallback
8:50:05 Connected
8:50:05 Connected ticker
8:50:05
8:50:05 {"APIKey":"","Products":["CNC","NRML","MIS","BO","CO"],"UserName":"","UserShortName":"","AvatarURL":"","Broker":"ZERODHA","AccessToken":"","PublicToken":"","RefreshToken":"","UserType":"individual","UserId":"","LoginTime":"8:50:04 AM","Exchanges":["NSE","NFO","BSE","CDS","MF"],"OrderTypes":["MARKET","LIMIT","SL","SL-M"],"Email":""}
8:50:04 requesttoken=
8:50:04 successfully logged in:
8:50:03 Ticker not connected
  • sujith
    Kite Ticker will disconnect if you are continuously sending junk data.
    Can you run in debug mode and check if you are sending valid data as mentioned in the documentation?
  • Ramkrishna
    @sujith i'm not sending junk data. please don't assume anything. the code is running over years for now. this is happening from few days. if you cant fix or check from your side, then say so
  • rakeshr
    @Ramkrishna
    10:20:05 Error: Error parsing instrument tokens.
    10:20:04 Error: Error parsing instrument tokens.
    Can you make sure, you are sending instrument token as number not as string?
Sign In or Register to comment.