waha
waha copied to clipboard
[WEBJS] - Incoming messages not coming - Docker errors
Describe the bug
Incoming messages are not captured and sent on webhook. Docker logs shows the errors.
Version
Get the WAHA version by calling GET /api/version
{"version":"2026.1.4","engine":"WEBJS","tier":"PLUS","browser":"\/usr\/bin\/chromium","platform":"linux\/x64","worker":{"id":"xxxxx"}}
Docker Logs
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM default
[205:205:0128/080747.991298:ERROR:media/audio/alsa/alsa_util.cc:204] PcmOpen: default,No such file or directory
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM default
[205:205:0128/080747.991413:ERROR:media/audio/alsa/alsa_util.cc:204] PcmOpen: plug:default,No such file or directory
Same issue. It's not able to fetch previous messages as well. This is the logs from my server
err: {
"type": "Error",
"message": "Cannot read properties of undefined (reading 'update')\nwindow.WWebJS.getChatModel (pptr:evaluate;WPage.evaluate%20(%2Fapp%2Fdist%2Fcore%2Fengines%2Fwebjs%2FWPage.js%3A13%3A36):655:46)",
"stack":
TypeError: Cannot read properties of undefined (reading 'update')
window.WWebJS.getChatModel (pptr:evaluate;WPage.evaluate%20(%2Fapp%2Fdist%2Fcore%2Fengines%2Fwebjs%2FWPage.js%3A13%3A36):655:46)
at window.WWebJS.getChatModel (evaluate at WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:36), :654:45)
at evaluate (evaluate at WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:36), :16:59)
at window.WAHA.getChats (evaluate at WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:36), :16:31)
at evaluate (evaluate at WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:36), :1:37)
at #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:391:56)
at async ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:277:16)
at async IsolatedWorld.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js:100:16)
at async CdpFrame.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:362:20)
at async CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:818:20)
at async WPage.evaluate (/app/dist/core/engines/webjs/WPage.js:13:20)
at async WebjsClientCore.getChats (/app/dist/core/engines/webjs/WebjsClientCore.js:137:23)
at async WhatsappSessionWebJSCore.getChatsOverview (/app/dist/core/engines/webjs/session.webjs.core.js:550:23)
"name": "TypeError"
}
+1 on Plus too
+1
+1
We are not receiving the message.any events anymore using webjs, it looks related. No errors in the logs, just the events are missing and after that the system is not sending webhook calls.
using WEBJS (2026.1.4 PLUS)
+1