M
Hi @ngk
On Websocket, as you are aware we allow three concurrent connection per client for anytime. And each of the three connection can subscribe for 1000 tokens. If these limit exceeds, the extra connection will be closed. While creating the connection, the limit needs to be set and the same needs to be closed properly after consumption.
Connection can be closed for many reason, as such network disruption, OS issue, library issue etc.
Please reverify on these and let us know if further help required.
Regards,
SmartAPI team