Dear Upstox API Support Team,
I am writing to report a persistent issue with the WebSocket v3 API where I am not receiving any data after a successful connection and subscription. I have been troubleshooting this for several days and have ruled out all client-side code and environmental issues.
My Client ID is: 3ff081af-2662-4281-b030-ba0a2edcbc83
The Core Problem:
My application correctly performs the entire documented connection process:
-
It first makes a request to the
/v3/feed/market-data-feed/authorizeendpoint. -
It successfully receives a unique, one-time-use
wss://URL. -
It connects to this authorized URL, and the connection is established successfully.
-
It sends a subscription request for the instruments
NSE_EQ|INE002A01018andNSE_INDEX|India VIXinfull_d30mode. -
My application logs confirm that the subscription message is sent successfully.
However, after the subscription is confirmed, no data packets of any kind are ever received. The WebSocket connection remains open but completely silent. There are no trade updates, no depth-of-market updates, and no error messages.
Log Proof of Successful Connection:
Here is a clean log snippet from my application, showing the successful connection and subscription, followed by silence (no data is received after the last log entry).
2025-07-30 14:56:30,891 [INFO] Authorizing WebSocket feed...
2025-07-30 14:56:32,135 [INFO] (Success) Authorized and received WebSocket URL.
2025-07-30 14:56:32,717 [INFO] WebSocket (v3) connected successfully to authorized URL.
2025-07-30 14:56:32,719 [INFO] Subscribed to ['NSE_EQ|INE002A01018', 'NSE_INDEX|India VIX'] in full_d30 mode via WebSocket V3
Exhaustive Troubleshooting Performed:
I have already performed extensive troubleshooting and can confirm the following:
-
The issue is not related to local firewalls, antivirus software, or VPNs.
-
The issue is not related to network connectivity (tested on multiple networks).
-
The issue is not a Python environment or SSL/TLS incompatibility (tested across multiple Python and library versions, now using a stable Python 3.11 environment).
-
The issue is not with the client-side code’s logic (it has been tested and simplified to a minimal test case, which still exhibits the same problem).
-
The issue is not with handling different message types (e.g.,
market_infomessages), as the connection receives no messages at all.
The evidence strongly suggests that after a successful authentication and subscription, the Upstox server is not streaming any data to my session for the requested instruments.
Could you please investigate your server-side logs for my Client ID to determine why no data is being sent to my active and subscribed WebSocket connection?
Thank you for your time and assistance in resolving this matter.
Sincerely,
Santosh Kumar Singh