NetworkExceptions Again in getHistoricalData

yousuf edited February 4 in Java client

this error is again frequently coming, roughly twice in a minute, thrown by getHistoricalData of kiteconnect
if you remember , we had this problem sometime back (
and then from about a week ,I am seeing this again,

stack trace
at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.dealWithExce
at com.zerodhatech.kiteconnect.kitehttp.KiteResponseHandler.handle(KiteR
at com.zerodhatech.kiteconnect.kitehttp.KiteRequestHandler.getRequest(Ki
at com.zerodhatech.kiteconnect.KiteConnect.getHistoricalData(KiteConnect
  • sujith
    This could be because by the time candle is fetched from the database the request is timing out. We recommend using websocket data to generate live candles at your end. You can check out this thread to get started.
  • sujith
    It may also happen because of a network issue as well.
  • yousuf
    you are right, creating 1 min candles from the web socket ticks, solves many problems once for all..! I am using historical candles as a stop gap solution, till my system stabilizes, shortly I will moving to the websocket tick data.
Sign In or Register to comment.