NetworkException while requesting historical data and Position Details

ranjithptb
Hi,

We are getting following error when requesting historical 1 minute candle data. The API works fine once in a while.
Because of this we are unable to trade. We are using GOLANG to fetch data.
Everything was working fine till last week and problem started from this week. We didn’t made any changes to the program.

{"status":"error","message":"Request failed (kitetrade-common).","data":null,"error_type":"NetworkException”}

Also we are getting "read tcp 172.31.25.112:52374->104.18.90.38:443: wsarecv: An existing connection was forcibly closed by the remote host."
When requesting existing positions using url https://api.kite.trade/portfolio/positions/?api_key=xxxxxxxxxxx&access_token=xxxxxxxx:

We are facing financial damage because of this. Please do the needful ASAP.

Thanks & Regards

  • sujith
    We have informed the data team. They are looking into this.
  • ranjithptb
    Why the previous two replies are removed from the discussion without my permission ? Quite unprofessional . What is the escalation matrix ?
  • sujith
    Hi @ranjithptb,
    A timeout error can happen because of many reasons. It could be because of poor connectivity at the client's end or at Kite Connect API to its source or because of an unavailable resource at the source or because data was not able to be fetched from DB within the specified time. The most frequent cause is network connections timing out.

    Any API client should already be ready to handle any possible exceptions as there are a multitude of ways in which a network API can call. Rakesh incorrectly assume this was such a case and he suggested general exception handling.

    Apologies for the incovenience. Our data team has investigated and found some issues that may have caused these timeouts yesterday. They are working on a resolution for this. Thank you for a patience.
Sign In or Register to comment.