@sujith i had to stop script and re-run, then it got connected instantly, re connection did not work for me at that time, these sockets were on two different network and got simultaneously disconnected.
Thank you for your response.
I am already using the Kite Connect library’s built-in reconnect feature, but I’d like to better understand what specifically causes these simultaneous disconnects, especially when my network seems stable and it happens…
would this work?
function onTicks(data1) {
try {
if (!Array.isArray(data1)) return;
data1.forEach(data => {
if (!data || data.mode !== 'full') {
return;
}
// Offloa…