webSocket connection error

divyakumar
hi,
I copy pasted websocket example in python as is (from https://github.com/rainmattertech/pykiteconnect) with appropriate changes in
kws = WebSocket("your_api_key", "your_public_token", "logged_in_user_id")

but Idont get the tick or dont get connected. The the following command always returns FALSE
kws.is_connected()

Please suggest
  • sujith
    Hi @divyakumar,
    Can you assign on_error and on_disconnect and check logs?
    Please make sure, you are using api_key of your kite connect app (test01_apr2017) and use same client id that you have used to create the App.
    For more information check out python documentation.
Sign In or Register to comment.