Chirag
 · Trader

Connection drops in Order websocket

There is a single program running with both Data WS and Order WS. using Fyers API v3.03 latest

Usually if internet drops the Data calls on_error() but nothing of that occurs and no auto-reconnect attempts but Order instance / order socket is closing

Below is error message in py obj, after which connection closed py message obj received.

Connection to remote host was lost

sometimes it says 'remote host closed the connection'

Can't auto reconnect be implemented here too?

2
14 replies