Websocket closing unexpectedly

Siddhant_Mohanty


Getting above error in websocket. I have been running the same code for many days now(Unsubscribe token of closed trade and subscribe to new trade token), have never faced this exception before today.
Is there any new changes in websocket implementation?
Can anyone please help identify why am I facing this error now? Any thread, link or suggestion would help a lot
@rakeshr @sujith
Let me know if you need more details on this.
  • rakeshr
    Is there any new changes in websocket implementation?
    No, there is no change in the websocket streams.
    You can try out this solution.
  • Siddhant_Mohanty
    Today I am not getting the error, but will implement above solution. Thanks for the help. Really appreciate it @rakeshr
  • hbinmadi
    expressoptionchain.option_stream:fix_processes - MainProcess -ERROR - Process Process-3 is terminated.. creating a new process
    2023-11-02 18:56:54.043 expressoptionchain.option_stream:fix_processes - MainProcess -ERROR - Process Process-4 is terminated.. creating a new process
  • hbinmadi
    i am have the same erorr with websockets which was working perfectly, for some time wesockets closed asfter few packets now they seem to have this error..
  • Siddhant_Mohanty
    Yeah again facing this issue. Had increased timeout but its working sometimes and sometimes throwing exception.
    self.kiteObj = KiteConnect(api_key=self.credentials['api_key'], timeout=100)
  • rakeshr
    expressoptionchain.option_stream:fix_processes
    This is not related to the kite websocket streams.
Sign In or Register to comment.