Closed ashishanand7 closed 2 years ago
Issue #20 persists.
from jugaad_trader import Zerodha kws = kite.ticker() def on_ticks(ws, ticks): print("Ticks: {}".format(ticks)) def on_connect(ws, response): ws.subscribe([738561, 5633]) ws.set_mode(ws.MODE_FULL, [738561]) def on_close(ws, code, reason): ws.stop() kws.on_ticks = on_ticks kws.on_connect = on_connect kws.on_close = on_close kws.connect()
Error Connection error: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (400 - BadRequest)) Connection closed: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (400 - BadRequest))
Additional context This was issue #20 and it persists for me. Have latest jugaad-trader from source ( this repo ) Have kiteconnect = 4.1.0
Also tested the fix provided by #26 , it doesn't solve the issue.
Issue #20 persists.
Error Connection error: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (400 - BadRequest)) Connection closed: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (400 - BadRequest))
Additional context This was issue #20 and it persists for me. Have latest jugaad-trader from source ( this repo ) Have kiteconnect = 4.1.0
Also tested the fix provided by #26 , it doesn't solve the issue.