Kite Connect - Threaded Mode

mnabhishek
@rakeshr @sujith
When I'm running my code in threaded mode i.e. kws.connect(threaded=True)
There is no result. It just exits, says nothing, does nothing.

Without the threaded mode though, the code crashes in 5 seconds. I'm just calling one function in on_ticks()
Error:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade:443
DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /orders/200408004616222?order_id=200408004616222 HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.kite.trade:443
DEBUG:urllib3.connectionpool:https://api.kite.trade:443 "GET /orders/200408004616287?order_id=200408004616287 HTTP/1.1" 200 None

ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (None)
INFO:root:Connection error: 1006 - connection was closed uncleanly (None)
ERROR:kiteconnect.ticker:Connection closed: 1006 - connection was closed uncleanly (None)

Tagged:
This discussion has been closed.