bas-remote-node icon indicating copy to clipboard operation
bas-remote-node copied to clipboard

Can't send data because WebSocket is not opened.

Open dmitryp-rebel opened this issue 2 years ago • 2 comments

Hello. I experience occasional but quite often error on launch puppeteer-with-fingerprints plugin:

Version: [email protected]

Thread #0 failed: Error: Can't send data because WebSocket is not opened. at exports.throwIf (C:\bots\test\node_modules\websocket-as-promised\src\utils.js:4:11) at WebSocketAsPromised.send (C:\bots\test\node_modules\websocket-as-promised\src\index.js:252:5) at SocketService.send (C:\bots\test\node_modules\bas-remote-node\src\services\socket.js:89:14) at BasRemoteClient._send (C:\bots\test\node_modules\bas-remote-node\src\index.js:223:25) at BasRemoteClient.send (C:\bots\test\node_modules\bas-remote-node\src\index.js:254:17) at BasRemoteClient._startThread (C:\bots\test\node_modules\bas-remote-node\src\index.js:275:10) at C:\bots\test\node_modules\bas-remote-node\src\index.js:190:12 at new Promise () at BasRemoteClient.runFunction (C:\bots\test\node_modules\bas-remote-node\src\index.js:189:21) at C:\bots\test\node_modules\browser-with-fingerprints\src\plugin\connector\index.js:31:16

What could be a reason?

dmitryp-rebel avatar Nov 06 '23 10:11 dmitryp-rebel

Still getting a lot of those running multiple processes

dmitryp-rebel avatar Nov 21 '23 16:11 dmitryp-rebel

I am getting this:

{ "message": "Cannot connect to the WebSocket server (reason: connection failed)\nThis could be due to the fact that the engine was not downloaded or unpacked correctly.\nTry completely deleting the engine folder and restarting the code until it completes.\nIf this does not help, open an issue with a detailed description of the problem." }

jmoneyy112 avatar May 14 '24 13:05 jmoneyy112