Hi @Hardik @Mohseen_Usmani @Poornima @Kushagra_Rohatgi @PravinJ
-
Issue: 200-level depth connections fail consistently. 20-level depth works fine on the same account.
Connection URL tried:-
wss://full-depth-api.dhan.co/?token=***&clientId=***&authType=2 (SDK root path)
-
wss://full-depth-api.dhan.co/twohundreddepth?token=***&clientId=***&authType=2 (docs path)
-
-
Both fail identically.
Subscribe JSON sent after connection:
{“RequestCode”: 23, “ExchangeSegment”: “NSE_FNO”, “SecurityId”: “40977”} -
Behavior:
-
WebSocket TCP connection establishes successfully
-
Subscription JSON sent
-
Server resets connection after 3-5 seconds with ResetWithoutClosingHandshake (no data frames received)
-
This repeats on every reconnection attempt (40+ attempts observed)
-
-
Working comparison: 20-level depth (wss://depth-api-feed.dhan.co/twentydepth) connects and receives data for the same instruments without issues.
Questions:-
Is 200-level depth enabled for my account/data plan?
-
Is the 200-level depth server currently operational?
-
Are there specific instruments that support 200-level depth vs not?
-