Read Time outs

kiteapi
Is it just me or today we are getting too many Read time outs from the server, so far my scripts got stopped 8 times, with this error:

requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7)

Can someone from Zerodha API team tell me how do I resolve this? I have never received this error till date and yes my internet is stable and fine, nothing has changed there.
  • rakeshr
    Is there any specific end-point throwing time-outs?
    Can you paste the complete log here?
    You can look at this thread for the solution.
  • kiteapi
    @rakeshr I again hit this issue once today, while I was getting kite.ltp() in a loop and it was just for TWO symbols + once in 2 seconds. While the limits are way high, where kite.ltp() can take 500 or 1000 symbols + 10 kite.ltp() requests per second. I do not know why this is happening?

    I will put an exception so my script will not exit out like mentioned in your shared link, I hope you guys will look into this and fix this. This has been happening only since a week or so, before that everything was fine.
  • sujith
    @kiteapi,
    You can refer to this similar thread.
Sign In or Register to comment.