KiteTicker WebSocket connection fails with 403 Forbidden

naveens
My Kite Connect subscription is Active.

REST authentication works successfully. The profile API returns my account details.

However, KiteTicker version 5.2.2 on my Ubuntu VPS fails during the WebSocket handshake with:

WebSocket connection upgrade failed (403 - Forbidden)

The VPS can reach ws.kite.trade on port 443. My API key matches the active Kite Connect app.

Please help me identify why the WebSocket connection is rejected with 403 Forbidden.
  • salim_chisty
    To access live market data, historical candle data, or the WebSocket API, you need to subscribe to the paid Kite Connect plan.

    If you are using a Kite Connect Personal (free) app, please note that it does not provide access to market data, historical data, or the WebSocket API. To verify this, check your app type in the Developer Console and ensure you are using the correct api_key associated with your paid Kite Connect application.


    Please review the WebSocket example code and ensure you are using the correct instrument token from the instrument file to check for any errors. You can also refer to the Python WebSocket streaming FAQs for further guidance.
Sign In or Register to comment.