502 Bad Gateway

bhaskarsancheti



Hello, every morning I run this script and keep getting this error, my developer tells me this is something to do with KITE. Could anyone help with the same?
  • rakeshr
    Can you let us know the API call for this? Maybe paste a debug log.
  • bhaskarsancheti
    kite.ltp() we are using this method for LTP
  • sujith
    Can you enable debug logs and paste the complete stack trace here?

    PS: Make sure to remove app and client specific tokens.
  • bhaskarsancheti
    I do not understand, kindly state in a layman's term as to what is to be done?
  • sujith
    You may refer to the pykiteconnect documentation here.
    Is this intermittent or consistent?
  • sujith
    Is this local or hosted setup, what is the version of client library you are using?
  • bhaskarsancheti
    It is intermittent.
    I run the script from my local desktop.

    which version of client library I am using? I don't know, as my knowledge is limited to coding.
  • sujith
    Maybe issue between your ISP and CDN. Or you might be getting rate limited because you are making a lot of invalid requests. You can check out this thread to know more about it.
Sign In or Register to comment.