PYTHON WEB SOCKET ERROR : on_connect Unhandled Error

babansfolio

Hello Zerodha Team,

Please share condition to raise following error from Sever ,
While Full Mode is on during Tick data collection, If we want to listen ticks of no trade instrument we are getting error from Kite that "Invalid argument".and getting out of code. Error details has been given below,

===========================================================================
on_connect
Unhandled Error
Traceback (most recent call last):
File *****\Programs\Python\Python36\lib\site-packages\twisted\python\log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File *****\Programs\Python\Python36\lib\site-packages\twisted\python\log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File *****\Programs\Python\Python36\lib\site-packages\twisted\python\context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File *****\Programs\Python\Python36\lib\site-packages\twisted\python\context.py", line 85, in callWithContext
return func(*args,**kw)
--- ---
File *****\Programs\Python\Python36\lib\site-packages\twisted\internet\selectreactor.py", line 149, in _doReadOrWrite
why = getattr(selectable, method)()
File *****\Programs\Python\Python36\lib\site-packages\twisted\internet\tcp.py", line 205, in doRead
return self._dataReceived(data)
============================================================================================

Sign In or Register to comment.