ayyaz

I get following exception every second time , and i have to regenerate request_token again Traceback (most recent call last): File "example.py", line 9, in print kite.request_access_token(request_token,api_secrete) File "/usr/local/lib/python2.7/dist-packages/kiteconnect/__init__.py", line 269, in request_access_token "checksum": checksum File "/usr/local/lib/python2.7/dist-packages/kiteconnect/__init__.py", line 581, in _post return self._request(route, "POST", params) File "/usr/local/lib/python2.7/dist-packages/kiteconnect/__init__.py", line 668, in _request raise(exp(data["message"], code=r.status_code)) kiteconnect.exceptions.TokenException: Invalid session credentials

About

Username
ayyaz
Joined
Visits
316
Last Active
Roles
Member

Comments

  • ERROR:kiteconnect.ticker:WebSocket connection lost: [Failure instance: Traceback (failure with no frames): : Connection was aborted locally, using. ]. ERROR:kiteconnect.ticker:WebSocket connection lost: [Failure instance: Traceback (failure with no …
  • kws = KiteTicker(currentAcctTrader.apikey, currentAcctTrader.acess_token) def on_ticks(ws, ticks): # Callback to receive ticks. logging.debug("Ticks: {}".format(ticks)) def on_connect(ws, response): # Callback on successful connect. …
  • it gives errors like . ERROR:kiteconnect.ticker:WebSocket connection lost: [Failure instance: Traceback (failure with no frames): : Connection was aborted locally, using. ]. ERROR:kiteconnect.ticker:WebSocket connection lost: [Failure instance: Tra…
  • please provide any working program , instead of giving information in bits and pieces,
  • i have active historical data subscription and its expiring without using only because nowhere straightway example is mentioned , i dont understand why u dont paste examples here and save our time? instead of making us search all over
  • git clone https://github.com/zerodhatech/pykiteconnect/tree/kite3 Cloning into 'kite3'... fatal: repository 'https://github.com/zerodhatech/pykiteconnect/tree/kite3/' not found why dont you paste the example here itself , isnt it simple
  • i could see for every for few hours not full day or morning 8 , most of time randomly it gets invalidated , halts the script suddenly
  • Thanks Sujit , i could get request_access_token working for couple of hours , its getting expired once in every few hours. in between is there any way to generate permanent one ? is there API to check request_access_token if valid . is there any…