requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /session/token (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',))
This is happening only some times, But if it happens, its happening continuously
@Venkat123 Though it happens very rare, you need to handle ConnectionError at your end and keep performing authenticate until you obtain the access_token after the login flow.
Though it happens very rare, you need to handle
ConnectionError
at your end and keep performing authenticate until you obtain the access_token after the login flow.