Not able to fire order through kite connect once OnApi thread started

agarwl86
agarwl86 edited June 2017 in Java client
I tried firing order without start of Ticker publisher , it works fine. But when fire order same / different thread of onTicker , getting exception

com.rainmatter.kitehttp.exceptions.KiteTokenException
at com.rainmatter.kitehttp.KiteRequest.dealWithKiteException(KiteRequest.java:255)
at com.rainmatter.kitehttp.KiteRequest.postRequest(KiteRequest.java:51)

  • agarwl86
    Both thread uses same kiteconnect.
  • sujith
    Hi @agarwl86,
    Are you reusing access token or requesting for the access token every time you run your app?
  • agarwl86
    Hi,
    Error found i guess, will ask on monday if any problem occurs.
    Yes same kite connect was used , but in one thread i was doing logout on kiteconnect.

Sign In or Register to comment.