Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safely close after token expiry #4

Open
4 tasks done
rjra2611 opened this issue Aug 5, 2022 · 0 comments
Open
4 tasks done

Safely close after token expiry #4

rjra2611 opened this issue Aug 5, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@rjra2611
Copy link
Member

rjra2611 commented Aug 5, 2022

Expected Behavior

The algorithm should exit when Zerodha's access token expires having daily validity

Actual Behavior

Algorithm retries to connect to websocket with an expired token

Potential Solution

Check if token validity has expired and exit the algorithm

Reproducing the Problem

Deploy algorithm before 6 AM. New access tokens are generated daily at 7 AM

System Information

Windows 10

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
@Martin-Molinero Martin-Molinero added the bug Something isn't working label Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants