Hi. After every 1 sec, I'm using kite.order_history() and kite.ltp(). I got same error in my 2 apps: Error checking order status: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
@Nivas Can you share how to enable logs of the Kite Connect library? Is rate limit of order_history() 3 req/second per user? I was issuing more than 3 req/sec but max 2 req per app. I have 3 apps and each app can issue max 2 req/sec for kite.order_history() and kite.ltp() per second. But total 6 req per user can happen. Is rate limit per user or per app?
@Nivas@rakeshr My apps run on AWS so internet connection should not be an issue. I have reduced API calls of order_history(). But still I'm occasionally facing "Connection aborted" issue.
You will have to pass debug flag true while initializing the Kite object. You may refer to the code here. Make sure to add this line before initializing the Kite object.
The issue resolved after I increased sleep time from 1 second to a random number between 1 and 60 seconds. Including Websocket would mean major changes in my working code base.
Make sure to add this line before initializing the Kite object. You may refer to the rate limits thread on FAQs.
Now I’m facing below issue:
https://kite.trade/forum/discussion/comment/50259/#Comment_50259