It looks like you're new here. If you want to get involved, click one of these buttons!
while True: try: # do stuff except SomeSpecificException: continue break
pool_opts = {"max_retries": Retry(...)}kite_client = KiteConnect(api_key="API_KEY", access_token="TOKEN", pool=pool_opts)
while True:
try:
# do stuff
except SomeSpecificException:
continue
break
ref: https://stackoverflow.com/questions/2083987/how-to-retry-after-exception
but why this problem was occuring
I will ask the data team to look into this.
This issue still persists. Please look into it.
It would something like this refers these links for more info
https://urllib3.readthedocs.io/en/latest/reference/urllib3.util.html#urllib3.util.retry.Retry
https://github.com/zerodhatech/pykiteconnect/blob/master/kiteconnect/connect.py#L159
Make sure to use appropriate `backoff_factor` when creating `Retry` obj.