Websocket not receiving ticks after disconnection!

Hi @WWhYB2qrsx and @Z4PBvkQGyF

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:

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

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

  • 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.

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

  • Program ticks are terminated (Past) - 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!

Hi Which API version of v3 u are using ?

Latest version is 3.0.7

@Z4PBvkQGyF i have updated the api to 3.0.7 on 14th and ran for the past 2 days, I am shifting the code to my local machine to have granular control over operations and logs.

I will test further and provide you my findings.

Yeah sure !!

I am facing same issue. No help received till date. Let me know if you can solve this issue.

Could you please DM you’re details and client ID so that we can connect and check