not receiving updates on postback URL

I added https URL in postback URL field of app but I am not getting any messages in my app. I tested locally and I received but not getting order update notifications. Can you please help.
  • rediffpankaj_libra
    Hi Rakesh,
    I have set "" in my zerodha kite app and expecting data in python flask app. I tested manually sending data from above URL and its working, however, I didn't receive anything when I placed any order from API and those were completed. What am I missing here?
  • sujith
    It seems like the endpoint is not reachable.
  • rediffpankaj_libra
    This is what I am using sujith. is my public IP. what could be the issue here. I am using self signed cert and pem files. while I am getting request on other flask app on the same server, not getting anything from kite.

    @app.route('/kite_feed', methods=['POST'])
    def kite_live_feed():
    print ("Invoked by kite feed") ( "------- Data from Kite starts -------" ) (request.json) ( "------- Data from Kite ends -------" )
    postback_raw = request.get_data() ("postback_raw : " % postback_raw) ( "------- Data from Kite ends again -------" )
    if request.method == 'POST':
    return 'success', 200
    abort (400)
  • rediffpankaj_libra
    Nevermind. It worked with a local tunnel. But, in case you can help why its not working with a public IP and self signed certificate would be good to know.
  • sujith
    You can check out this article.
Sign In or Register to comment.