Dear Deriv Support Team,
I am encountering a persistent issue when trying to connect my application to the Deriv WebSocket API using my registered App ID.
Details:
Account ID: VRTC13147154 (Demo Account)
App ID: *****
Endpoint Used: wss://frontend.binaryws.com/websockets/v3?app_id=*****
Issue: I consistently receive an HTTP 403 Forbidden error immediately upon attempting to establish the WebSocket connection. The connection fails before any authorize request can be successfully processed.
Troubleshooting Steps Taken:
Multiple API Tokens: I have generated multiple new API tokens specifically for App ID 729. The latest token I tried is khKuT6j0qn***.
Permissions Confirmed: For each new token generated, I carefully ensured that both “Read” and “Trade” scopes were selected and saved.
Client-Side Verification: I have added debug logs to my Python application (using the websockets library) to confirm that it is correctly using App ID 72479 and the latest generated API token (khKj0q**Lg0) when attempting the connection.
Minimal Test Script: I also used a separate, minimal Python test script (using only the websockets library and loading credentials from my .env file) to attempt connection and authorization. This minimal script also fails with the exact same HTTP 403 Forbidden error upon connection attempt. This strongly suggests the issue is not within my main application’s code complexity.
No App Restrictions Found: I have checked the settings for App ID ***** in the API Token Manager and do not see any configured IP address or domain restrictions.
Despite ensuring the correct App ID, a newly generated token with Read+Trade permissions, and verifying these are used correctly by the client, the connection continues to be rejected with an HTTP 403 error.
Request:
Could you please investigate if there are any blocks, restrictions, or permission-related issues associated with my App ID ****"9 or my account VRTC13147154 that could be causing this persistent HTTP 403 Forbidden error on WebSocket connection attempts?
Thank you for your assistance.
Sincerely,
[VIJAY MEENA]