Replies: 3 comments 1 reply
-
But you need to use |
Beta Was this translation helpful? Give feedback.
-
Alright thx.. i'll test out the waha-plus.. |
Beta Was this translation helpful? Give feedback.
-
tried installing waha-plus with chrome webjs not working.. having this error.. aha-1 | {"level":50,"time":1752499774380,"pid":48,"hostname":"fd3aa32fff76","session":"default","name":"WhatsappSession","err":{"type":"TargetCloseError","message":"Protocol error (Target.setAutoAttach): Target closed: ","stack":"TargetCloseError: Protocol error (Target.setAutoAttach): Target closed\n at CallbackRegistry.clear (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:81:36)\n at #onClose (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:179:25)\n at WebSocket. (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js:48:30)\n at callListener (/app/node_modules/ws/lib/event-target.js:290:14)\n at WebSocket.onClose (/app/node_modules/ws/lib/event-target.js:220:9)\n at WebSocket.emit (node:events:518:28)\n at WebSocket.emitClose (/app/node_modules/ws/lib/websocket.js:272:10)\n at Socket.socketOnClose (/app/node_modules/ws/lib/websocket.js:1341:15)\n at Socket.emit (node:events:518:28)\n at TCP. (node:net:351:12)\ncaused by: ProtocolError\n at <instance_members_initializer> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:102:14)\n at new Callback (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:106:16)\n at CallbackRegistry.create (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:24:26)\n at Connection._rawSend (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:99:26)\n at Connection.send (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:90:21)\n at TargetManager.initialize (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/TargetManager.js:102:32)\n at async CdpBrowser._attach (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Browser.js:68:9)\n at async CdpBrowser._create (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Browser.js:26:9)\n at async ChromeLauncher.launch (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserLauncher.js:155:31)\n at async WebjsClientPlus.initialize (/app/node_modules/whatsapp-web.js/src/Client.js:292:23)\n at async WebjsClientPlus.initialize (/app/dist/core/engines/webjs/WebjsClientCore.js:26:24)","name":"TargetCloseError"},"msg":"Protocol error (Target.setAutoAttach): Target closed"} maybe i should try another engine what engine should i try? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
trying to upload a video to my status.. but getting error. texts seem to work.. but from the documentation of WAHA seems WEBJS should be able to send status right?
running from docker,
docker run -it -p 3000:3000 devlikeapro/waha
from a diffrent machine:
curl -X 'POST'
'http://192.168.10.44:3000/api/default/status/video'
-H 'accept: /'
-H 'Content-Type: application/json'
-d '{
"id": null,
"contacts": null,
"file": {
"mimetype": "video/mp4",
"filename": "video.mp4",
"url": "https://github.com/devlikeapro/waha/raw/core/examples/video.mp4"
},
"convert": true,
"caption": "string"
}'
Response was..
{
"message": "The method is not implemented by the engine.",
"error": "Not Implemented",
"statusCode": 501
}
Beta Was this translation helpful? Give feedback.
All reactions