websocket failed to connect, seeing errors


  • I tried to connect the websocket, but seeing errors

    (Pdb) >? ss.connect()
    Error info: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
    socker error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
    Error info: SmartWebSocket.__on_close() takes 2 positional arguments but 4 were given
    socker error SmartWebSocket.__on_close() takes 2 positional arguments but 4 were given

    (Pdb) >? ss.connect()
    __on_open################
    on open
    subscribing - nse_cm|26000&nse_cm|26009
    Ticks: [{'ak': 'nk', 'msg': 'cn', 'task': 'cn'}]
    2022-11-15 13:05:54.326055 : Start task in the background
    Ticks: [{'ak': 'nk', 'msg': 'mw', 'task': 'mw'}]
    Ticks: [{'ak': 'nk', 'msg': 'hb', 'task': 'hb'}]


  • @Karthikeyan Need to migrate to V2 if not already.