Persistent KiteTicker WebSocket Connection Error

vikasaroradelhi
Problem Description: When I attempt to start the KiteTicker WebSocket connection during active Indian market hours, it initializes, logs KiteTicker WebSocket Connected!, but almost immediately closes with the error: Error starting KiteTicker WebSocket: close reason without close code. No live ticks are received.

Troubleshooting Steps Performed (on my end):
Fresh Access Token: I generate a brand new access token immediately before attempting the KiteTicker connection for each test.

Clean Environment: I have completely recreated my Anaconda environment (algo_env) from scratch and reinstalled all necessary Python libraries (kiteconnect, pandas, python-dotenv, websocket-client, ta-lib).

Library Versions: kiteconnect version 5.0.1 is confirmed to be installed.

Python Path Verified: My Python interpreter path correctly points to the algo_env.

Instrument-Independent: The error occurs for multiple different instrument tokens, indicating it's not specific to a single symbol's data stream.

  • Nivas
    Can you please enable debug mode and share the complete stack trace via private message?
Sign In or Register to comment.