I am facing the below error, while trying to fetch order book Zerodha order_book fetch error:HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7).
My algo is hosted in aws, also I checked the reach-ability of my instance, all good in that regard. Actually facing this quite frequently now.
We are aware about this time-out issue occuring intermittently for few GET queries. We are working on the fix. Will update here once fix is patched. For time being, you can handle such intermittent time-out instances at your end. Something like:
from requests.exceptions import ReadTimeout try: # Make the required request except ReadTimeout: # In case of time-out handle it and repeat the request again with some delay/sleep
For time being, you can handle such intermittent time-out instances at your end. Something like:
We will try to dig more into this.