kite.access_token got "None" or "Expired" randomly

shahhardik222
In the local environment access token is working fine but after deployment it on server. Access token got "None" randomly after 2-3 request or sometime immediately after login.
Steps that I followed:
1. After login URL, I got request token
2. Using request token, I got access token successfully by generating session.
3. In the logging I can see the access token
4. After then when I call second request kite.orders() it says Invalid api keys or access token. Sometime it works for 3-4 request and access token got None after some requests.

Please help.

Thanks
Hardik
Tagged:
Sign In or Register to comment.