ReadTimeout: HTTPSConnectionPool

Hi All,

I am trying to get the price of an instrument from the quote function(kite.quote) and sometimes get an error like "ReadTimeout: HTTPSConnectionPool(host='', port=443): Read timed out. (read timeout=7)" or "'Connection to timed out. (connect timeout=7)'))".

Whenever these errors come up,my code stops running.Please help me to understand the error and the approach to resolve these issues.

I have attached the error logs.

Thanks and Regards,

  • rakeshr
    We are looking at it. For now, you can handle ReadTimeout exception at your end, something like:
    Your code logic here
    except ReadTimeout:
Sign In or Register to comment.