Websocket not receiving ticks after disconnection!

Hi Abhishek and Pankaj

After a hiatus I have completely shifted my prod. code from v2 to v3. I have subscribed to Symbol and general socket and I run the code in AWS, so chance of interruption.

My observations are as follows:

  1. If a Symbol socket gets disconnected, there is a 50-50 chance that ticks are not received after connecting again.

  2. Genreral socket after a disconnect, doesn't work or reconnect, so no chance of reviving it.

  3. These socket connections are random in time and occur without reason. JFI, If any VPN or tunnel is implemented on server, it might affect the connections upon verification/reconnection, faced a similar issue with shoonya API.

  4. Due to these random disconnections, the threshold of 5 has been triggered sometime in the past and the behaviour afterwards is unpredictable,

    1. Program ticks are terminated (Past)

    2. threshold count of 5 are reset and count started again from beginning. (yesterday)

Last month I faced multiple issues with zerodha API, and thus made the decision to switch to fyers API, but fyers API is still unreliable, both yesterday and today. Fyers v2 was impeccable for my case. I wish v3 sorts the errors soon!

2
5 replies