-
-
Notifications
You must be signed in to change notification settings - Fork 671
Open
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?
Legacy (Normal)
What type of host account are you experiencing this issue on?
Business account
Mode
My own code
Current Behavior
Sometimes onMessage when someone sends a message. But sendText is not able to send message. And when I restart the server session logout. And this happends repeatedly. Also I notice isConnected is working but sendText is not.
Expected Behavior
if onMessage event is working then sendText should also works
Steps To Reproduce
There is no exact steps it happens automatically
My config
const config = {
sessionId: "whatsapp",
authTimeout: 0,
blockCrashLogs: false,
disableSpins: true,
headless: true,
hostNotificationLang: 'en-gb',
logConsole: false,
logFile: false,
deleteSessionDataOnLogout: true,
qrTimeout: 0,
popup: true,
chromiumArgs: [
"--no-sandbox",
"--disable-setuid-sandbox",
"--disable-dev-shm-usage",
"--disable-accelerated-2d-canvas",
"--no-first-run",
"--no-zygote",
"--single-process",
"--disable-gpu",
"--disable-background-timer-throttling",
"--disable-renderer-backgrounding",
"--disable-backgrounding-occluded-windows",
"--disable-ipc-flooding-protection",
"--disable-features=CalculateNativeWinOcclusion",
],
restartOnCrash: create,
}```
### create() code OR full CLI command + CONFIG
```markdown
DEBUG INFO
Debug info: {
"WA_VERSION": "2.3000.1028625634",
"PAGE_UA": "WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"WA_AUTOMATE_VERSION": "4.76.0",
"BROWSER_VERSION": "Chrome/131.0.6778.204",
"OS": "Linux 6.1",
"START_TS": 1760852569953,
"RAM_INFO": "Total: 4.09 GB | Free: 2.14 GB",
"PPTR_VERSION": "23.11.1"
}Environment
- OS: Amazon Linux 2
- Node: 20.19.4
- npm: 10.8.2Screenshots/Logs
No response
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels