I have been running my autotrader for a while but I just encountered this error. Any thoughts?
accessTokenStatus - ‘Good’
error - ‘Disconnected from Tradovate Market WebSocket’
C:\Users\Administrator\Desktop\Autotrader\node_modules\ws\lib\websocket.js:442
throw new Error(‘WebSocket is not open: readyState 0 (CONNECTING)’);
^
Error: WebSocket is not open: readyState 0 (CONNECTING)
at WebSocket.send (C:\Users\Administrator\Desktop\Autotrader\node_modules\ws\lib\websocket.js:442:13)
at AutoTrade.checkHeartbeats (file:///C:/Users/Administrator/Desktop/Autotrader/modules/tradovate.js:250:19)
at WebSocket. (file:///C:/Users/Administrator/Desktop/Autotrader/modules/tradovate.js:387:42)
at callListener (C:\Users\Administrator\Desktop\Autotrader\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (C:\Users\Administrator\Desktop\Autotrader\node_modules\ws\lib\event-target.js:209:9)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (C:\Users\Administrator\Desktop\Autotrader\node_modules\ws\lib\websocket.js:1180:20)
at Receiver.emit (node:events:513:28)
at Receiver.dataMessage (C:\Users\Administrator\Desktop\Autotrader\node_modules\ws\lib\receiver.js:541:14)