reconnection

amit_aggrawal321
How to ensure existing kite api connection gets reestablished on its own in case of disconnection from your end. It gives me error like "Token Expired" but does not try to reconnect on its own.

We can't keep monitoring connection status. It has to be connected automatically again in case of disconnection / token expiry.
  • sujith
    TokenException means your access token is invalid. You need to re-login to start using APIs again.
  • amit_aggrawal321
    Day before yesterday in one of my app, got Token Exception at 10 PM.. Why w'd have access token got invalid at that time. What I understand is you guys invalidate access / request tokens in morning once before market hours. During market hours how will I know my app stopped working due to access token invalidation ??
  • sujith
    You will get Token Exception when your session is expired.
    Your access token will be invalid if you are logging in to PI or NEST. It may also be cleared if you log out of any platform.
Sign In or Register to comment.