KiteTicker doesnt reconnect

vaibhavsharma13
In case of internet failure, KiteTicker doesn't try to reconnect; it just freezes and nothing happens. It neither fails nor tries to reconnect. Here is the Python code I use to start ticker:
KiteTicker(api_key, access_token,reconnect_max_tries=300,connect_timeout=20,reconnect_max_delay=15)
Also, what is argument connection_timeout ? Is it the time after which ticker will try to reconnect?
Tagged:
  • rakeshr
    Also, what is argument connection_timeout ? Is it the time after which ticker will try to reconnect?
    There is no argument connection_timeout. Go through all the kiteticker args in the documentation.
    Auto reconnection is enabled by default, and it would try reconnecting unless you are terminating the connection using the stop method inside on_close callback.
  • vaibhavsharma13
    @rakeshr sorry I meant connect_timeout. Is it the time after which reconnect will happen in case of internet failure?
  • vaibhavsharma13

    I am not using the stop method inside on_close callback.
Sign In or Register to comment.