Fyers v3 websocket issue

I have been observing for some days now, where Fyers started sending the duplicate tick data (or tick data not being updated ), it seems like v3 has some issues that I never faced in v2, which was one of the most consistent factors.

Hi @mounika.9zinqh1n
It is not like , You will get the update whenever anything change in the tick.

As I though you are printing only few things so you assumned that they are dupllcate.

Please logs full tick and then show me the 2 ticks are same.

@Z4PBvkQGyF

Today also happened around 11:15, I terminated the connection and re-established it to make it work. from there it’s working fine. (For almost 10 to 15 min bank nifty spot at the same place which is NOT TRUE)

More info: I’m running one single connection with around 150 symbols.
in v2 I worked with three concurrent connections with 50 symbols each, but never faced this problem.

I have an automatic telegram alert mechanism when I receive the same bank nifty spot value for 1000 seconds. So I’m pretty sure there was some issue with the socket. also, I’m running my algo in Azure so no notable internet oscillations.

Today also observed the same issue around 12:10 PM. getting exceptions in the feed. below is the screenshot.

@Z4PBvkQGyF this is very crucial, need to fix this asap.

Hi @mounika.9zinqh1n

Is it working fine now for you ?

Hi Mounika and Pankaj,

I am facing same issue while using V3 API, the LTP data not updating after 1hr 30 min from the start of webscoket. As LTP is very crucial parameter, I am unable to test my strategies. If you know, how to fix this, please help me.

Can you let us know if there is any error , there are no issues observed with the websocket , there might have been a disconnection due to bandwidth . Please let us know the time at which you have faced this issue as well

Hi @WWhYB2qrsx ,

I am streaming LTP of symbols utilizing threading to run the Flask app and WebSocket connection concurrently, so that I can fetch LTP across my strategies. While doing so, I observed that websocket disconnects after 1.5 hrs in case of Fyers V3 3.0.8 and 2hrs in case 3.1.0 version and stops updating the LTP values, make it fetch same LTP again and again.

I have tested the my code on 3.0.7, 3.0.8 and 3.1.0 versions using Windows and Ubuntu OS all trials yielding same results Fyers websocket disconnects after 1.5 hrs and 2 hrs respectively, while testing the code provided on GIT I have noticed attempting for re connection after 2 hrs form the start of running code. The logs of LTP fetched using websocket written to text files are posted here. Please have a look…

https://community.fyers.inhttps://fyers.in/community/t/websocket-not-updating-ltp/20603

https://community.fyers.inhttps://fyers.in/community/t/websocket-not-updating-ltp/20603