ReadTimeout exception in kite.ltp API


Got below exception at around 1:10 PM IST, 5 Jan '21 while invoking LTP API. This happened for about 2-3 minutes. And then did not have this problem.

Any issues with LTP API?

last_pos_price = kite.ltp(inst1,inst2)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/kiteconnect/", line 595, in ltp
return self._get("market.quote.ltp", {"i": ins})
File "/home/ubuntu/.local/lib/python3.6/site-packages/kiteconnect/", line 817, in _get
return self._request(route, "GET", params)
File "/home/ubuntu/.local/lib/python3.6/site-packages/kiteconnect/", line 865, in _request
raise e
File "/home/ubuntu/.local/lib/python3.6/site-packages/kiteconnect/", line 862, in _request
File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/", line 643, in send
r = adapter.send(request, **kwargs)
File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='', port=443): Read timed out. (read timeout=7)
Sign In or Register to comment.