Read timed out

rjv17
@rakeshr , @sujith,
This is the error description:


self.positions = self.kite.positions()
File "/Users/Ranjit/.local/lib/python3.6/site-packages/kiteconnect-3.7.4-py3.6.egg/kiteconnect/connect.py", line 412, in positions
File "/Users/Ranjit/.local/lib/python3.6/site-packages/kiteconnect-3.7.4-py3.6.egg/kiteconnect/connect.py", line 697, in _get
File "/Users/Ranjit/.local/lib/python3.6/site-packages/kiteconnect-3.7.4-py3.6.egg/kiteconnect/connect.py", line 745, in _request
File "/Users/Ranjit/.local/lib/python3.6/site-packages/kiteconnect-3.7.4-py3.6.egg/kiteconnect/connect.py", line 742, in _request
File "/Users/Ranjit/anaconda3/lib/python3.6/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/Users/Ranjit/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/Users/Ranjit/anaconda3/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/Users/Ranjit/anaconda3/lib/python3.6/site-packages/requests/adapters.py", line 521, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7)

And how can I make my code to continue even after encountering this? ( I am new to python)
Sign In or Register to comment.