First of, thanks to the Dhan dev team for releasing the 5000 instruments websocket update.
The websocket code works fine for me for a about a minute (streams live data), but after that I get the following message: sent 1011 (internal error) keepalive ping timeout; no close frame received
For reference, I am subscribed to about 2200 instruments on this connection and the following is my data fetching loop:
Can you please fix this once and for all and provide a rough timeline for when this will be done. This is because we are paying monthly subscription amount for apis/websockets that are not working correctly. Thanks for understanding.
@Hardik I see you are claiming back in December 2024 tha the issue has been long fixed but as of April 12, 2025 the 1011 error issue and my ticket is still open. Moreover, till now I am facing the same issue. So, what kind of fixed you are claiming. Please enlighten all of us. And your API documentation is so poor. Please make it easy to use for all of us. No use cases for large number of security_id and whenever one trying to use, facing the deadly 1011 internal error.
Request you to share details on help@dhan.co, as we have not seen such occurences on server end for quite a while. Do note that 1011 can also happen due to any reason of disconnection on network layer itself, if websocket is not appropriately handled.