getting error :: split_subscribes

I’m getting error:: local variable ‘split_subscribes’ where it is not associated with a value

This is due to websocket’s error:: Error : Connection to remote host was lost.

What’s the solution pls tell

Our Team is looking at the query raised by your side, once we received the response from the respective team will revert back to as soon as possible.

Make sure, the required parameters and functions are passed correctly as shown in API documentation and Pya3 WebSocket.

kindly refer the below link for WebSocket documentation.
https://v2api.aliceblueonline.com/websocket

Kindly refer the below link for the pya3 WebSocket connection.

I have checked this before 100 times ! As I said this error is random, it works sometimes and sometimes it gives error! And I’ve uploaded the code above as well so please check it.