WebSocket (Zerodha/Angel One) disconnects randomly. How do I handle reconnect and keep the stream alive ?
Sejpalsinh Jadeja Original Post
AlgoDelta Team
I’m running a live trading algo using WebSocket ticks, but sometimes the connection drops suddenly.
After that, no data comes and the algo just hangs.
Error Message: “Socket Error 1006 connection was closed uncleanly”
Posted Apr 24