Thank you Srijan. This was very helpful. The error was like you mentioned. Because of large size of instruments, the message size was big and so the connection was terminating.
There is no error in connection.
tickerProvider.setOnConnectedListener(() -> {
tickerProvider.subscribe(tokens);
tickerProvider.setMode(tokens, KiteTicker.modeQuote);
log.info("Ticker connection established for…