-
-
Notifications
You must be signed in to change notification settings - Fork 671
Description
Are you using the latest version of the library?
- I have checked and am using the latest version of the library.
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Personal account (normal)
Mode
My own code
Current Behavior
Getting the following errors, and not getting console messages in logs:
ERROR: This feature requires an Insiders license. Use this link to get the correct license => https://get.openwa.dev/l/...?v=i&f=onOrder
ERROR: This feature requires an Insiders license. Use this link to get the correct license => https://get.openwa.dev/l/...?v=i&f=onNewProduct
ERROR: This feature requires an Insiders license. Use this link to get the correct license => https://get.openwa.dev/l/....?v=i&f=onReaction
ERROR: This feature requires an Insiders license. Use this link to get the correct license => https://get.openwa.dev/l/.....?v=i&f=onGroupChange
here is what im using:
- create() from @open-wa/wa-automate
- onQR, onMessage, and onStateChanged hooks
- sendText()
- webhook integration
- ev.on('qr.**') for capturing QR
Expected Behavior
in dev the console logs were working fine and capturing all messages
Steps To Reproduce
deployed on railway, checked logs after sending messages, not receiving just getting console message {}
sorry not a very technical person here, so not able to add a lot of details, sharing debug command result below
create() code OR full CLI command + CONFIG
npx @open-wa/wa-automate --debug --verbose
info: Set up logging for console {"timestamp":"2025-07-17T11:57:23.418Z"}
info: Config undefined is directory: false {"timestamp":"2025-07-17T11:57:23.421Z"}
info: Checking exists: cli.config.json {"timestamp":"2025-07-17T11:57:23.422Z"}
info: Checking exists: cli.config.json {"timestamp":"2025-07-17T11:57:23.423Z"}
info: Checking exists: cli.config.js {"timestamp":"2025-07-17T11:57:23.423Z"}
info: Using config file: ??? {"timestamp":"2025-07-17T11:57:23.423Z"}
- session_STARTUP
info: {"data":"","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:23.425Z"}
- DEBUG - PORT: 8002
info: DEBUG - PORT: 8002 {"data":"DEBUG - PORT: 8002","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:23.425Z"}
- DEBUG - flags: {"sessionId":"session","debug":true,"verbose":true,"noApi":false,"forceUpdateCwWebhook":false,"port":8002,"host":"localhost","ef":["qr","STARTUP","MD_DETECT","qrUrl"],"allowSessionDataWh":false,"generateApiDocs":true,"sessionDataOnly":false,"skipSavePostmanCollection":false,"headful":false,"preAuthDocs":false,"stats":false,"noKillOnLogout":false,"cors":false,"socket":false,"emitUnread":false,"allowIps":[],"popup":false,"logging":[{"type":"console","done":true}],"disableSpins":true}
info: DEBUG - flags: {"sessionId":"session","debug":true,"verbose":true,"noApi":false,"forceUpdateCwWebhook":false,"port":8002,"host":"localhost","ef":["qr","STARTUP","MD_DETECT","qrUrl"],"allowSessionData...[TRUNCATED]... {"data":"DEBUG - flags: {\"sessionId\":\"session\",\"debug\":true,\"verbose\":true,\"noApi\":false,\"forceUpdateCwWebhook\":false,\"port\":8002,\"host\":\"localhost\",\"ef\":[\"qr\",\"STARTUP\",\"MD_DETECT\",\"qrUrl\"],\"allowSessionData...[TRUNCATED]...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:23.426Z"}
- DEBUG - env vars: {}
info: DEBUG - env vars: {} {"data":"DEBUG - env vars: {}","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:23.426Z"}
- Launching EASY API
info: Launching EASY API {"data":"Launching EASY API","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:23.426Z"}
info: config: {"PORT":8002,"cliConfig":{"allowIps":[],"allowSessionDataWh":"[REDACTED]","cors":false,"debug":true,"disableSpins":true,"ef":["qr","STARTUP","MD_DETECT","qrUrl"],"emitUnread":false,"forceUpdateCwWebhook":false,"generateApiDocs":true,"headful":false,"host":"localhost","logging":[{"done":true,"type":"console"}],"noApi":false,"noKillOnLogout":false,"popup":false,"port":8002,"preAuthDocs":false,"sessionDataOnly":"[REDACTED]","sessionId":"session","skipSavePostmanCollection":false,"socket":false,"stats":false,"verbose":true},"createConfig":{"allowIps":[],"allowSessionDataWh":"[REDACTED]","cors":false,"debug":true,"disableSpins":true,"ef":["qr","STARTUP","MD_DETECT","qrUrl"],"emitUnread":false,"forceUpdateCwWebhook":false,"generateApiDocs":true,"headful":false,"host":"localhost","logging":[{"done":true,"type":"console"}],"noApi":false,"noKillOnLogout":false,"popup":false,"port":8002,"preAuthDocs":false,"sessionDataOnly":"[REDACTED]","sessionId":"session","skipSavePostmanCollection":false,"socket":false,"stats":false,"verbose":true},"timestamp":"2025-07-17T11:57:23.427Z"}
- Selected port is free
info: Selected port is free {"data":"Selected port is free","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:23.446Z"}
- Generating Swagger Spec
info: Generating Swagger Spec {"data":"Generating Swagger Spec","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:23.454Z"}
- Postman collection generated: open-wa-session.postman_collection.json
info: Postman collection generated: open-wa-session.postman_collection.json {"data":"Postman collection generated: open-wa-session.postman_collection.json","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:23.847Z"}
- API collections (swagger + postman) generated successfully
info: API collections (swagger + postman) generated successfully {"data":"API collections (swagger + postman) generated successfully","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:23.952Z"}
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ┃
┃ @open-wa/wa-automate ┃
┃ 💬 🤖 The most reliable NodeJS whatsapp library for chatbots with advanced ┃
┃ features. ┃
┃ Version: 4.76.0 ┃
┃ Check out the latest changes: ┃
┃ https://github.com/open-wa/wa-automate-nodejs#latest-changes ┃
┃ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
info: RAM INFO Total: 67.44 GB | Free: 35.54 GB {"timestamp":"2025-07-17T11:57:24.032Z"}
info: PPTR VERSION INFO 23.11.1 {"timestamp":"2025-07-17T11:57:24.032Z"}
- Starting
info: Starting {"data":"Starting","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.032Z"}
- Version: 4.76.0
info: Version: 4.76.0 {"data":"Version: 4.76.0","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.033Z"}
- Initializing WA
info: Initializing WA {"data":"Initializing WA","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.033Z"}
- It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support
info: It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support {"data":"It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.033Z"}
info: SCRIPT READY: jsSha.min.js 8982 {"timestamp":"2025-07-17T11:57:24.038Z"}
info: SCRIPT READY: qr.min.js 18603 {"timestamp":"2025-07-17T11:57:24.038Z"}
info: SCRIPT READY: base64.js 4173 {"timestamp":"2025-07-17T11:57:24.038Z"}
info: SCRIPT READY: wapi.js 78418 {"timestamp":"2025-07-17T11:57:24.039Z"}
info: SCRIPT READY: hash.js 34983 {"timestamp":"2025-07-17T11:57:24.040Z"}
info: SCRIPT READY: launch.js 68060 {"timestamp":"2025-07-17T11:57:24.041Z"}
- Launching Browser
info: Launching Browser {"data":"Launching Browser","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.041Z"}
- MD Enabled, turning off incognito mode.
info: MD Enabled, turning off incognito mode. {"data":"MD Enabled, turning off incognito mode.","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.043Z"}
- Data dir: ./_IGNORE_session
info: Data dir: ./_IGNORE_session {"data":"Data dir: ./_IGNORE_session","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.043Z"}
- Error launching browser
info: Error launching browser {"data":"Error launching browser","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.046Z"}
Error: Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome)
at ChromeLauncher.launch (/home/runner/workspace/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserLauncher.js:89:19)
at async PuppeteerExtra.launch (/home/runner/workspace/node_modules/puppeteer-extra/dist/index.cjs.js:128:25)
- Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome)
info: Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome) {"data":"Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome)","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.047Z"}
info: Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome) {"data":"Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome)","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.047Z"}
error: Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome) {"timestamp":"2025-07-17T11:57:24.047Z"}
error: Error: Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome)
at ChromeLauncher.launch (/home/runner/workspace/no...[TRUNCATED]... {"timestamp":"2025-07-17T11:57:24.047Z"}
Error: Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome)
at ChromeLauncher.launch (/home/runner/workspace/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserLauncher.js:89:19)
at async PuppeteerExtra.launch (/home/runner/workspace/node_modules/puppeteer-extra/dist/index.cjs.js:128:25)
- session_STARTUP
info: {"data":"","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.048Z"}
- Error Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome) Error: Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome)
info: Error Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome) Error: Browser was not found at the configured executabl...[TRUNCATED]... {"data":"Error Browser was not found at the configured executablePath (/home/runner/.cache/puppeteer/chrome/linux-131.0.6778.204/chrome-linux64/chrome) Error: Browser was not found at the configured executabl...[TRUNCATED]...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2025-07-17T11:57:24.048Z"}DEBUG INFO
{
"WA_VERSION": "2.3000.1024849293",
"WA_AUTOMATE_VERSION": "4.76.0",
"BROWSER_VERSION": "Chrome/138.0.7204.94",
"START_TS": 1752752353807,
"RAM_INFO": "Total: 412.55 GB | Free: 110.38 GB",
"PPTR_VERSION": "23.11.1",
"LATEST_VERSION": true,
"CLI": false,
"PATCH_HASH": "300da",
"LAUNCH_TIME_MS": 35338,
"ACC_TYPE": "PERSONAL",
"chats": 11,
"messages": 41,
"contacts": 118,
"isBiz": false,
"isMd": true,
"INSTANCE_ID": "542480d8-8a77-4e03-8926-cded1b1caf66"
}Environment
- OS: Linux 6.12
- Node: 22.17.1
- npm: 10.9.2Screenshots/Logs
Anything else?
No response