I am continuously getting the following error while trying to connect websoket.
WebSocket connection to 'wss://ws.kite.trade/?api_key=xxx&access_token=xxx' failed:
Here is the use case:
1. Kite Ticker Websocket is working perfectly as expected and it was returning tick perfectly if I open the application only in 1 or 2 browsers at the same time. 2. But if I open the application in multiple browsers (5/6) at the same time, application throws an error as above. I have logged from error callback function. Please find the screenshot for your reference.
I have also tried from .NET API client and used the following Ticker ticker = new Ticker(apiKey, accessToken, null, true, 5, 50, false, null); ticker.Connect();