[Bug]: Protocol error (Runtime.callFunctionOn): Execution context was destroyed.
Pre-flight
- [x] I searched existing issues and this isn't a duplicate
- [x] I'm on the latest released version (or noted my version below)
OpenWA version
0.14.1
Deployment
Docker Compose
Database
SQLite (default)
WhatsApp engine
whatsapp-web.js
What happened?
When the session is connected, this error message appears shortly:
Protocol error (Runtime.callFunctionOn): Execution context was destroyed.
Steps to reproduce
Even after restarting the engine, the session does not restart automatically; it remains "Failed".
Expected behavior
No response
Relevant logs
Environment / additional context
No response
Thanks for the report — the screenshot turned out to carry more information than the error text alone, so it was worth including.
Where the message comes from. It is a raw Chrome DevTools Protocol error, and it reaches a session's error field through exactly one route: client.initialize() rejecting while whatsapp-web.js injects into the page. Everywhere else this error can occur is logged at debug level or routed to a normal disconnect-and-reconnect, so seeing it on the card means an initialize attempt produced it.
Staying "Failed" is by design, not a second bug. An initialize failure is terminal: the reconnect timer is cancelled, the engine evicted, the status persisted. failed is then excluded from both automatic restart paths — boot auto-start only picks up disconnected sessions, and the takeover sweep skips failed deliberately so an operator sees it. "Reconnect" just calls start again and re-runs the same initialize, so it fails identically while the underlying condition persists. Confirmed end-to-end on v0.14.1.
The error text is also not persisted — after a container restart a failed session shows an empty error. Yours still shows the message, so the failure happened during the currently running container's lifetime. Whatever causes it is still active.
What destroys the page context — I do not want to guess, because the usual remedy is irreversible. Deleting the browser profile forces a re-pair.
- Stale profile after the bundled browser changed (#708; FAQ entry "Execution context was destroyed on the first start after an upgrade" in
docs/12-troubleshooting-faq.md). On amd64 that binary changed exactly once, at v0.8.12 — if you upgraded from v0.8.12 or later on amd64, this is not your cause and deleting the profile costs a re-pair for nothing. On arm64 the browser comes from Debian's package and is not version-pinned, so it can differ between image builds. - A changed WhatsApp Web build, with no upgrade at all. By default OpenWA resolves the current known-good build from the
wppconnect-team/wa-versionregistry at session start, once per process — so the build in use can change across restarts on its own. - Renderer crash / memory pressure, or two OpenWA containers bound to the same data volume.
To narrow it down:
- Which version you upgraded from, and your architecture:
docker image inspect --format '{{.Architecture}}' <your image tag>. - Was
essam-artpaired before or after you moved to 0.14.1? - Container log around the failure — especially the
Pinning WhatsApp Web versionline and the warning that begins with this error text and mentions the browser profile. docker inspect openwa-api --format '{{.State.OOMKilled}}', and whether more than one OpenWA container uses the same data volume.
Try this before deleting anything: set WWEBJS_WEB_VERSION to a build that previously worked for you and restart. It is reversible, and if it clears the failure the profile is fine and we have our answer.
One defect this exposed regardless of your root cause: the adapter already detects this error and logs an advisory naming the exact profile directory to remove, but that only reaches the server log. The dashboard shows a truncated Puppeteer error with no next step.
Thank U @rmyndharis for reply : this is info u need it:
root@server:~/OpenWA# docker image inspect --format '{{.Architecture}}' openwa-openwa-api
arm64
root@server:~/OpenWA# docker inspect openwa-api --format '{{.State.OOMKilled}}'
false
Hi Again @rmyndharis
After updating the version and after all attempts to reconnect to the engine failed, I added the following value: WWEBJS_WEB_VERSION to: WWEBJS_WEB_VERSION=2.3000.1040641150-alpha The engine worked briefly for approximately 12 seconds, then disconnected, and the session status reverted to failed. The message read: Protocol error (Runtime.callFunctionOn): Execution context was destroyed. WhatsApp Web's page context was destroyed during startup. If this followed an upgrade, the session's browser profile is likely stale — see docs/12-troubleshooting-faq.md.
Sometimes, when manually click reconnecting to the session, API /api/sessions/{"statusCode":500,"message":"Internal server error"}
This is exactly what happened in the event log:
root@server:~/OpenWA# docker logs openwa-api --tail 100
{"timestamp":"2026-08-06T18:35:18.483Z","level":"info","context":"PluginLoaderService","message":"Plugin loaded: Chat Flow v1.0.7","pluginId":"chat-flow","type":"extension","action":"plugin_loaded"}
{"timestamp":"2026-08-06T18:35:18.490Z","level":"info","context":"PluginLoaderService","message":"Plugin loaded: FAQ / Auto-Reply Bot v0.1.7","pluginId":"faq-bot","type":"extension","action":"plugin_loaded"}
{"timestamp":"2026-08-06T18:35:18.494Z","level":"info","context":"PluginLoaderService","message":"Plugin loaded: HTTP Action Bot v0.1.1","pluginId":"http-action","type":"extension","action":"plugin_loaded"}
{"timestamp":"2026-08-06T18:35:18.503Z","level":"info","context":"PluginLoaderService","message":"Plugin loaded: Typebot Connector v0.1.0","pluginId":"typebot-connector","type":"extension","action":"plugin_loaded"}
{"timestamp":"2026-08-06T18:35:18.504Z","level":"info","context":"PluginLoaderService","message":"Loaded 5 plugins","action":"plugins_loaded","count":5}
{"timestamp":"2026-08-06T18:35:18.530Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-06T18:35:18.531Z","level":"info","context":"AuthService","message":"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":" 🟢 Welcome to OpenWA - WhatsApp API Gateway"}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":" 📊 Dashboard: http://localhost:2785"}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":" 📚 API Docs: http://localhost:2785/api/docs"}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":" 🔑 API Key:"}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":" owa_k1_2… (full key in data/.api-key or the dashboard)"}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"}
{"timestamp":"2026-08-06T18:35:18.532Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-06T18:35:18.538Z","level":"info","context":"PluginLoaderService","message":"[whatsapp-web.js] WhatsApp-web.js engine plugin loaded","pluginId":"whatsapp-web.js"}
{"timestamp":"2026-08-06T18:35:18.541Z","level":"info","context":"PluginLoaderService","message":"[whatsapp-web.js] WhatsApp-web.js engine plugin enabled","pluginId":"whatsapp-web.js"}
{"timestamp":"2026-08-06T18:35:18.561Z","level":"info","context":"PluginLoaderService","message":"Plugin enabled: WhatsApp Web.js Engine","pluginId":"whatsapp-web.js","action":"plugin_enabled"}
{"timestamp":"2026-08-06T18:35:18.561Z","level":"info","context":"EngineFactory","message":"Engine plugin enabled: whatsapp-web.js","action":"engine_enabled","engineType":"whatsapp-web.js"}
{"timestamp":"2026-08-06T18:35:18.610Z","level":"info","context":"LidMappingStore","message":"Loaded 2411 lid->phone mappings into cache (cap 5000)"}
{"timestamp":"2026-08-06T18:35:18.611Z","level":"warn","context":"WebhookService","message":"WEBHOOK_SHUTDOWN_DRAIN_MS (5000ms) is shorter than WEBHOOK_TIMEOUT (10000ms) — an in-flight delivery that takes nearly the full timeout will be abandoned at shutdown. Raise WEBHOOK_SHUTDOWN_DRAIN_MS to at least WEBHOOK_TIMEOUT if you want shutdown to wait for deliveries to complete."}
[Nest] 7 - 08/06/2026, 6:35:18 PM LOG [DockerService] Docker API connected successfully
[Nest] 7 - 08/06/2026, 6:35:18 PM LOG [DockerService] [Bootstrap Orchestration] No built-in services configured
[Nest] 7 - 08/06/2026, 6:35:18 PM LOG [BuiltInFtsProvider] FTS index ready
[Nest] 7 - 08/06/2026, 6:35:18 PM LOG [NestApplication] Nest application successfully started +40ms
🚀 OpenWA is running on: http://localhost:2785
⚠️ Dashboard: CSP upgrade-insecure-requests is ON (production default). If this instance is reached over plain HTTP, the browser will upgrade the UI's scripts to https:// and the dashboard will render blank. Behind a TLS proxy? Ignore this. Serving direct HTTP? Set CSP_UPGRADE_INSECURE_REQUESTS=false.
📚 Swagger docs: http://localhost:2785/api/docs
🖥️ Dashboard: serving bundled UI at http://localhost:2785
[Nest] 7 - 08/06/2026, 6:35:35 PM LOG [EventsGateway] Client connected: Nwomm9e8ZpVAjCtZAAAB (key: Default Admin Key)
[Nest] 7 - 08/06/2026, 6:35:35 PM DEBUG [EventsGateway] Client Nwomm9e8ZpVAjCtZAAAB subscribed to: session:*:session.status, session:*:session.qr, session:*:session.restriction
{"timestamp":"2026-08-06T18:35:37.640Z","level":"info","context":"SessionEngineLifecycle","message":"Initializing engine for session: essam-art","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"engine_init","proxyEnabled":false,"requestId":"e70b4cec-4f22-4396-a671-cdd931fc9c5f"}
{"timestamp":"2026-08-06T18:35:37.651Z","level":"warn","context":"WebVersion","message":"WhatsApp Web build pinned to remote HTML served into the web.whatsapp.com origin WITHOUT an integrity check","action":"web_version_remote_pin","webVersion":"2.3000.1044606470-alpha","remotePath":"https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.3000.1044606470-alpha.html","optOut":"set WWEBJS_WEB_VERSION=off for the first-party build served by WhatsApp, or point WWEBJS_WEB_VERSION_REMOTE_PATH at an operator-controlled copy","requestId":"e70b4cec-4f22-4396-a671-cdd931fc9c5f"}
{"timestamp":"2026-08-06T18:35:37.651Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Pinning WhatsApp Web version 2.3000.1044606470-alpha","requestId":"e70b4cec-4f22-4396-a671-cdd931fc9c5f"}
{"timestamp":"2026-08-06T18:35:52.659Z","level":"info","context":"SessionEngineLifecycle","message":"QR code generated","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"qr_generated","requestId":"e70b4cec-4f22-4396-a671-cdd931fc9c5f"}
{"timestamp":"2026-08-06T18:37:18.271Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"WhatsApp Web is connected but its event bridge never attached; reloading the page to reinject","sessionId":"essam-art","action":"event_bridge_reload","requestId":"e70b4cec-4f22-4396-a671-cdd931fc9c5f"}
[Nest] 7 - 08/06/2026, 6:37:39 PM LOG [EventsGateway] Client disconnected: Nwomm9e8ZpVAjCtZAAAB
[Nest] 7 - 08/06/2026, 6:37:42 PM LOG [EventsGateway] Client connected: LAW6TnNHshqNOwA1AAAD (key: Default Admin Key)
[Nest] 7 - 08/06/2026, 6:37:42 PM DEBUG [EventsGateway] Client LAW6TnNHshqNOwA1AAAD subscribed to: session:*:session.status, session:*:session.qr, session:*:session.restriction
{"timestamp":"2026-08-06T18:37:49.266Z","level":"warn","context":"Bootstrap","message":"Puppeteer rejection after the page it was evaluating went away (navigation or engine teardown) — expected; the session recovers on its own. Check the session's own disconnect/failure logs for the outcome.","reason":"Error: Execution context was destroyed, most likely because of a navigation.\n at rewriteError (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:457:15)\n at async #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:389:60)\n at async ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:277:16)\n at async IsolatedWorld.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js:100:16)\n at async CdpFrame.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:362:20)\n at async CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:830:20)\n at async exposeFunctionIfAbsent (/app/node_modules/whatsapp-web.js/src/util/Puppeteer.js:14:19)\n at async Client.inject (/app/node_modules/whatsapp-web.js/src/Client.js:384:9)\n at async /app/node_modules/whatsapp-web.js/src/Client.js:512:13","action":"page_context_lost_rejection","requestId":"e70b4cec-4f22-4396-a671-cdd931fc9c5f"}
{"timestamp":"2026-08-06T18:38:04.237Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Ignoring premature ready: the message event bridge is not attached yet","sessionId":"essam-art","action":"premature_ready_ignored","requestId":"e70b4cec-4f22-4396-a671-cdd931fc9c5f"}
{"timestamp":"2026-08-06T18:38:04.771Z","level":"info","context":"SessionEngineLifecycle","message":"Session ready: 967770701021","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","phone":"967770701021","pushName":"عصام لحلول تقنية المعلومات","action":"ready","requestId":"e70b4cec-4f22-4396-a671-cdd931fc9c5f"}
{"timestamp":"2026-08-06T18:38:09.822Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Dismissed the WhatsApp Web onboarding modal","sessionId":"essam-art","attempt":1,"action":"onboarding_modal_dismissed","requestId":"e70b4cec-4f22-4396-a671-cdd931fc9c5f"}
[Nest] 7 - 08/06/2026, 6:38:11 PM LOG [EventsGateway] Client disconnected: LAW6TnNHshqNOwA1AAAD
[Nest] 7 - 08/06/2026, 6:40:27 PM LOG [EventsGateway] Client connected: 7yxCrr4Y7c-VYXXMAAAM (key: Default Admin Key)
[Nest] 7 - 08/06/2026, 6:40:28 PM DEBUG [EventsGateway] Client 7yxCrr4Y7c-VYXXMAAAM subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
{"timestamp":"2026-08-06T18:40:34.191Z","level":"warn","context":"SessionLivenessWatchdog","message":"Liveness probe failed; will treat the session as dead after repeated failures","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","failures":1,"action":"watchdog_probe_failed"}
[Nest] 7 - 08/06/2026, 6:40:37 PM LOG [EventsGateway] Client connected: yoKICq5jBqxMT9FgAAAO (key: Default Admin Key)
[Nest] 7 - 08/06/2026, 6:40:37 PM DEBUG [EventsGateway] Client yoKICq5jBqxMT9FgAAAO subscribed to: session:*:session.status, session:*:session.qr, session:*:session.restriction
[Nest] 7 - 08/06/2026, 6:41:02 PM LOG [EventsGateway] Client connected: AVujr78My0W4KfdqAAAQ (key: Default Admin Key)
[Nest] 7 - 08/06/2026, 6:41:02 PM DEBUG [EventsGateway] Client AVujr78My0W4KfdqAAAQ subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
[Nest] 7 - 08/06/2026, 6:41:08 PM LOG [EventsGateway] Client disconnected: 7yxCrr4Y7c-VYXXMAAAM
[Nest] 7 - 08/06/2026, 6:41:09 PM LOG [EventsGateway] Client connected: H_N91ZyrCsIDEaPfAAAS (key: Default Admin Key)
[Nest] 7 - 08/06/2026, 6:41:10 PM DEBUG [EventsGateway] Client H_N91ZyrCsIDEaPfAAAS subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
{"timestamp":"2026-08-06T18:41:34.200Z","level":"warn","context":"SessionLivenessWatchdog","message":"Liveness probe failed repeatedly; handling the session as disconnected","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","failures":2,"action":"watchdog_disconnect"}
{"timestamp":"2026-08-06T18:41:34.205Z","level":"warn","context":"SessionEngineLifecycle","message":"Session disconnected: liveness probe failed (watchdog)","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","reason":"liveness probe failed (watchdog)","action":"disconnected"}
{"timestamp":"2026-08-06T18:41:34.216Z","level":"info","context":"SessionEngineLifecycle","message":"Scheduling reconnect attempt 1/∞ in 6s","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","attempt":1,"delayMs":5915.761967804773,"action":"reconnect_scheduled"}
{"timestamp":"2026-08-06T18:41:50.161Z","level":"error","context":"SessionEngineLifecycle","message":"Failed to destroy engine for session ca90bdce-577b-4597-8cac-9591d3b78b7d","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"engine_destroy_failed","trace":"Error: engine.destroy() timed out"}
{"timestamp":"2026-08-06T18:41:50.161Z","level":"info","context":"SessionEngineLifecycle","message":"Initializing engine for session: essam-art","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"engine_init","proxyEnabled":false}
{"timestamp":"2026-08-06T18:41:50.194Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Pinning WhatsApp Web version 2.3000.1044606470-alpha"}
[Nest] 7 - 08/06/2026, 6:42:10 PM LOG [EventsGateway] Client disconnected: H_N91ZyrCsIDEaPfAAAS
[Nest] 7 - 08/06/2026, 6:42:18 PM ERROR [ExceptionsHandler] TargetCloseError: Protocol error (Runtime.callFunctionOn): Target closed
at CallbackRegistry.clear (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:82:36)
at CdpCDPSession.onClosed (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CdpSession.js:115:25)
at #onClose (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:190:21)
at WebSocket.<anonymous> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/NodeWebSocketTransport.js:48:30)
at callListener (/app/node_modules/ws/lib/event-target.js:290:14)
at WebSocket.onClose (/app/node_modules/ws/lib/event-target.js:220:9)
at WebSocket.emit (node:events:519:28)
at WebSocket.emitClose (/app/node_modules/ws/lib/websocket.js:279:10)
at Receiver.receiverOnFinish (/app/node_modules/ws/lib/websocket.js:1228:20)
at Receiver.emit (node:events:519:28)
at finish (node:internal/streams/writable:955:10)
at node:internal/streams/writable:936:13
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
cause: ProtocolError
at <instance_members_initializer> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:103:14)
at new Callback (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:107:16)
at CallbackRegistry.create (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:25:26)
at Connection._rawSend (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:108:26)
at CdpCDPSession.send (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CdpSession.js:74:33)
at #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:363:50)
at ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:277:36)
at IsolatedWorld.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js:100:30)
at CdpFrame.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:362:43)
at CdpFrame.<anonymous> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/util/decorators.js:109:27)
at CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:830:43)
at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42)
at WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:43)
at WhatsAppWebJsAdapter.getChats (/app/dist/engine/adapters/whatsapp-web-js.adapter.js:1097:27)
at SessionService.getChats (/app/dist/modules/session/session.service.js:318:41)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
}
{"timestamp":"2026-08-06T18:42:35.461Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"\"Protocol error (Runtime.callFunctionOn): Execution context was destroyed.\" during initialize. If this followed an OpenWA upgrade that changed the Chromium/Chrome binary (v0.8.12 amd64 switched Debian Chromium → Chrome for Testing), the session's browser profile is likely stale — delete the profile dir \"/app/data/sessions/session-essam-art\" and start again to re-scan. If no upgrade happened, Puppeteer also raises this on a page navigation or renderer crash (check for memory pressure or a WhatsApp Web reload). See docs/12-troubleshooting-faq.md."}
{"timestamp":"2026-08-06T18:42:35.467Z","level":"error","context":"SessionEngineLifecycle","message":"Session engine failed: Protocol error (Runtime.callFunctionOn): Execution context was destroyed. WhatsApp Web's page context was destroyed during startup. If this followed an upgrade, the session's browser profile is likely stale — see docs/12-troubleshooting-faq.md.","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","reason":"Protocol error (Runtime.callFunctionOn): Execution context was destroyed. WhatsApp Web's page context was destroyed during startup. If this followed an upgrade, the session's browser profile is likely stale — see docs/12-troubleshooting-faq.md.","action":"engine_error"}
{"timestamp":"2026-08-06T18:42:35.520Z","level":"error","context":"SessionEngineLifecycle","message":"Reconnect attempt 1 failed","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"reconnect_error","trace":"Protocol error (Runtime.callFunctionOn): Execution context was destroyed."}
[Nest] 7 - 08/06/2026, 6:42:44 PM LOG [EventsGateway] Client disconnected: yoKICq5jBqxMT9FgAAAO
@rmyndharis
Even after the entire session file was deleted, I noticed something: sometimes the session is ready, but the value "engineLoaded": false and sometimes is "engineLoaded": true
[
{
"id": "ca90bdce-577b-4597-8cac-9591d3b78b7d",
"name": "essam-art",
"status": "ready",
"phone": "967770701021",
"pushName": "عصام لحلول تقنية المعلومات",
"connectedAt": "2026-08-06T19:38:00.428Z",
"lastActive": "2026-08-06T19:47:40.785Z",
"createdAt": "2026-07-03T18:40:08.000Z",
"updatedAt": "2026-08-06T19:54:36.000Z",
"lastError": null,
"restriction": null,
"engineLoaded": false
}
]
this error : "lastError": "WhatsApp Web is connected but its event bridge never attached, so inbound messages would be lost. The saved session was kept — restart the session to relaunch the browser.",
Thanks — the full log answers a lot. One important thing first:
The WWEBJS_WEB_VERSION pin never took effect in this run. Both engine starts in your log print
Pinning WhatsApp Web version 2.3000.1044606470-alpha
That value was auto-resolved from the wa-version registry — it is not the 2.3000.1040641150-alpha you set. When the variable is active, that log line prints your value. The usual reason it doesn't reach the process: the value was added to .env, but the container was restarted with docker restart, which keeps the environment the container was created with. Compose only re-reads .env when the container is recreated:
# .env next to docker-compose.yml
WWEBJS_WEB_VERSION=2.3000.1040641150-alpha
docker compose up -d # recreates the container — docker restart is not enough
Verify via the Pinning WhatsApp Web version line, or the engine card in the dashboard (it shows the effective build and whether it is pinned or auto). One timeline note: the log you pasted (boot at 18:35, session up for ~3½ minutes) doesn't look like the "worked ~12 seconds" run you described after adding the pin — so whether the pin was active in that run, I can't tell from here. The Pinning … line from a fresh run settles it either way.
What the log actually shows. The startup "Execution context was destroyed" is a downstream symptom, not the disease:
18:38:04— the session reaches READY (after one deliberate page reload because the event bridge hadn't attached; that reload also explains the "expected" Puppeteer rejection at18:37:49).18:40:34–18:41:34— the liveness watchdog's probes fail twice: the page stopped responding about 2½ minutes after READY. The session is treated as disconnected and a reconnect is scheduled.18:41:50—engine.destroy() timed out: Chromium is wedged and won't shut down.18:42:35— the re-initialize fails with "Execution context was destroyed" and the session goes tofailed.
So the underlying fault is the page/renderer dying shortly after connect; everything after that is fallout. Two more things in your screenshots are also fallout rather than separate bugs:
- The HTTP 500s — the one in the log is the dashboard's chat poll (
getChats) racing the reconnect: the replacement engine registers before its browser finishes coming up, so the poll reached a browser that was mid-relaunch.POST /sessions/:id/starton a session in this state surfaces the same class of raw engine error. Noisy, but consequence, not cause. - The
engineLoadedflip-flop is expected while the reconnect loop cycles:engineLoadedreflects a live engine object in the current process, so"status": "ready"with"engineLoaded": falsejust means the API caught the session between engine eviction and re-registration.
Your latest lastError ("event bridge never attached … the saved session was kept") is the readiness watchdog refusing to wipe your pairing when the browser comes up broken — same underlying condition, credentials intentionally preserved.
One conclusion we can already bank: you deleted the profile, re-paired, and the cycle continues — that rules out the stale-browser-profile theory for your case.
Where this points on arm64. Your image is built locally (the openwa-openwa-api image name is Compose's), and on arm64 the browser is Debian's chromium package, which is not version-pinned — a rebuild takes whatever Debian ships that day. Also note a renderer process being killed under memory pressure does not necessarily set the container's OOMKilled flag (that reflects the main process), so false there doesn't fully clear the host.
To narrow it down:
- Redo the pin as above; if it still fails, share the log from
Pinning WhatsApp Web version …onward for that run. docker exec openwa-api chromium --version— and did youdocker compose buildaround the time this started?- On the host, after a failure occurs:
free -manddmesg -T | grep -iE 'oom|killed process' | tail -20. - Which version are you on now — still 0.14.1, or 0.14.2?
On our side, regardless of your root cause, this thread exposed a real gap: when destroy() times out on a wedged Chromium, the reconnect relaunches a new browser against the same profile directory while the old process may still be holding it — which is exactly the kind of condition that yields "Execution context was destroyed" on the retry. We'll harden that path to force-kill the old browser before re-initializing. The dashboard's truncated error with no next step is already on the list from earlier in this thread.
The reconnect hardening from the previous comment is up as #1115 — a timed-out destroy() now escalates to a SIGKILL before the relaunch, so a reconnect retry can no longer collide with the wedged browser it is replacing.
#1115 has merged and shipped in v0.14.3.
One correction to something I told you in #1082: I suggested upgrading to 0.14.2 there. For this issue that would not have helped — 0.14.2 was tagged before this fix landed. v0.14.3 is the release that carries it.
What it changes, and what it does not
When destroy() times out on a wedged Chromium, the reconnect now escalates to a SIGKILL before relaunching, so a retry can no longer start a new browser against a profile directory the old process may still be holding.
I want to be straight about the limit of that. Your log shows the page dying roughly 2½ minutes after the session reaches READY, and this fix does not address that. It repairs the recovery path, not the thing you are recovering from. If the underlying cause is still present you should expect the disconnect to keep happening — what should change is that the retry after it stops failing for its own separate reason.
So please treat this as removing one confounder from the picture, not as a fix for the root cause. I cannot claim from here that this collision is what made your retries fail; the evidence is consistent with it, and equally consistent with the same environmental cause killing the retry too.
Still waiting on four things
None of these have come through yet, and the arm64 browser theory stands or falls on them:
- Redo the
WWEBJS_WEB_VERSIONpin properly. The last run auto-resolved2.3000.1044606470-alpharather than the value you set, becausedocker restartkeeps the environment the container was created with. Usedocker compose up -dso the container is recreated, then confirm thePinning WhatsApp Web version …line prints your value and share the log from that point on. docker exec openwa-api chromium --version— and did you rundocker compose buildaround the time this started? On arm64 the image installs Debian'schromiumunpinned, so a rebuild can change the browser with no OpenWA upgrade at all.- On the host, right after a failure:
free -manddmesg -T | grep -iE 'oom|killed process' | tail -20. A renderer killed under memory pressure does not set the container'sOOMKilledflag, so thefalseyou reported does not rule this out. - Which version are you on now?
Marking this as needing info while we wait.
Thank you @rmyndharis for your reply, I am currently using version v0.14.2, and these problems did not appear in the previous version, v0.13.0. Yesterday, I increased the memory allocation from 2 GB to 4 GB and removed the session file in one of the steps to test whether it would reconnect. Currently, the connection is stable, but I think the main problem is the container load. I will update to the new version.
Regarding this: docker exec openwa-api chromium --version — and did you compose build around the time this started?
I did not do this during startup.
Very important note: I increased the timeout with the memory:
WWEBJS_AUTH_TIMEOUT_MS=120000
OPENWA_MEM_LIMIT=4g
after update to 0.14.4:
root@server:~/OpenWA# docker logs openwa-api --tail 100
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/sessions/:sessionId/status/:statusId, DELETE} route +1ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RoutesResolver] MediaController {/api/sessions/:sessionId/media}: +3ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/sessions/:sessionId/media/convert, GET} route +2ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/sessions/:sessionId/media/convert/voice, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/sessions/:sessionId/media/convert/video, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RoutesResolver] CatalogController {/api/sessions/:sessionId}: +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/sessions/:sessionId/catalog, GET} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/sessions/:sessionId/catalog/products, GET} route +10ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/sessions/:sessionId/catalog/products/:productId, GET} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/sessions/:sessionId/messages/send-product, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/sessions/:sessionId/messages/send-catalog, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RoutesResolver] PluginsController {/api/plugins}: +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins, GET} route +9ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/install, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/install-url, POST} route +6ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/catalog, GET} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id, GET} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id/enable, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id/disable, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id/config, PUT} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id/config-ui, GET} route +8ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id/config/:sessionId, PUT} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id/sessions, PUT} route +2ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id/update, POST} route +5ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id, DELETE} route +2ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/plugins/:id/health, GET} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RoutesResolver] IngressController {/api/ingress}: +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/ingress/:pluginId/:instanceId/*path, ALL} route +8ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RoutesResolver] RedriveController {/api/integration/instances}: +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/integration/instances/:pluginId/:instanceId/redrive, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RoutesResolver] IntegrationInstanceController {/api/integration/plugins/:pluginId/instances}: +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/integration/plugins/:pluginId/instances, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/integration/plugins/:pluginId/instances, GET} route +11ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/integration/plugins/:pluginId/instances/:instanceId, GET} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/integration/plugins/:pluginId/instances/:instanceId/regenerate-secret, POST} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/integration/plugins/:pluginId/instances/:instanceId, PATCH} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/integration/plugins/:pluginId/instances/:instanceId, DELETE} route +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RoutesResolver] SearchController {/api/search}: +0ms
[Nest] 7 - 08/07/2026, 12:49:29 PM LOG [RouterExplorer] Mapped {/api/search, GET} route +0ms
{"timestamp":"2026-08-07T12:49:29.696Z","level":"info","context":"PluginLoaderService","message":"Plugin loaded: After-Hours Auto-Reply v0.1.3","pluginId":"after-hours","type":"extension","action":"plugin_loaded"}
{"timestamp":"2026-08-07T12:49:29.727Z","level":"info","context":"PluginLoaderService","message":"Plugin loaded: Chat Flow v1.0.7","pluginId":"chat-flow","type":"extension","action":"plugin_loaded"}
{"timestamp":"2026-08-07T12:49:29.744Z","level":"info","context":"PluginLoaderService","message":"Plugin loaded: FAQ / Auto-Reply Bot v0.1.7","pluginId":"faq-bot","type":"extension","action":"plugin_loaded"}
{"timestamp":"2026-08-07T12:49:29.765Z","level":"info","context":"PluginLoaderService","message":"Plugin loaded: HTTP Action Bot v0.1.1","pluginId":"http-action","type":"extension","action":"plugin_loaded"}
{"timestamp":"2026-08-07T12:49:29.775Z","level":"info","context":"PluginLoaderService","message":"Plugin loaded: Typebot Connector v0.1.0","pluginId":"typebot-connector","type":"extension","action":"plugin_loaded"}
{"timestamp":"2026-08-07T12:49:29.775Z","level":"info","context":"PluginLoaderService","message":"Loaded 5 plugins","action":"plugins_loaded","count":5}
{"timestamp":"2026-08-07T12:49:29.830Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":" 🟢 Welcome to OpenWA - WhatsApp API Gateway"}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":" 📊 Dashboard: http://localhost:2785"}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":" 📚 API Docs: http://localhost:2785/api/docs"}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":" 🔑 API Key:"}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":" owa_k1_2… (full key in data/.api-key or the dashboard)"}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":"━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"}
{"timestamp":"2026-08-07T12:49:29.832Z","level":"info","context":"AuthService","message":""}
{"timestamp":"2026-08-07T12:49:29.847Z","level":"info","context":"PluginLoaderService","message":"[whatsapp-web.js] WhatsApp-web.js engine plugin loaded","pluginId":"whatsapp-web.js"}
{"timestamp":"2026-08-07T12:49:29.851Z","level":"info","context":"PluginLoaderService","message":"[whatsapp-web.js] WhatsApp-web.js engine plugin enabled","pluginId":"whatsapp-web.js"}
{"timestamp":"2026-08-07T12:49:29.933Z","level":"info","context":"PluginLoaderService","message":"Plugin enabled: WhatsApp Web.js Engine","pluginId":"whatsapp-web.js","action":"plugin_enabled"}
{"timestamp":"2026-08-07T12:49:29.933Z","level":"info","context":"EngineFactory","message":"Engine plugin enabled: whatsapp-web.js","action":"engine_enabled","engineType":"whatsapp-web.js"}
{"timestamp":"2026-08-07T12:49:30.041Z","level":"info","context":"LidMappingStore","message":"Loaded 2411 lid->phone mappings into cache (cap 5000)"}
{"timestamp":"2026-08-07T12:49:30.043Z","level":"warn","context":"WebhookService","message":"WEBHOOK_SHUTDOWN_DRAIN_MS (5000ms) is shorter than WEBHOOK_TIMEOUT (10000ms) — an in-flight delivery that takes nearly the full timeout will be abandoned at shutdown. Raise WEBHOOK_SHUTDOWN_DRAIN_MS to at least WEBHOOK_TIMEOUT if you want shutdown to wait for deliveries to complete."}
[Nest] 7 - 08/07/2026, 12:49:30 PM LOG [DockerService] Docker API connected successfully
[Nest] 7 - 08/07/2026, 12:49:30 PM LOG [DockerService] [Bootstrap Orchestration] No built-in services configured
[Nest] 7 - 08/07/2026, 12:49:31 PM LOG [BuiltInFtsProvider] FTS index ready
[Nest] 7 - 08/07/2026, 12:49:31 PM LOG [NestApplication] Nest application successfully started +104ms
🚀 OpenWA is running on: http://localhost:2785
📚 Swagger docs: http://localhost:2785/api/docs
🖥️ Dashboard: serving bundled UI at http://localhost:2785
⚠️ Dashboard: CSP upgrade-insecure-requests is ON (production default). If this instance is reached over plain HTTP, the browser will upgrade the UI's scripts to https:// and the dashboard will render blank. Behind a TLS proxy? Ignore this. Serving direct HTTP? Set CSP_UPGRADE_INSECURE_REQUESTS=false.
[Nest] 7 - 08/07/2026, 12:49:34 PM LOG [EventsGateway] Client connected: HUWo2GDviTfengg3AAAC (key: Default Admin Key)
[Nest] 7 - 08/07/2026, 12:49:34 PM LOG [EventsGateway] Client connected: XP4RvNTqnnb-9_l2AAAD (key: Default Admin Key)
[Nest] 7 - 08/07/2026, 12:49:35 PM DEBUG [EventsGateway] Client HUWo2GDviTfengg3AAAC subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
[Nest] 7 - 08/07/2026, 12:49:35 PM DEBUG [EventsGateway] Client XP4RvNTqnnb-9_l2AAAD subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
[Nest] 7 - 08/07/2026, 12:49:50 PM LOG [EventsGateway] Client connected: uU0tGIkCx02YmgiWAAAF (key: Default Admin Key)
[Nest] 7 - 08/07/2026, 12:49:50 PM DEBUG [EventsGateway] Client uU0tGIkCx02YmgiWAAAF subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
[Nest] 7 - 08/07/2026, 12:49:59 PM LOG [EventsGateway] Client disconnected: XP4RvNTqnnb-9_l2AAAD
[Nest] 7 - 08/07/2026, 12:50:00 PM LOG [EventsGateway] Client disconnected: uU0tGIkCx02YmgiWAAAF
[Nest] 7 - 08/07/2026, 12:50:00 PM LOG [EventsGateway] Client connected: krVC5poVBE4dkQMPAAAH (key: Default Admin Key)
[Nest] 7 - 08/07/2026, 12:50:01 PM DEBUG [EventsGateway] Client krVC5poVBE4dkQMPAAAH subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
[Nest] 7 - 08/07/2026, 12:50:01 PM LOG [EventsGateway] Client connected: UwSgapjocNz69OzSAAAJ (key: Default Admin Key)
[Nest] 7 - 08/07/2026, 12:50:01 PM DEBUG [EventsGateway] Client UwSgapjocNz69OzSAAAJ subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
{"timestamp":"2026-08-07T12:50:01.884Z","level":"info","context":"SessionEngineLifecycle","message":"Initializing engine for session: essam-art","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"engine_init","proxyEnabled":false}
{"timestamp":"2026-08-07T12:50:02.463Z","level":"warn","context":"WebVersion","message":"WhatsApp Web build pinned to remote HTML served into the web.whatsapp.com origin WITHOUT an integrity check","action":"web_version_remote_pin","webVersion":"2.3000.1044676071-alpha","remotePath":"https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.3000.1044676071-alpha.html","optOut":"set WWEBJS_WEB_VERSION=off for the first-party build served by WhatsApp, or point WWEBJS_WEB_VERSION_REMOTE_PATH at an operator-controlled copy"}
{"timestamp":"2026-08-07T12:50:02.465Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Pinning WhatsApp Web version 2.3000.1044676071-alpha"}
{"timestamp":"2026-08-07T12:50:02.466Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Using auth timeout 120000ms"}
[Nest] 7 - 08/07/2026, 12:50:54 PM LOG [EventsGateway] Client connected: i28JYs6YhxCJy_28AAAL (key: Default Admin Key)
[Nest] 7 - 08/07/2026, 12:50:55 PM DEBUG [EventsGateway] Client i28JYs6YhxCJy_28AAAL subscribed to: session:*:session.status, session:*:session.qr, session:*:session.restriction
[Nest] 7 - 08/07/2026, 12:50:57 PM LOG [EventsGateway] Client disconnected: i28JYs6YhxCJy_28AAAL
{"timestamp":"2026-08-07T12:50:58.675Z","level":"info","context":"SessionTakeoverService","message":"Adopted session essam-art from lapsed node 1ddd7dfd6279","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","fromNode":"1ddd7dfd6279","action":"session_takeover"}
[Nest] 7 - 08/07/2026, 12:50:59 PM LOG [EventsGateway] Client disconnected: krVC5poVBE4dkQMPAAAH
[Nest] 7 - 08/07/2026, 12:51:00 PM LOG [EventsGateway] Client disconnected: UwSgapjocNz69OzSAAAJ
[Nest] 7 - 08/07/2026, 12:51:07 PM LOG [EventsGateway] Client connected: 7B_jFNyEkHrrvBIaAAAN (key: Default Admin Key)
[Nest] 7 - 08/07/2026, 12:51:07 PM DEBUG [EventsGateway] Client 7B_jFNyEkHrrvBIaAAAN subscribed to: session:*:session.status, session:*:session.qr, session:*:session.restriction
{"timestamp":"2026-08-07T12:51:40.473Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"WhatsApp Web is connected but its event bridge never attached; reloading the page to reinject","sessionId":"essam-art","action":"event_bridge_reload"}
{"timestamp":"2026-08-07T12:51:42.783Z","level":"warn","context":"Bootstrap","message":"Puppeteer rejection after the page it was evaluating went away (navigation or engine teardown) — expected; the session recovers on its own. Check the session's own disconnect/failure logs for the outcome.","reason":"Error: Execution context was destroyed, most likely because of a navigation.\n at rewriteError (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:457:15)\n at async #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:389:60)\n at async ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:277:16)\n at async IsolatedWorld.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js:100:16)\n at async CdpFrame.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:362:20)\n at async CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:830:20)\n at async Client.getWWebVersion (/app/node_modules/whatsapp-web.js/src/Client.js:1321:16)\n at async Client.inject (/app/node_modules/whatsapp-web.js/src/Client.js:145:25)\n at async /app/node_modules/whatsapp-web.js/src/Client.js:512:13","action":"page_context_lost_rejection"}
{"timestamp":"2026-08-07T12:52:59.032Z","level":"error","context":"WhatsAppWebJsAdapter","message":"WhatsApp Web stayed connected but its event bridge never attached within the readiness deadline — inbound messages would be silently lost, so the session is marked failed. The saved credentials were kept; restart the session to relaunch the browser.","sessionId":"essam-art","action":"ready_reconcile_bridge_dead"}
{"timestamp":"2026-08-07T12:52:59.036Z","level":"error","context":"SessionEngineLifecycle","message":"Session engine failed: WhatsApp Web is connected but its event bridge never attached, so inbound messages would be lost. The saved session was kept — restart the session to relaunch the browser.","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","reason":"WhatsApp Web is connected but its event bridge never attached, so inbound messages would be lost. The saved session was kept — restart the session to relaunch the browser.","action":"engine_error"}
root@server:~/OpenWA# docker exec openwa-api chromium --version
Chromium 151.0.7922.71 built on Debian GNU/Linux 12 (bookworm)
[
{
"id": "ca90bdce-577b-4597-8cac-9591d3b78b7d",
"name": "essam-art",
"status": "failed",
"phone": "967770701021",
"pushName": "عصام لحلول تقنية المعلومات",
"connectedAt": "2026-08-06T21:27:01.314Z",
"lastActive": "2026-08-07T12:38:06.893Z",
"createdAt": "2026-07-03T18:40:08.000Z",
"updatedAt": "2026-08-07T13:05:02.000Z",
"lastError": "WhatsApp Web is connected but its event bridge never attached, so inbound messages would be lost. The saved session was kept — restart the session to relaunch the browser.",
"restriction": null,
"engineLoaded": false
}
]
Root cause found, reproduced, and fixed. Thank you for the 0.14.4 log — it contained the piece that made this reproducible, and it turned out the fault is ours, not your server.
What is actually happening
Your 0.14.4 log shows this sequence:
12:50:02 engine_init
~12:51:29 authenticated
12:51:40 event_bridge_reload ← 11s after authenticated
12:51:42 Execution context was destroyed … Client.js:512
12:52:59 ready_reconcile_bridge_dead → failed
The reload on line 3 is ours, and it fired far too early.
whatsapp-web.js clears its eventsAttached flag in its constructor and sets it only after attachEventListeners() finishes. Between those two points it evaluates LoadUtils, polls for up to 30 seconds waiting for window.WWebJS, then builds ClientInfo and InterfaceController. So while a session is still attaching — which on a loaded host is most of a minute — the flag reads false legitimately. It means still working, not broken.
Our self-heal treated that reading as a dead bridge and reloaded the page on the very first reconcile tick, two seconds after authenticated. That reload navigates the page out from under the injection that is still running on it. The re-entry then dies at getWWebVersion — before it can re-expose any part of the bridge — and a one-shot guard prevents a second attempt. From that point the session cannot recover, and 90 seconds later it is marked failed.
So "Execution context was destroyed" was never the disease. It is what our own reload does to a session that was merely slow.
The fix
The reload now has to wait out whatsapp-web.js's own attach budget before it may navigate. A bridge that is genuinely dead still gets its reload, with half the readiness deadline left to reinject.
It is up as #1137. It is not released yet — I will comment here with the version once it ships, rather than guess at one.
I verified it on a real session rather than only in tests. Same host, same CPU limit, same settings, with the adapter as the only difference:
| before | after | |
|---|---|---|
event_bridge_reload |
fires at +38s | never |
Execution context was destroyed at Client.js:512 |
yes | none |
| time to ready | 75s | 47s |
The Ignoring premature ready line appears in both runs, which matters: it proves the triggering condition still occurred in the second run. The session survived it because the code stopped interrupting itself. Removing that wasted reload also took 28 seconds off the time to ready.
Please ignore the diagnostics I asked you for
I asked for four things. I have since measured three of them myself, and they were dead ends — sorry for sending you after them.
- Chromium version. I pulled the published arm64 images for both versions.
0.13.0and0.14.4ship the identical Chromium 151.0.7922.71. The browser did not move between them, so the version you reported was never anomalous. free -m/dmesg/ memory. Not needed.OPENWA_MEM_LIMITis a docker-compose setting; the application never reads it, so raising it to 4g changed the cgroup ceiling and nothing else. One session against a 2 GB ceiling was already several times what one session needs.WWEBJS_WEB_VERSIONpin. Not needed either — see below.
Corrections to what I told you earlier
WWEBJS_AUTH_TIMEOUT_MS=120000 cannot help this. The 90-second deadline that ends the session is a fixed constant measured from authenticated, with no environment variable behind it. Your setting did take effect — the Using auth timeout 120000ms line proves it reached the process — but it governs a different timer. You can leave it or remove it; it does not affect this failure.
Do not downgrade to v0.13.0. I want to be direct about this, because it looks like the safe move and it is not. v0.13.0 did not lack this fault — it could not see it. It promoted such a session to READY anyway, so the gateway reported a healthy session while every incoming message was lost. And in the harsher variant it deletes the session directory and forces a fresh QR scan. v0.14.x keeps your credentials deliberately and asks for a restart instead. The failed status you are seeing is the gateway refusing to pretend.
The Adopted session … from lapsed node line is not a second start. It is logged after the start finishes, so the 57-second gap you can see in your log is one slow startup, not two competing ones. It appears because the node id defaults to the container hostname, which changes on every recreate. Setting a fixed NODE_ID in your .env avoids that path entirely and lets the session start at boot instead of waiting for the sweep — worth doing regardless of this bug.
What is still open
Your earlier logs, on 0.14.1/0.14.2, show a different failure: the session reaches READY, then the page stops responding roughly two and a half minutes later, the watchdog disconnects it, and the reconnect runs into a browser that will not shut down. #1115 fixed the collision in that reconnect path, but what kills the page in the first place is still unexplained, and today's fix does not address it.
That is why this issue stays open after #1137 merges.
What would help next
Once #1137 ships, upgrade and send the log from Initializing engine for session onward for one startup. Two outcomes tell us different things:
- No
event_bridge_reload, session reaches ready and stays — the remaining question is whether the ~2.5 minute page death returns. - The session reaches ready and then dies ~2.5 minutes later again — that is the second problem in isolation, with this one out of the way, which is exactly the clean signal we have not had yet.
@rmyndharis
this error still here :
i delete session > start > rescan . but still don't work
{"timestamp":"2026-08-07T17:04:22.705Z","level":"info","context":"SessionEngineLifecycle","message":"Initializing engine for session: essam-art","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"engine_init","proxyEnabled":false,"requestId":"1ca6cedc-37c9-4c47-8cd3-86fad199a434"}
{"timestamp":"2026-08-07T17:04:23.302Z","level":"warn","context":"WebVersion","message":"WhatsApp Web build pinned to remote HTML served into the web.whatsapp.com origin WITHOUT an integrity check","action":"web_version_remote_pin","webVersion":"2.3000.1044691440-alpha","remotePath":"https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/2.3000.1044691440-alpha.html","optOut":"set WWEBJS_WEB_VERSION=off for the first-party build served by WhatsApp, or point WWEBJS_WEB_VERSION_REMOTE_PATH at an operator-controlled copy","requestId":"1ca6cedc-37c9-4c47-8cd3-86fad199a434"}
{"timestamp":"2026-08-07T17:04:23.312Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Pinning WhatsApp Web version 2.3000.1044691440-alpha","requestId":"1ca6cedc-37c9-4c47-8cd3-86fad199a434"}
{"timestamp":"2026-08-07T17:04:23.312Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Using auth timeout 120000ms","requestId":"1ca6cedc-37c9-4c47-8cd3-86fad199a434"}
[Nest] 7 - 08/07/2026, 5:04:49 PM LOG [EventsGateway] Client disconnected: UXRRUVVQEMa8l8USAAAB
{"timestamp":"2026-08-07T17:05:17.353Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"\"Protocol error (Runtime.callFunctionOn): Execution context was destroyed.\" during initialize. If this followed an OpenWA upgrade that changed the Chromium/Chrome binary (v0.8.12 amd64 switched Debian Chromium → Chrome for Testing), the session's browser profile is likely stale — delete the profile dir \"/app/data/sessions/session-essam-art\" and start again to re-scan. If no upgrade happened, Puppeteer also raises this on a page navigation or renderer crash (check for memory pressure or a WhatsApp Web reload). See docs/12-troubleshooting-faq.md.","requestId":"1ca6cedc-37c9-4c47-8cd3-86fad199a434"}
{"timestamp":"2026-08-07T17:05:17.356Z","level":"error","context":"SessionEngineLifecycle","message":"Session engine failed: Protocol error (Runtime.callFunctionOn): Execution context was destroyed. WhatsApp Web's page context was destroyed during startup. If this followed an upgrade, the session's browser profile is likely stale — see docs/12-troubleshooting-faq.md.","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","reason":"Protocol error (Runtime.callFunctionOn): Execution context was destroyed. WhatsApp Web's page context was destroyed during startup. If this followed an upgrade, the session's browser profile is likely stale — see docs/12-troubleshooting-faq.md.","action":"engine_error","requestId":"1ca6cedc-37c9-4c47-8cd3-86fad199a434"}
[Nest] 7 - 08/07/2026, 5:05:17 PM ERROR [ExceptionsHandler] ProtocolError: Protocol error (Runtime.callFunctionOn): Execution context was destroyed.
at <instance_members_initializer> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:103:14)
at new Callback (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:107:16)
at CallbackRegistry.create (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:25:26)
at Connection._rawSend (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:108:26)
at CdpCDPSession.send (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CdpSession.js:74:33)
at #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:363:50)
at ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:277:36)
at IsolatedWorld.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js:100:30)
at CdpFrame.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:362:43)
at CdpFrame.<anonymous> (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/util/decorators.js:109:27)
at CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:830:43)
at Client.inject (/app/node_modules/whatsapp-web.js/src/Client.js:149:55)
at async Client.initialize (/app/node_modules/whatsapp-web.js/src/Client.js:502:9)
at async WhatsAppWebJsAdapter.initialize (/app/dist/engine/adapters/whatsapp-web-js.adapter.js:280:13)
{"timestamp":"2026-08-07T17:06:09.063Z","level":"info","context":"SessionEngineLifecycle","message":"Initializing engine for session: essam-art","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"engine_init","proxyEnabled":false,"requestId":"09ea2a1a-4665-492e-b118-030f46987b1b"}
{"timestamp":"2026-08-07T17:06:09.080Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Pinning WhatsApp Web version 2.3000.1044691440-alpha","requestId":"09ea2a1a-4665-492e-b118-030f46987b1b"}
{"timestamp":"2026-08-07T17:06:09.080Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Using auth timeout 120000ms","requestId":"09ea2a1a-4665-492e-b118-030f46987b1b"}
{"timestamp":"2026-08-07T17:06:44.441Z","level":"info","context":"SessionEngineLifecycle","message":"QR code generated","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"qr_generated","requestId":"09ea2a1a-4665-492e-b118-030f46987b1b"}
{"timestamp":"2026-08-07T17:09:20.989Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"WhatsApp Web is connected but its event bridge never attached; reloading the page to reinject","sessionId":"essam-art","action":"event_bridge_reload","requestId":"09ea2a1a-4665-492e-b118-030f46987b1b"}
{"timestamp":"2026-08-07T17:09:24.689Z","level":"warn","context":"Bootstrap","message":"Puppeteer rejection after the page it was evaluating went away (navigation or engine teardown) — expected; the session recovers on its own. Check the session's own disconnect/failure logs for the outcome.","reason":"Error: Execution context was destroyed, most likely because of a navigation.\n at rewriteError (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:457:15)\n at async #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:389:60)\n at async ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:277:16)\n at async IsolatedWorld.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js:100:16)\n at async CdpFrame.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:362:20)\n at async CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:830:20)\n at async Client.inject (/app/node_modules/whatsapp-web.js/src/Client.js:149:36)\n at async /app/node_modules/whatsapp-web.js/src/Client.js:512:13","action":"page_context_lost_rejection","requestId":"09ea2a1a-4665-492e-b118-030f46987b1b"}
{"timestamp":"2026-08-07T17:10:19.097Z","level":"warn","context":"Bootstrap","message":"Puppeteer rejection after the page it was evaluating went away (navigation or engine teardown) — expected; the session recovers on its own. Check the session's own disconnect/failure logs for the outcome.","reason":"Error: Execution context was destroyed, most likely because of a navigation.\n at rewriteError (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:457:15)\n at async #evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:340:64)\n at async ExecutionContext.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ExecutionContext.js:277:16)\n at async IsolatedWorld.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/IsolatedWorld.js:100:16)\n at async CdpFrame.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Frame.js:362:20)\n at async CdpPage.evaluate (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:830:20)\n at async Client.inject (/app/node_modules/whatsapp-web.js/src/Client.js:129:19)\n at async /app/node_modules/whatsapp-web.js/src/Client.js:512:13","action":"page_context_lost_rejection","requestId":"09ea2a1a-4665-492e-b118-030f46987b1b"}
{"timestamp":"2026-08-07T17:10:47.110Z","level":"error","context":"WhatsAppWebJsAdapter","message":"WhatsApp Web stayed connected but its event bridge never attached within the readiness deadline — inbound messages would be silently lost, so the session is marked failed. The saved credentials were kept; restart the session to relaunch the browser.","sessionId":"essam-art","action":"ready_reconcile_bridge_dead","requestId":"09ea2a1a-4665-492e-b118-030f46987b1b"}
{"timestamp":"2026-08-07T17:10:47.112Z","level":"error","context":"SessionEngineLifecycle","message":"Session engine failed: WhatsApp Web is connected but its event bridge never attached, so inbound messages would be lost. The saved session was kept — restart the session to relaunch the browser.","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","reason":"WhatsApp Web is connected but its event bridge never attached, so inbound messages would be lost. The saved session was kept — restart the session to relaunch the browser.","action":"engine_error","requestId":"09ea2a1a-4665-492e-b118-030f46987b1b"}
{"timestamp":"2026-08-07T17:16:44.404Z","level":"info","context":"InfraConfigController","message":"Configuration saved","envPath":"/app/data/.env.generated","requestId":"bc75c95e-233b-4988-82c8-a4534c4b6ac9"}
{"timestamp":"2026-08-07T17:16:45.682Z","level":"info","context":"InfraConfigController","message":"Restart requested","profiles":[],"requestId":"47bd19c7-d804-4419-aa58-805c0fb8bb4c"}
{"timestamp":"2026-08-07T17:16:45.682Z","level":"info","context":"InfraConfigController","message":"Profiles to remove","profilesToRemove":[],"requestId":"47bd19c7-d804-4419-aa58-805c0fb8bb4c"}
{"timestamp":"2026-08-07T17:16:45.699Z","level":"info","context":"ShutdownService","message":"Entering draining state — readiness now reports 503","requestId":"47bd19c7-d804-4419-aa58-805c0fb8bb4c"}
{"timestamp":"2026-08-07T17:16:45.699Z","level":"info","context":"ShutdownService","message":"Graceful shutdown requested","delayMs":3000,"requestId":"47bd19c7-d804-4419-aa58-805c0fb8bb4c"}
{"timestamp":"2026-08-07T17:16:48.700Z","level":"info","context":"ShutdownService","message":"Initiating shutdown...","requestId":"47bd19c7-d804-4419-aa58-805c0fb8bb4c"}
{"timestamp":"2026-08-07T17:16:48.720Z","level":"info","context":"SessionOwnershipService","message":"Released 1 session claim(s) on shutdown","nodeId":"8b16bf9b2044","requestId":"47bd19c7-d804-4419-aa58-805c0fb8bb4c"}
{"timestamp":"2026-08-07T17:16:48.730Z","level":"info","context":"ApiKeyUsageTracker","message":"Flushing usage stats for 1 API key(s) before shutdown","requestId":"47bd19c7-d804-4419-aa58-805c0fb8bb4c"}
{"timestamp":"2026-08-07T17:16:48.747Z","level":"info","context":"PluginLoaderService","message":"[whatsapp-web.js] WhatsApp-web.js engine plugin disabled","pluginId":"whatsapp-web.js","requestId":"47bd19c7-d804-4419-aa58-805c0fb8bb4c"}
{"timestamp":"2026-08-07T17:16:48.758Z","level":"info","context":"PluginLoaderService","message":"Plugin disabled: WhatsApp Web.js Engine","pluginId":"whatsapp-web.js","action":"plugin_disabled","requestId":"47bd19c7-d804-4419-aa58-805c0fb8bb4c"}
After several failed attempts, I think there is a problem and this error appears:
WhatsApp Web could not reach readiness after re-pairing. Pin WWEBJS_WEB_VERSION to a known-good build and try again.
Fixed and released in v0.14.5.
First, an apology: when you retested, there was nothing to retest against. #1137 merged twelve hours after v0.14.4 was tagged, so the build you were running could not contain it. I said "not released yet" without making clear that meant no release existed with the fix in it. That wasted your time.
Your log contained two different failures
This matters, because only one of them is fixed.
The two are told apart by where the stack ends. Client.js:502 is whatsapp-web.js's first injection; Client.js:512 is its framenavigated handler, which only runs after something navigated the page.
| run 1 (17:04:22 → 17:05:17) | run 2 (17:06:09 → 17:10:47) | |
|---|---|---|
| stack ends at | Client.initialize (Client.js:502) |
Client.js:512 |
| QR | none | 17:06:44 |
event_bridge_reload |
absent | 17:09:20.989 |
Run 2 — this is the one v0.14.5 fixes
The deadline that ends the session is 90 seconds measured from authenticated. Working back from the failure at 17:10:47.110, authenticated landed at 17:09:17.1 — so our reload fired 3.9 seconds after it.
The fix makes that reload wait 45 seconds before it may navigate. 3.9 is well inside 45, so on v0.14.5 that reload does not happen. To be precise about what that buys: it stops us aborting an attach that was merely slow. A bridge that is genuinely dead still gets its reload at the 45-second mark, with half the deadline left to reinject.
Run 1 — still open
This one died 55 seconds in with no QR and no reload of ours, and its stack ends at the first injection. whatsapp-web.js registers its re-injection handler only once that first injection has completed, so a navigation landing during it is caught by nothing — the library does not retry it, and neither do we.
v0.14.5 changes one constant and one early return inside the reload path. Neither is on this code path. Run 1 can still happen on v0.14.5, which is why this issue stays open.
What we found while investigating, and a correction
I told you earlier that the WWEBJS_WEB_VERSION pin was "not needed". That was wrong, and your own logs are what showed it.
With that variable unset — the default — OpenWA resolves a WhatsApp Web build from a public registry at every process start and pins it. Nothing persists that choice, so the build changes when you restart. Your logs show three different builds inside a day. One of our own test instances, which nobody had configured, has now used five.
We then reproduced something worth telling you about. On a slow host, with a pinned build that no longer matches the profile, the premature reload from run 2 does not merely fail — the page can end up navigating to WhatsApp's logout URL, at which point the stored credentials are deleted and the session comes back wanting a fresh QR. The credentials were still valid; restoring them and starting with a matching build brought the session straight back. v0.14.5 prevents this: under identical conditions it does not reload, and the session comes up normally.
To be clear, nothing in your logs shows this happening to you — your run 2 ended the safer way, with the credentials kept. It is the reason to upgrade rather than wait.
If you want to remove the moving build from the picture entirely, pin it:
WWEBJS_WEB_VERSION=2.3000.1044722137-alpha
A correction to my earlier message
I wrote that the page "stops responding roughly two and a half minutes" after READY. That is when we noticed, not when it died. The liveness watchdog probes once a minute and only acts on the second consecutive failure. In the 6 August log, READY was 18:38:04.8, the last good probe 18:39:34, the first failed one 18:40:34.2 — so the page died somewhere in that 60-second window, between roughly 1m29s and 2m29s after READY. Still unexplained, and v0.14.5 does not address it.
What would help next
Upgrade to v0.14.5 and send the log from Initializing engine for session onward for one startup. Two outcomes tell us different things:
- No
event_bridge_reloadand the session stays up — then the remaining question is whether the page death returns. - The session dies at the first injection again, with the stack ending at
Client.js:502— that is run 1 in isolation, with the other fault out of the way, which is the clean signal we have not had yet.
One last thing worth saying: the advice our error message printed told you to delete the browser profile, which is exactly what you had just done. That text assumes an upgrade changed the Chromium binary, which was not your situation — so it pointed you back at something you had already tried, and that is on us, not on you.
Hi @rmyndharis thank you for fixing this issues that's log :
{"timestamp":"2026-08-08T16:32:47.263Z","level":"info","context":"SessionEngineLifecycle","message":"QR code generated","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"qr_generated"}
{"timestamp":"2026-08-08T16:33:07.194Z","level":"info","context":"SessionEngineLifecycle","message":"QR code generated","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"qr_generated"}
{"timestamp":"2026-08-08T16:35:41.829Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Ignoring premature ready: the message event bridge is not attached yet","sessionId":"essam-art","action":"premature_ready_ignored"}
{"timestamp":"2026-08-08T16:35:44.806Z","level":"info","context":"SessionEngineLifecycle","message":"Session ready: 967770701021","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","phone":"967770701021","pushName":"عصام لحلول تقنية المعلومات","action":"ready"}
{"timestamp":"2026-08-08T16:35:49.938Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Dismissed the WhatsApp Web onboarding modal","sessionId":"essam-art","attempt":1,"action":"onboarding_modal_dismissed"}
now is working fine
Hi @rmyndharis after connected is ready see this log :
[Nest] 7 - 08/08/2026, 4:36:44 PM LOG [EventsGateway] Client connected: oLr-DGqt1VevSQOZAAAB (key: Default Admin Key)
[Nest] 7 - 08/08/2026, 4:36:44 PM DEBUG [EventsGateway] Client oLr-DGqt1VevSQOZAAAB subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
{"timestamp":"2026-08-08T16:37:21.715Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:22.038Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:22.212Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:22.462Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:22.554Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:22.655Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:22.724Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:22.818Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:22.905Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:23.027Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:23.117Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:23.160Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:23.267Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:23.575Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:23.651Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:23.790Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:23.876Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:23.963Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:24.127Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:24.273Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:24.411Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:24.501Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:24.573Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:24.694Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:24.778Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:24.918Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:25.314Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:25.489Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:25.861Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:26.096Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC9AD6E73DBC31F7A3538428C3FB75AD_266868094976196@lid"}
{"timestamp":"2026-08-08T16:37:26.188Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACC8A0B7DA06B36FA1D01EFDB6BADF9D_266868094976196@lid"}
{"timestamp":"2026-08-08T16:37:26.456Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC589D7F120878A7BF1373A7D7DCE9C3_266868094976196@lid"}
{"timestamp":"2026-08-08T16:37:26.586Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC7C1D225479D9035521D54CF5D1AB6E_266868094976196@lid"}
{"timestamp":"2026-08-08T16:37:26.699Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC14A142972FF9252EE8F4A2AD9E654F_266868094976196@lid"}
{"timestamp":"2026-08-08T16:37:26.734Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACD49110A8E61597EC2F5D5E446E0278_234488521089063@lid"}
{"timestamp":"2026-08-08T16:37:26.835Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACE222B02D49E7A806F3C536527304CB_234488521089063@lid"}
{"timestamp":"2026-08-08T16:37:26.999Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC9624E8FCAE75A47BCC707CE720B0CE_234488521089063@lid"}
{"timestamp":"2026-08-08T16:37:27.066Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC675D2AB63FA9D88C7DF9631747FA2D_234488521089063@lid"}
{"timestamp":"2026-08-08T16:37:27.246Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC912D0C264D3893BA48CC2D9B81D27E_237520583442649@lid"}
{"timestamp":"2026-08-08T16:37:27.356Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACE4D8F0D8CD18A25DC4A4FA688DA2DE_52351893250287@lid"}
{"timestamp":"2026-08-08T16:37:27.443Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC4F681A2483C75BEBA978446C082122_52351893250287@lid"}
{"timestamp":"2026-08-08T16:37:27.680Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC68ECD81A8BF4AA57B00D36CD3CD447_123252726886550@lid"}
{"timestamp":"2026-08-08T16:37:27.865Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACF52968EE1A51BFCAA164C8E0571B8C_123252726886550@lid"}
{"timestamp":"2026-08-08T16:37:28.043Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACB0E3877BB30EC792C1450D607CF427_74702416564252@lid"}
{"timestamp":"2026-08-08T16:37:28.159Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACD86684319A588B8DD796392B39C25E_52351893250287@lid"}
{"timestamp":"2026-08-08T16:37:28.219Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACFF6C81A620EFAD02C68BE684099272_52351893250287@lid"}
{"timestamp":"2026-08-08T16:37:28.442Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC2286F6400F681739A7E6A4ED68BB18_101554619195562@lid"}
{"timestamp":"2026-08-08T16:37:28.571Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACE7F3F85A21524E3EC368D2793C21AF_52351893250287@lid"}
{"timestamp":"2026-08-08T16:37:28.658Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACCA5D163FF3F1E5D401066192D3B6F0_52351893250287@lid"}
{"timestamp":"2026-08-08T16:37:28.746Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC7AFDA2717F42BCEF72DCC9728B2429_52351893250287@lid"}
{"timestamp":"2026-08-08T16:37:28.813Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACF21778F2C06D7C5EBABFAD0E6C58A7_52351893250287@lid"}
{"timestamp":"2026-08-08T16:37:28.889Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC864792A4A1864C89A245216F3C9A1B_52351893250287@lid"}
{"timestamp":"2026-08-08T16:37:28.956Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACEC53833A9BC80AF2BAD9304B790814_218386906796105@lid"}
{"timestamp":"2026-08-08T16:37:29.036Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC94CD5BE2ED7D3FF94AC2EF0D943630_218386906796105@lid"}
{"timestamp":"2026-08-08T16:37:29.124Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC30F1F333C87583EDE703219173090F_218386906796105@lid"}
{"timestamp":"2026-08-08T16:37:29.236Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC3FD04EEDB4284DA04EA250045AECF6_234905233539300@lid"}
{"timestamp":"2026-08-08T16:37:29.279Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACB54C7AC966F5FE2A909713D6E2F02E_6567088918676@lid"}
{"timestamp":"2026-08-08T16:37:29.329Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC1F05C7566CA1E623EAA692261CC205_234905233539300@lid"}
{"timestamp":"2026-08-08T16:37:29.408Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACD67EC290D413F2262CDB08D7AEFD29_218386906796105@lid"}
{"timestamp":"2026-08-08T16:37:29.475Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACAE889C914969B4B317DE183EE63578_173165028368414@lid"}
{"timestamp":"2026-08-08T16:37:29.721Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A54599F52CACF74C8C81CC2399C7915A_70278650544167@lid"}
{"timestamp":"2026-08-08T16:37:30.101Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC3749FA0CD7C11CA14D04D08A5E66EE_13554933579968@lid"}
{"timestamp":"2026-08-08T16:37:30.259Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC99B14E5D743E9C1BDD9BD334D7D901_13554933579968@lid"}
{"timestamp":"2026-08-08T16:37:30.368Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC7D550C5E53DD21474E1DB51ED03972_13554933579968@lid"}
{"timestamp":"2026-08-08T16:37:30.441Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC8E955AC666CBE9DE2E51D5E906ECE5_13554933579968@lid"}
{"timestamp":"2026-08-08T16:37:30.548Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A52815FDC3A4725F7F3329E471FD6FD7_141459227472062@lid"}
{"timestamp":"2026-08-08T16:37:30.607Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC65257A87D37828EE1D0E7597F54618_20796818911454@lid"}
{"timestamp":"2026-08-08T16:37:32.368Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACCF2928A9C340FB48A52BF45BA464EB_20796818911454@lid"}
{"timestamp":"2026-08-08T16:37:32.667Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A5894FD28D2E69650922CD9507C306DB_141459227472062@lid"}
{"timestamp":"2026-08-08T16:37:32.776Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A51B5D8B0254593B6E613A04F117B971_141459227472062@lid"}
{"timestamp":"2026-08-08T16:37:32.873Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A5CF5079DABC6EC2BC23770B413C4104_141459227472062@lid"}
{"timestamp":"2026-08-08T16:37:34.660Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC10030CACE67C4374F586E36ED0AAFC_20796818911454@lid"}
{"timestamp":"2026-08-08T16:37:35.152Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC18C9A2E5592B9C6B1E9F503228F50F_201167762120708@lid"}
{"timestamp":"2026-08-08T16:37:35.208Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC8F33A4C10A5580FDA9DF905786C8D0_201167762120708@lid"}
{"timestamp":"2026-08-08T16:37:35.282Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC01EACEA8208B40658228F81A46153D_201167762120708@lid"}
{"timestamp":"2026-08-08T16:37:35.360Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC05C2CB7D0025C94B1287BEC109A9DD_201167762120708@lid"}
{"timestamp":"2026-08-08T16:37:35.467Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_3A83A5BDBF489C972442_74217487863820@lid"}
{"timestamp":"2026-08-08T16:37:35.621Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC54043CE482C8E4EDE7E4B816347CE0_234488521089063@lid"}
{"timestamp":"2026-08-08T16:37:35.765Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC92DBFDAEBB19E28BF5DB82BF53A1FC_13554933579968@lid"}
{"timestamp":"2026-08-08T16:37:35.863Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC917D10A92F9D1749358033AAB7135D_13554933579968@lid"}
{"timestamp":"2026-08-08T16:37:35.971Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACF14DE01E3AF7286DEDF7EB9226B1CC_75549145874620@lid"}
{"timestamp":"2026-08-08T16:37:36.065Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC9F7E0A304EAC55DF139BAB632885E2_75549145874620@lid"}
{"timestamp":"2026-08-08T16:37:36.126Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACB46A0E1345D176ABE4060AAF872052_75549145874620@lid"}
{"timestamp":"2026-08-08T16:37:36.195Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACFBC96AB3098209A90B40CD6EA85975_75549145874620@lid"}
{"timestamp":"2026-08-08T16:37:36.241Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC2C9C80603735F045021FB0767EB078_83601655885892@lid"}
{"timestamp":"2026-08-08T16:37:36.345Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC107B982EDFD41A6382ACB86EEBFB22_83601655885892@lid"}
{"timestamp":"2026-08-08T16:37:36.437Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACDF726942975108029014112651778A_120061549371642@lid"}
{"timestamp":"2026-08-08T16:37:36.560Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC0EB09C6B2CB2204ACF5259593225B2_120061549371642@lid"}
{"timestamp":"2026-08-08T16:37:36.663Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC835B4098A164B16370A039878C3B18_206240034619640@lid"}
{"timestamp":"2026-08-08T16:37:36.735Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC64DE6EF52336E32A9569474AFF924F_212188564345058@lid"}
{"timestamp":"2026-08-08T16:37:36.806Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC24365590BE72BC8A6F74F5B006EF06_214177251622948@lid"}
{"timestamp":"2026-08-08T16:37:36.873Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC516396E1471711C323E61A8A73350A_120061549371642@lid"}
{"timestamp":"2026-08-08T16:37:37.030Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A565F3B5EC0ADA6F12DAD8417E6A83A0_105454483046403@lid"}
[Nest] 7 - 08/08/2026, 4:37:37 PM LOG [EventsGateway] Client disconnected: oLr-DGqt1VevSQOZAAAB
{"timestamp":"2026-08-08T16:37:37.237Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_2AF8FC04A8C71AA6B382_97925438935148@lid"}
{"timestamp":"2026-08-08T16:37:37.425Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACDA6172CF990F100E82007B1E0D05DB_245418877264043@lid"}
{"timestamp":"2026-08-08T16:37:37.540Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACBF3F64346BE4773CE9AE85D2208672_185894824869979@lid"}
{"timestamp":"2026-08-08T16:37:37.792Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A55557CCA55FDC33E3A5DFB742B8B0DA_86582312853586@lid"}
{"timestamp":"2026-08-08T16:37:37.970Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC352EC7DAFF656EE169F7501BAA9DE3_185894824869979@lid"}
{"timestamp":"2026-08-08T16:37:38.060Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A509B5463E15625AF7D9FF270D9451CF_105454483046403@lid"}
{"timestamp":"2026-08-08T16:37:38.148Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A52AA614088AC7D97422643FB79E0B56_70278650544167@lid"}
{"timestamp":"2026-08-08T16:37:38.178Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A59F00C427E0E50E8247A12E3F4F5256_70278650544167@lid"}
{"timestamp":"2026-08-08T16:37:38.253Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACD9669DD07AE0894DE98076997B2F5A_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:38.284Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACFCD18450D420ED7DD41B6A0BA5E7A8_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:38.392Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC61149FF58A7D46995D16A678B6D619_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:38.443Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC14415B533E7F08CD20246C0520FEE7_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:38.567Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACCC6A3639D24D20D8D63F907F83D371_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:38.649Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC1B5107BEA853EDC618CD7637C29AC8_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:38.735Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACAF23111C0A5B3320F9EB402D6E53B3_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:38.828Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC2180B365B62FA1DF4A0AD0AAD644A8_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:38.964Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A58377A1AE404FD6CD201D180B764DD3_70278650544167@lid"}
{"timestamp":"2026-08-08T16:37:39.073Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACC4B9B38CAF88E1FBCEDF07E7FB213C_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:39.305Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC2A7A8DD78998B925F75C10893E2295_5124097310786@lid"}
{"timestamp":"2026-08-08T16:37:39.390Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACE87EFAE299B7FBFB8FF7381FF7E5AA_181072113479698@lid"}
{"timestamp":"2026-08-08T16:37:39.726Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACB6F4334FA4E2EAF2492C39420B9C1E_173744463073285@lid"}
{"timestamp":"2026-08-08T16:37:39.927Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACB8EE46A52E32D424CD910B1C6D5415_181072113479698@lid"}
[Nest] 7 - 08/08/2026, 4:37:40 PM LOG [EventsGateway] Client connected: Vt7Fiu9jIi6w28RFAAAD (key: Default Admin Key)
{"timestamp":"2026-08-08T16:37:40.102Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACE14379C29FB30681C684405D9F8021_181072113479698@lid"}
{"timestamp":"2026-08-08T16:37:40.328Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC2B234F5A47CF76994BFC5D72ADA8DC_120061549371642@lid"}
[Nest] 7 - 08/08/2026, 4:37:40 PM DEBUG [EventsGateway] Client Vt7Fiu9jIi6w28RFAAAD subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
{"timestamp":"2026-08-08T16:37:40.508Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A567BC247DF7D6B3EF94ECEC87F27060_150727632662658@lid"}
{"timestamp":"2026-08-08T16:37:40.584Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACFCBA9DBF3E0AE94949125C508CA69D_214177251622948@lid"}
{"timestamp":"2026-08-08T16:37:40.676Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACE4B43A7225C28AD8C3DBE949CF0809_214177251622948@lid"}
{"timestamp":"2026-08-08T16:37:40.805Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC0E7A106047020CBE90B592127C67FD_214177251622948@lid"}
{"timestamp":"2026-08-08T16:37:40.856Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC5181779535EC44DC5E1BE44FE69FE6_214177251622948@lid"}
{"timestamp":"2026-08-08T16:37:40.956Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC95829005B0E7C425A7E0C558182C06_252063057473725@lid"}
{"timestamp":"2026-08-08T16:37:41.065Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC44C1B8A281DBCEA783F54AF1FA83F3_252063057473725@lid"}
{"timestamp":"2026-08-08T16:37:41.256Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACC36150E7CEEED0EE681FA43FE62009_70441959993533@lid"}
{"timestamp":"2026-08-08T16:37:41.317Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC5B06BA943649B89B04DF73A9F13300_136185074712663@lid"}
{"timestamp":"2026-08-08T16:37:41.551Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC1FE6407E3348A43D70DA7726768E83_252063057473725@lid"}
{"timestamp":"2026-08-08T16:37:41.603Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A5F3B0C4FC1802BEEC5F0F24C4E763CF_58261466296409@lid"}
{"timestamp":"2026-08-08T16:37:41.654Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC0177EB357AD211A2B4A755B83639BF_120061549371642@lid"}
{"timestamp":"2026-08-08T16:37:41.696Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_AC215236794E6711128264DD821793D0_61414291034348@lid"}
{"timestamp":"2026-08-08T16:37:41.748Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_ACA96D8569A495258D71834C75210039_173165028368414@lid"}
{"timestamp":"2026-08-08T16:37:41.994Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A5B5614C769D9CF9A7ECC7A8C771D36B_150878073962572@lid"}
{"timestamp":"2026-08-08T16:37:42.084Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Inbound media limiter saturated; emitting message without media","msgId":"false_status@broadcast_A50CA9D70D5B01F28719995149E3D9F1_156500672655614@lid"}
{"timestamp":"2026-08-08T16:37:45.215Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:45.279Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:45.373Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
{"timestamp":"2026-08-08T16:37:45.491Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error downloading media","trace":"Error: Getter was called with undefined data."}
[Nest] 7 - 08/08/2026, 4:37:47 PM LOG [EventsGateway] Client connected: sBUbl6_9kWoBOknHAAAF (key: Default Admin Key)
[Nest] 7 - 08/08/2026, 4:37:47 PM DEBUG [EventsGateway] Client sBUbl6_9kWoBOknHAAAF subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
[Nest] 7 - 08/08/2026, 4:38:39 PM LOG [EventsGateway] Client disconnected: Vt7Fiu9jIi6w28RFAAAD
[Nest] 7 - 08/08/2026, 4:38:39 PM LOG [EventsGateway] Client connected: n1kXHK6nkO92aGl6AAAH (key: Default Admin Key)
[Nest] 7 - 08/08/2026, 4:38:40 PM DEBUG [EventsGateway] Client n1kXHK6nkO92aGl6AAAH subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
[Nest] 7 - 08/08/2026, 4:39:39 PM LOG [EventsGateway] Client disconnected: n1kXHK6nkO92aGl6AAAH
[Nest] 7 - 08/08/2026, 4:39:41 PM LOG [EventsGateway] Client connected: RE0pIw-j1Kykt5NCAAAJ (key: Default Admin Key)
[Nest] 7 - 08/08/2026, 4:39:41 PM DEBUG [EventsGateway] Client RE0pIw-j1Kykt5NCAAAJ subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
{"timestamp":"2026-08-08T16:39:46.650Z","level":"warn","context":"SessionLivenessWatchdog","message":"Liveness probe failed; will treat the session as dead after repeated failures","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","failures":1,"action":"watchdog_probe_failed"}
{"timestamp":"2026-08-08T16:40:24.998Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Failed to get profile picture for [email protected]: Error: Execution context was destroyed, most likely because of a navigation.","requestId":"1e7e0c21-e922-453c-b317-4e6b7d17a2e2"}
{"timestamp":"2026-08-08T16:40:25.362Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error getting message contact","trace":"TypeError: Cannot read properties of undefined (reading 'getContact')"}
{"timestamp":"2026-08-08T16:40:25.626Z","level":"error","context":"WhatsAppWebJsAdapter","message":"Error getting message contact","trace":"TypeError: Cannot read properties of undefined (reading 'getContact')"}
[Nest] 7 - 08/08/2026, 4:40:25 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:26 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:27 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:28 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:29 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:31 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:32 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:33 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:35 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:36 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:37 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:39 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:39 PM LOG [EventsGateway] Client disconnected: RE0pIw-j1Kykt5NCAAAJ
[Nest] 7 - 08/08/2026, 4:40:40 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:41 PM LOG [EventsGateway] Client connected: 0lSvrjjjjDtvZ-NiAAAL (key: Default Admin Key)
[Nest] 7 - 08/08/2026, 4:40:42 PM DEBUG [EventsGateway] Client 0lSvrjjjjDtvZ-NiAAAL subscribed to: session:ca90bdce-577b-4597-8cac-9591d3b78b7d:*
[Nest] 7 - 08/08/2026, 4:40:42 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
[Nest] 7 - 08/08/2026, 4:40:43 PM ERROR [ExceptionsHandler] Error [TypeError]: Cannot read properties of undefined (reading 'getChats')
at evaluate (evaluate at Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:42), <anonymous>:1:39)
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:830:20)
at async Client.getChats (/app/node_modules/whatsapp-web.js/src/Client.js:1680:23)
at async WwebjsChats.getChats (/app/dist/engine/adapters/wwebjs-chats.js:18:23)
at async SessionService.getChats (/app/dist/modules/session/session.service.js:347:28)
{"timestamp":"2026-08-08T16:40:47.404Z","level":"warn","context":"SessionLivenessWatchdog","message":"Liveness probe failed repeatedly; handling the session as disconnected","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","failures":2,"action":"watchdog_disconnect"}
{"timestamp":"2026-08-08T16:40:47.417Z","level":"warn","context":"SessionEngineLifecycle","message":"Session disconnected: liveness probe failed (watchdog)","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","reason":"liveness probe failed (watchdog)","action":"disconnected"}
{"timestamp":"2026-08-08T16:40:47.431Z","level":"info","context":"SessionEngineLifecycle","message":"Scheduling reconnect attempt 1/∞ in 6s","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","attempt":1,"delayMs":5918.402211964973,"action":"reconnect_scheduled"}
{"timestamp":"2026-08-08T16:40:53.916Z","level":"info","context":"SessionEngineLifecycle","message":"Initializing engine for session: essam-art","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","action":"engine_init","proxyEnabled":false}
{"timestamp":"2026-08-08T16:40:53.955Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Pinning WhatsApp Web version 2.3000.1044770897-alpha"}
{"timestamp":"2026-08-08T16:40:53.959Z","level":"info","context":"WhatsAppWebJsAdapter","message":"Using auth timeout 120000ms"}
[Nest] 7 - 08/08/2026, 4:41:10 PM LOG [EventsGateway] Client disconnected: sBUbl6_9kWoBOknHAAAF
[Nest] 7 - 08/08/2026, 4:41:28 PM LOG [EventsGateway] Client connected: JN7RMtcu62tSKz44AAAN (key: Default Admin Key)
[Nest] 7 - 08/08/2026, 4:41:29 PM DEBUG [EventsGateway] Client JN7RMtcu62tSKz44AAAN subscribed to: session:*:session.status, session:*:session.qr, session:*:session.restriction
[Nest] 7 - 08/08/2026, 4:41:39 PM LOG [EventsGateway] Client disconnected: 0lSvrjjjjDtvZ-NiAAAL
{"timestamp":"2026-08-08T16:42:00.018Z","level":"warn","context":"WhatsAppWebJsAdapter","message":"Ignoring premature ready: the message event bridge is not attached yet","sessionId":"essam-art","action":"premature_ready_ignored"}
{"timestamp":"2026-08-08T16:42:09.857Z","level":"info","context":"SessionEngineLifecycle","message":"Session ready: 967770701021","sessionId":"ca90bdce-577b-4597-8cac-9591d3b78b7d","phone":"967770701021","pushName":"عصام لحلول تقنية المعلومات","action":"ready"}
Now I understand the remaining real problem: when retrieving messages for chats or contact list any thing like big list of data, it takes much longer than usual compared to previous versions. This causes the connection to close and then reconnect.