Time out Error

muthunadar
Hi Rainmatter team: I am getting time out error for kite.quote() in the last 2 weeks....too many timeouts througout the day...i am using default, 7 sec as the timeout window.....Can you investiage and solve this.

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

thx
  • sujith
    You might be getting blocked by our CDN, it could be happening because it is considering your requests as DDOS attack. You may use Websocket API to fetch live market data.
  • muthunadar
    thanks...but, my frequency of using kite.quote() is reasonable...i read in the document it allows 3 requests per second. Still do you think the system thinks of it as DDOS attack and stop it?.
  • muthunadar
    BTW, i never used to get this error 3 weeks back
  • sujith
    Quote API allows users to make 1 request per second. It is better to use Websocket API for your use case.
Sign In or Register to comment.