Web socket streaming
-
Anyone running Smart API web socket successfully? It runs for 30 sec approx and then stops...
there was an issue with the api code as the reconnect attempt was fixed to 1 which I change but still it ends up breaking after 5 min -
Hello @anosingh ,
Apologies for delayed response and inconvenience is regretted.
Are you still facing the same issue?
How are you connecting with the websocket? Can you please provide details?Thank you.
Regards
SmartAPI Team -
@anosingh said in Web socket streaming survivor io:
Anyone running Smart API web socket successfully? It runs for 30 sec approx and then stops...
there was an issue with the api code as the reconnect attempt was fixed to 1 which I change but still it ends up breaking after 5 minI'm using API web sockets here but I've never had an error. If you look at the solutions online and still can't solve the problem, try contacting the supplier.
-
-
@anosingh it appears to be operating smoothly, as we've been actively utilizing it for the past month without any issues. Could you provide details on your implementation? I'll have a look.
-
@anosingh As per documentation, you need to ping server every 30 sec to keep connection alive. Check if you are sending "ping" using timer. Also which API are you talking about ? I recently successfully ran WebSocket 2.0 for C#.