Market data web socket works fine for 1 hour or so then the connection closes.
If I try reconnecting, it doesn’t. I created a loop to keep trying but it fails throughout the day. I have been checking this for last 10 days with some modifications but the result is same.
The retrying mechanism doesn’t work. can you please fix it? I am on the latest v3 update. It doesn’t help.
I have only 24 symbols subscribed. It must technically work. why would I see that error, am not sure.
Also, the webhook works for a few minutes then it throws error. If I recreate access token then it works. am I Missing anything? do the access token expire every hour?
Check if the subscription is in your code is placed inside a while loop, you might have missed something that starts the loop again upon exception and subscribed again. can’t comment more without looking at code.
@praveen3 The scenario explained by @immature_trader can be one of the reasons for this , you can check it and if the issue persists , please DM you’re code snippet .