Is there any performance issue in accessing request token today?

mangarg
Is there any problem today in accessing request token? This URL is fetching it very slow causing performance lag. and application is not working properly.
  • rakeshr
    We just tried fetching request token a few times. It's working fine as desired. You might consider checking your local network connection.
  • mangarg
    network connection and other kite app is working fine. Its just fetching Request token URL is taking more than normal time. Its causing issues. Is there a way to check the reason for lag?
  • mangarg
    Please help. https://kite.trade/connect/login?api_key=XYZ is itself fetching data slow. This problem has started since yesterday only.

    All other app and home internet working fine as usual. Is there a way to track if its user specific issue?
  • sujith
    We only redirect to the given redirect URL, once redirection happens it is outside of Kite Connect.
  • mangarg
    There is considerable performance lag. I have been using KITE API for almost 3 months now and this is unusual slow performance. I am not sure what is causing this BUT Internet is working fine. Can you please help in tracking if its user specific? My entire work is on hold.
  • mangarg
    is there a way to speak to a technical expert / support engineer? Its a blocker for me. Please help.
  • kiteapi
    kiteapi edited June 2021
    Could this lag be related to yesterday's CDN outages across the world?

    Since noon yesterday I have observed the response time for kite.quote/ltp has increased by few milliseconds (by factor of at least 0.2x) than the usual time taken, time taken is the same today as well (as yesterday). This all started around noon yesterday, till then everything was @ usual speed/response.
  • mangarg
    Yes, I have been facing slow performance issue since yesterday only. Its terribly affected. It's not internet issue as I have tried accessing APIs using multiple broadbands. There is definitely something at API/WebServices with load handling or other issue.

    Kite API team: Please look in to it. Entire work is on hold and its a blocker.
  • mangarg
    attached is screen shot for debug tracker. GetQuote event is taking >500ms. This lag is causing issue.


  • mangarg
    it was all working well until day before yesterday.
  • mangarg
    any help here?
  • mangarg
    can someone please help debug this issue?
  • mangarg
    still looking for possible reasons for this issue.....
  • sujith
    The delay you are mentioning is higher than what we have monitored. Since this is over the internet there are many possible reasons, this could have happened. Kite Connect is not suitable for latency-based strategies, HFTs. We would suggest changing your script to accommodate this kind of scenario.

    For instance, if the quote is taking time then you may use Websockets API. I am not sure if everything else in your strategy has a straightforward solution like this but it is advised to make your solution resilient to this scenario.
  • mangarg
    Thanks Sujith. I am trying to change code a bit to proceed ahead otherwise it had become a blocker. Surprisingly, everything was okay just 2 days back. There is sudden increase in lag, atleast 200% jump in response time. Not sure what is causing this. have tried on 2 different broadband links. Lets see....if i am able to catch it...!
Sign In or Register to comment.