Since today, the WebSocket connection has been returning the following error:
Oct 15 09:27:17 localhost python[11715]: 2026-10-15 09:27:17 - ERROR - MarketFeed websocket error: server rejected WebSocket connection: HTTP 429
The WebSocket URL is:
uri = f"wss://api-feed.dhan.co?version=2&token={token}&clientId={client_id}&authType=2"
I have also tried connecting using the DhanHQ library, but I am getting the same HTTP 429 error there as well.
Could you please check whether there has been any recent change or restriction on the Dhan WebSocket API that could be causing this?