hey! i am using websocket to fetch real time data ... all was working fine till last friday but from today morning i have been unable to connect to websocket . It is showing 403 forbidden (initialy showed ' closed reason without close code' )for the same code(s) that used to work fine till friday .Tried using the sample code in py documentation but got the same error .
ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (I dropped the WebSocket TCP connection: close reason without close code) ERROR:kiteconnect.ticker:Connection closed: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden)) (above errors while getting tickdata)
Thought maybe access token has expired ... Tried to generate new accestoken(manualy) ,but got the SAME ACCESS_TOKEN everytime for diffferent request_tokens (also tried logging out of kite but for no use). Have been using kite api for some time now, this has happend for the first time . I used kite (android )in the morning before loggingin in kiteconnect , is that where the issues started ? Have checked and rechecked the details(api key,api secret key , request token(s) ) and code (both for acesss_token and websocket ) multiple times .
would really appreiciate if someone can help a not-so-techie in solving this problem @sujith@rakeshr@mag
i use pycharm (but also tried in vscode and py idle bu got same poblem(s)) in ubuntu 22.04 i python kteconnect (pip show kiteconnect) Name: kiteconnect Version: 4.1.0 Summary: The official Python client for the Kite Connect trading API Home-page: https://kite.trade Author: Zerodha Technology Pvt. Ltd. (India) Author-email: [email protected] License: MIT Location: /home/astolisher/.local/lib/python3.10/site-packages Requires: autobahn, enum34, pyOpenSSL, python-dateutil, requests, service-identity, six