open-wa / wa-automate-nodejs

šŸ’¬ šŸ¤– The most reliable tool for chatbots with advanced features. Be sure to šŸŒŸ this repository for updates!
https://docs.openwa.dev/
Other
3.16k stars 600 forks source link

Evaluation failed: Error: update chat table failed #3098

Open demartinoalexis opened 1 year ago

demartinoalexis commented 1 year ago

Are you using the latest version of the library?

What type of session are you experiencing this issue on?

Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag

What type of host account are you experiencing this issue on?

Personal account (normal)

Mode

My own code

Current Behavior

- 14%:   Cargando tus chats [14Ā %]
ConsoleMessage {}
- Use this link to get a license: https://get.openwa.dev/l/**********
**********@c.us
/home/****/***/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:252
        throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails));
              ^

Error: Evaluation failed: Error: update chat table failed
    at https://web.whatsapp.com/app.777d9ff19d4bf91ee3d5.js:72:961160
    at Generator.throw (<anonymous>)
    at t (https://web.whatsapp.com/vendor1~app.26ad649364c0cd2a0a46.js:2:66483)
    at u (https://web.whatsapp.com/vendor1~app.26ad649364c0cd2a0a46.js:2:66730)
    at W (https://web.whatsapp.com/app.777d9ff19d4bf91ee3d5.js:5:140248)
    at MutationObserver.B (https://web.whatsapp.com/app.777d9ff19d4bf91ee3d5.js:5:136825)
    at ExecutionContext._ExecutionContext_evaluate (/home/***/***/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:252:15)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ExecutionContext.evaluate (/home/***/***/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:140:16)

This happens since the new version 4.63.0 , how can i fix this?

Expected Behavior

No response

Steps To Reproduce

.

create() code OR full CLI command + CONFIG

No response

DEBUG INFO

{
  "WA_VERSION": "2.2314.7",
  "WA_AUTOMATE_VERSION": "4.63.0",
  "BROWSER_VERSION": "Chrome/96.0.4664.45",
  "START_TS": 1680625096992,
  "RAM_INFO": "Total: 7.76 GB | Free: 1.33 GB",
  "PPTR_VERSION": "19.8.0",
  "LATEST_VERSION": true,
  "CLI": false,
  "PATCH_HASH": "c92bb",
  "LAUNCH_TIME_MS": 25476,
  "ACC_TYPE": "PERSONAL",
  "chats": 3,
  "messages": 0,
  "contacts": 8,
  "isMd": true,
  "INSTANCE_ID": "57bd62d2-a92b-4301-b25c-23454c7e8391"
}

Environment

- OS: Linux 5.15
- Node: 16.13.0
- npm: 9.6.2

Screenshots/Logs

No response

Anything else?

No response

demartinoalexis commented 1 year ago
/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:252
        throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails));
              ^

Error: Evaluation failed: Error: update chat table failed
    at https://web.whatsapp.com/app.0067e3224e6db3ee85de.js:72:964854
    at Generator.throw (<anonymous>)
    at t (https://web.whatsapp.com/vendor1~app.26ad649364c0cd2a0a46.js:2:66483)
    at u (https://web.whatsapp.com/vendor1~app.26ad649364c0cd2a0a46.js:2:66730)
    at W (https://web.whatsapp.com/app.0067e3224e6db3ee85de.js:5:140248)
    at MutationObserver.B (https://web.whatsapp.com/app.0067e3224e6db3ee85de.js:5:136825)
    at ExecutionContext._ExecutionContext_evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:252:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ExecutionContext.evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:140:16)

With a new session works fine, but when rerun the script with a saved session that error happen, can you help me?

smashah commented 1 year ago

@demartinoalexis please try with the CLI with advanced logging:

> npx @open-wa/wa-automate --debug -v --log-internal-events --log-console --log-console-errors

then paste all of your logs here including the point where the error happens

demartinoalexis commented 1 year ago
info: Set up logging for console  {"timestamp":"2023-04-11T19:26:48.667Z"}
info: Config undefined is directory: false {"timestamp":"2023-04-11T19:26:48.674Z"}
info: Checking exists: cli.config.json {"timestamp":"2023-04-11T19:26:48.675Z"}
info: Checking exists: cli.config.json {"timestamp":"2023-04-11T19:26:48.678Z"}
info: Checking exists: cli.config.js {"timestamp":"2023-04-11T19:26:48.678Z"}
info: Using config file: ??? {"timestamp":"2023-04-11T19:26:48.679Z"}
- session_STARTUP
info:   {"data":"","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:48.683Z"}
- DEBUG - PORT: 8002
info: DEBUG - PORT: 8002  {"data":"DEBUG - PORT: 8002","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:48.684Z"}
- DEBUG - flags: {"sessionId":"session","debug":true,"verbose":true,"logInternalEvents":true,"logConsole":true,"logConsoleErrors":true,"noApi":false,"forceUpdateCwWebhook":false,"port":8002,"host":"localhost","ef":["qr","STARTUP","MD_DETECT","qrUrl"],"allowSessionDataWh":false,"generateApiDocs":true,"sessionDataOnly":false,"skipSavePostmanCollection":false,"headful":false,"preAuthDocs":false,"stats":false,"noKillOnLogout":false,"cors":false,"socket":false,"emitUnread":false,"allowIps":[],"popup":false,"logging":[{"type":"console","done":true}],"disableSpins":true}
info: DEBUG - flags: {"sessionId":"session","debug":true,"verbose":true,"logInternalEvents":true,"logConsole":true,"logConsoleErrors":true,"noApi":false,"forceUpdateCwWebhook":false,"port":8002,"host":"loc...[TRUNCATED]... {"data":"DEBUG - flags: {\"sessionId\":\"session\",\"debug\":true,\"verbose\":true,\"logInternalEvents\":true,\"logConsole\":true,\"logConsoleErrors\":true,\"noApi\":false,\"forceUpdateCwWebhook\":false,\"port\":8002,\"host\":\"loc...[TRUNCATED]...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:48.685Z"}
- DEBUG - env vars: {}
info: DEBUG - env vars: {}  {"data":"DEBUG - env vars: {}","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:48.687Z"}
- Launching EASY API
info: Launching EASY API  {"data":"Launching EASY API","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:48.689Z"}
info: config:   {"PORT":8002,"cliConfig":{"allowIps":[],"allowSessionDataWh":"[REDACTED]","cors":false,"debug":true,"disableSpins":true,"ef":["qr","STARTUP","MD_DETECT","qrUrl"],"emitUnread":false,"forceUpdateCwWebhook":false,"generateApiDocs":true,"headful":false,"host":"localhost","logConsole":true,"logConsoleErrors":true,"logInternalEvents":true,"logging":[{"done":true,"type":"console"}],"noApi":false,"noKillOnLogout":false,"popup":false,"port":8002,"preAuthDocs":false,"sessionDataOnly":"[REDACTED]","sessionId":"session","skipSavePostmanCollection":false,"socket":false,"stats":false,"verbose":true},"createConfig":{"allowIps":[],"allowSessionDataWh":"[REDACTED]","cors":false,"debug":true,"disableSpins":true,"ef":["qr","STARTUP","MD_DETECT","qrUrl"],"emitUnread":false,"forceUpdateCwWebhook":false,"generateApiDocs":true,"headful":false,"host":"localhost","logConsole":true,"logConsoleErrors":true,"logInternalEvents":true,"logging":[{"done":true,"type":"console"}],"noApi":false,"noKillOnLogout":false,"popup":false,"port":8002,"preAuthDocs":false,"sessionDataOnly":"[REDACTED]","sessionId":"session","skipSavePostmanCollection":false,"socket":false,"stats":false,"verbose":true},"timestamp":"2023-04-11T19:26:48.690Z"}
- Selected port is free
info: Selected port is free  {"data":"Selected port is free","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:48.745Z"}
- Generating Swagger Spec
info: Generating Swagger Spec  {"data":"Generating Swagger Spec","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:48.787Z"}
- Postman collection generated: open-wa-session.postman_collection.json
info: Postman collection generated: open-wa-session.postman_collection.json  {"data":"Postman collection generated: open-wa-session.postman_collection.json","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:50.220Z"}
- API collections (swagger + postman) generated successfully
info: API collections (swagger + postman) generated successfully  {"data":"API collections (swagger + postman) generated successfully","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:50.626Z"}
ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”“ā”ƒ                                                                                                  ā”ƒā”ƒ   @open-wa/wa-automate                                                                           ā”ƒā”ƒ   šŸ’¬ šŸ¤– The most reliable NodeJS whatsapp library for chatbots with advanced features.           ā”ƒā”ƒ   Version: 4.64.1                                                                                ā”ƒā”ƒ   Check out the latest changes: https://github.com/open-wa/wa-automate-nodejs#latest-changes     ā”ƒā”ƒ                                                                                                  ā”ƒā”—ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”ā”›
info: RAM INFO Total: 7.76 GB | Free: 4.08 GB {"timestamp":"2023-04-11T19:26:50.938Z"}
info: PPTR VERSION INFO 19.8.5 {"timestamp":"2023-04-11T19:26:50.940Z"}
- Starting
info: Starting  {"data":"Starting","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:50.941Z"}
- Version: 4.64.1
info: Version: 4.64.1  {"data":"Version: 4.64.1","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:50.942Z"}
- Initializing WA
info: Initializing WA  {"data":"Initializing WA","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:50.943Z"}
- It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support
info: It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support  {"data":"It is recommended to set useChrome: true or use the --use-chrome flag if you are experiencing issues with Multi device support","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:50.944Z"}
info: SCRIPT READY: jsSha.min.js 8982 {"timestamp":"2023-04-11T19:26:50.978Z"}
info: SCRIPT READY: qr.min.js 18603 {"timestamp":"2023-04-11T19:26:50.983Z"}
info: SCRIPT READY: base64.js 4173 {"timestamp":"2023-04-11T19:26:50.984Z"}
info: SCRIPT READY: hash.js 34983 {"timestamp":"2023-04-11T19:26:50.984Z"}
info: SCRIPT READY: wapi.js 79911 {"timestamp":"2023-04-11T19:26:50.985Z"}
info: SCRIPT READY: launch.js 65074 {"timestamp":"2023-04-11T19:26:50.986Z"}
- Launching Browser
info: Launching Browser  {"data":"Launching Browser","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:50.991Z"}
- MD Enabled, turning off incognito mode.
info: MD Enabled, turning off incognito mode.  {"data":"MD Enabled, turning off incognito mode.","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.010Z"}
- Data dir: ./_IGNORE_session
info: Data dir: ./_IGNORE_session  {"data":"Data dir: ./_IGNORE_session","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.015Z"}
error: Given check path threw an error ENOENT: no such file or directory, access '/home/ipas/interfaces/_IGNORE_session'  {"code":"ENOENT","errno":-2,"path":"/home/ipas/interfaces/_IGNORE_session","stack":"Error: ENOENT: no such file or directory, access '/home/ipas/interfaces/_IGNORE_session'","syscall":"access","timestamp":"2023-04-11T19:26:51.018Z"}
- Data dir doesnt exist, creating...: ./_IGNORE_session
info: Data dir doesnt exist, creating...: ./_IGNORE_session  {"data":"Data dir doesnt exist, creating...: ./_IGNORE_session","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.027Z"}
- Browser launched: 581ms
info: Browser launched: 581ms  {"data":"Browser launched: 581ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.573Z"}
Press "s" to take a screenshot. Press "Ctrl+C" to quit.
- Setting Up Page
info: Setting Up Page  {"data":"Setting Up Page","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.823Z"}
- Loading session data
info: Loading session data  {"data":"Loading session data","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.841Z"}
error: Given check path threw an error ENOENT: no such file or directory, access '/home/ipas/interfaces/session.data.json'  {"code":"ENOENT","errno":-2,"path":"/home/ipas/interfaces/session.data.json","stack":"Error: ENOENT: no such file or directory, access '/home/ipas/interfaces/session.data.json'","syscall":"access","timestamp":"2023-04-11T19:26:51.859Z"}
error: Given check path threw an error ENOENT: no such file or directory, access '/home/ipas/interfaces/session.data.json'  {"code":"ENOENT","errno":-2,"path":"/home/ipas/interfaces/session.data.json","stack":"Error: ENOENT: no such file or directory, access '/home/ipas/interfaces/session.data.json'","syscall":"access","timestamp":"2023-04-11T19:26:51.862Z"}
- No session data file found for session : session
info: No session data file found for session : session  {"data":"No session data file found for session : session","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.863Z"}
- No session data detected. Opting in for MD.
info: No session data detected. Opting in for MD.  {"data":"No session data detected. Opting in for MD.","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.865Z"}
- Make sure to keep the session alive for at least 5 minutes after scanning the QR code before trying to restart a session!!
info: Make sure to keep the session alive for at least 5 minutes after scanning the QR code before trying to restart a session!!  {"data":"Make sure to keep the session alive for at least 5 minutes after scanning the QR code before trying to restart a session!!","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.872Z"}
- Pre page launch setup complete: 53ms
info: Pre page launch setup complete: 53ms  {"data":"Pre page launch setup complete: 53ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.878Z"}
- Navigating to WA
info: Navigating to WA  {"data":"Navigating to WA","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:51.880Z"}
info: FRAME NAV, https://web.whatsapp.com/, false {"timestamp":"2023-04-11T19:26:52.675Z"}
info: saving valid page to dumb cache {"timestamp":"2023-04-11T19:26:52.685Z"}
- Page loaded in 2568ms: 200
info: Page loaded in 2568ms: 200  {"data":"Page loaded in 2568ms: 200","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:54.802Z"}
- Page loaded
info: Page loaded  {"data":"Page loaded","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:54.803Z"}
- Debug info: {
  "WA_VERSION": "2.2315.6",
  "PAGE_UA": "WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
  "WA_AUTOMATE_VERSION": "4.64.1",
  "BROWSER_VERSION": "HeadlessChrome/112.0.5614.0",
  "OS": "Linux 5.15",
  "START_TS": 1681241214828,
  "RAM_INFO": "Total: 7.76 GB | Free: 4.08 GB",
  "PPTR_VERSION": "19.8.5"
}
info: Debug info: {
  "WA_VERSION": "2.2315.6",
  "PAGE_UA": "WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
  "W...[TRUNCATED]... {"data":"Debug info: {\n  \"WA_VERSION\": \"2.2315.6\",\n  \"PAGE_UA\": \"WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36\",\n  \"W...[TRUNCATED]...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:26:57.752Z"}
- Use this easy pre-filled link to report an issue: https://github.com/open-wa/wa-automate-nodejs/issues/new?template=bug_report.yaml&d_info=%7B%0A%20%20%22WA_VERSION%22:%20%222.2315.6%22,%0A%20%20%22WA_AUTOMATE_VERSION%22:%20%224.64.1%22,%0A%20%20%22BROWSER_VERSION%22:%20%22HeadlessChrome/112.0.5614.0%22,%0A%20%20%22START_TS%22:%201681241214828,%0A%20%20%22RAM_INFO%22:%20%22Total:%207.76%20GB%20%7C%20Free:%204.08%20GB%22,%0A%20%20%22PPTR_VERSION%22:%20%2219.8.5%22,%0A%20%20%22LATEST_VERSION%22:%20true,%0A%20%20%22CLI%22:%20true%0A%7D&enviro=-%20OS:%20Linux%205.15%0A-%20Node:%2019.8.1%0A-%20npm:%209.5.1&labels=CLI,MD
info: Use this easy pre-filled link to report an issue: https://github.com/open-wa/wa-automate-nodejs/issues/new?template=bug_report.yaml&d_info=%7B%0A%20%20%22WA_VERSION%22:%20%222.2315.6%22,%0A%20%20%22W...[TRUNCATED]... {"data":"Use this easy pre-filled link to report an issue: https://github.com/open-wa/wa-automate-nodejs/issues/new?template=bug_report.yaml&d_info=%7B%0A%20%20%22WA_VERSION%22:%20%222.2315.6%22,%0A%20%20%22W...[TRUNCATED]...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:00.073Z"}
- Time to injection: 5270ms
info: Time to injection: 5270ms  {"data":"Time to injection: 5270ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:00.073Z"}
- Injecting api
info: Injecting api  {"data":"Injecting api","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:00.074Z"}
- Injecting scripts
info: Injecting scripts  {"data":"Injecting scripts","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:00.075Z"}
info: GET SCRIPT: jsSha.min.js 8982 {"timestamp":"2023-04-11T19:27:00.795Z"}
info: GET SCRIPT: qr.min.js 18603 {"timestamp":"2023-04-11T19:27:00.796Z"}
info: GET SCRIPT: base64.js 4173 {"timestamp":"2023-04-11T19:27:00.796Z"}
info: GET SCRIPT: hash.js 34983 {"timestamp":"2023-04-11T19:27:00.797Z"}
- Base inject: 160ms
info: Base inject: 160ms  {"data":"Base inject: 160ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:00.955Z"}
info: WAPI CHECK: false {"timestamp":"2023-04-11T19:27:01.258Z"}
info: GET SCRIPT: wapi.js 79911 {"timestamp":"2023-04-11T19:27:01.258Z"}
error: Injection error: wapi.js Evaluation failed: Invariant Violation: Attempt to use EmojiUtil before it's been configured
    at e.exports (https://web.whatsapp.com/vendor1~app.26ad649364c0cd2a0a46.js:14...[TRUNCATED]... {"stack":"Error: Evaluation failed: Invariant Violation: Attempt to use EmojiUtil before it's been configured\n    at e.exports (https://web.whatsapp.com/vendor1~app.26ad649364c0cd2a0a46.js:14:3641)\n    at Obje...[TRUNCATED]...","timestamp":"2023-04-11T19:27:01.989Z"}
- WAPI inject: 731ms
info: WAPI inject: 731ms  {"data":"WAPI inject: 731ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:01.990Z"}
- Checking session integrity
info: Checking session integrity  {"data":"Checking session integrity","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:01.991Z"}
- Session integrity check failed, trying again... 2
info: Session integrity check failed, trying again... 2  {"data":"Session integrity check failed, trying again... 2","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:04.992Z"}
info: WAPI CHECK: false {"timestamp":"2023-04-11T19:27:05.018Z"}
info: GET SCRIPT: wapi.js 79911 {"timestamp":"2023-04-11T19:27:05.018Z"}
- WAPI inject: 186ms
info: WAPI inject: 186ms  {"data":"WAPI inject: 186ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:05.205Z"}
- Checking session integrity
info: Checking session integrity  {"data":"Checking session integrity","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:05.206Z"}
- Session integrity check passed
info: Session integrity check passed  {"data":"Session integrity check passed","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:05.217Z"}
info: GET SCRIPT: launch.js 65074 {"timestamp":"2023-04-11T19:27:05.218Z"}
- Launch inject: 787ms
info: Launch inject: 787ms  {"data":"Launch inject: 787ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:06.005Z"}
- WAPI injected
info: WAPI injected  {"data":"WAPI injected","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:06.006Z"}
- Authenticating
info: Authenticating  {"data":"Authenticating","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:06.006Z"}
- Authenticate to continue
info: Authenticate to continue  {"data":"Authenticate to continue","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:06.190Z"}
- First QR: 14863 ms
info: First QR: 14863 ms  {"data":"First QR: 14863 ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:06.437Z"}
info: 2@qyYKGJYBCd0WFY3xR+Olf96eYnmkgYZR63bkt7PYftM0WSqlgGETEAdF6VJNKlVDlhztLoX9SiTthg==,h1DRayTUQkg6bOsGuSugpDcP4MmkVPtkLzpTwqcCOTM=,cbazDXopA2F/IlXoEdTXLUwUIlmgqyU8gwYFN9hWchc=,o6qgt3dcgWbkOlFP8aFQsgRT4h...[TRUNCATED]... {"data":"2@qyYKGJYBCd0WFY3xR+Olf96eYnmkgYZR63bkt7PYftM0WSqlgGETEAdF6VJNKlVDlhztLoX9SiTthg==,h1DRayTUQkg6bOsGuSugpDcP4MmkVPtkLzpTwqcCOTM=,cbazDXopA2F/IlXoEdTXLUwUIlmgqyU8gwYFN9hWchc=,o6qgt3dcgWbkOlFP8aFQsgRT4h...[TRUNCATED]...","eventName":"qrData.session","eventNamespace":"qrData","sessionId":"session","timestamp":"2023-04-11T19:27:06.437Z"}
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ session ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
ā”‚                                                             ā”‚
ā”‚   ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–„   ā”‚
ā”‚   ā–ˆ ā–„ā–„ā–„ā–„ā–„ ā–ˆā–€ā–„ā–€ā–ˆ  ā–€ā–„ā–ˆ ā–„ ā–€ā–€ ā–„ ā–ˆā–ˆā–€ā–„ā–„ ā–€ ā–€ā–€ā–„ ā–„ā–€ā–€ā–„ā–„ ā–€ā–ˆā–ˆ ā–„ā–„ā–„ā–„ā–„ ā–ˆ   ā”‚
ā”‚   ā–ˆ ā–ˆ   ā–ˆ ā–ˆā–€ā–€ā–„ ā–ˆ ā–ˆ ā–€ ā–€ā–ˆā–„ ā–ˆā–ˆā–ˆā–€ā–€ ā–€ā–„  ā–„ā–€ ā–€  ā–ˆā–ˆā–ˆā–ˆā–€ā–„ā–€ā–ˆ ā–ˆ   ā–ˆ ā–ˆ   ā”‚
ā”‚   ā–ˆ ā–ˆā–„ā–„ā–„ā–ˆ ā–ˆā–€ā–ˆ ā–ˆ ā–€ ā–ˆā–ˆā–„ā–€ā–„ā–€ā–ˆā–„ā–„ ā–„ā–„ā–„ ā–€ā–„ ā–„ā–„ā–€ā–€ā–€ā–„ā–ˆā–ˆā–„ā–„ ā–ˆā–ˆā–ˆ ā–ˆā–„ā–„ā–„ā–ˆ ā–ˆ   ā”‚
ā”‚   ā–ˆā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–ˆā–„ā–€ā–„ā–€ā–„ā–ˆ ā–ˆ ā–€ ā–ˆā–„ā–€ ā–ˆ ā–ˆā–„ā–ˆ ā–ˆā–„ā–ˆā–„ā–ˆ ā–€ā–„ā–ˆā–„ā–ˆ ā–ˆā–„ā–€ā–„ā–ˆā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–ˆ   ā”‚
ā”‚   ā–ˆā–„ā–„ā–„ā–„ā–„ā–ˆā–„ā–„ā–„ā–„ā–„ā–ˆā–€ā–„ā–„ā–„ā–€ā–„ ā–€ā–ˆā–€ā–€ā–€ā–„ā–„ ā–„ā–„ ā–€ā–„ā–€ā–„ā–ˆ ā–„ā–€ā–„ ā–€ā–„ ā–„ā–„ā–„ā–ˆ ā–ˆ ā–ˆā–„ā–ˆā–ˆ   ā”‚
ā”‚   ā–ˆā–ˆā–„ā–„ ā–ˆā–ˆā–„ ā–ˆā–„ā–€ā–€ā–€ā–€ ā–„ ā–€ā–„ā–„ā–„ā–„ā–ˆā–€ā–€ ā–ˆā–€ā–€ā–ˆā–€ā–ˆ   ā–ˆ ā–ˆ ā–ˆā–€ ā–ˆā–€ā–„ ā–ˆā–„ā–„ ā–„ā–ˆā–ˆā–ˆ   ā”‚
ā”‚   ā–ˆā–€ā–ˆā–ˆā–„ā–€ā–„ā–„ā–„ā–„ā–„  ā–„ ā–ˆā–„ā–ˆā–„ ā–€ā–„ā–€ā–ˆā–€ ā–„ā–€ā–ˆā–ˆ ā–€ ā–ˆā–ˆā–ˆ   ā–ˆā–ˆā–ˆ ā–€ā–€ā–ˆā–„ā–„ ā–„ā–„ ā–„ ā–ˆ   ā”‚
ā”‚   ā–ˆā–€ā–€ ā–„  ā–„ ā–„ ā–€ā–€ ā–€ā–ˆā–„ā–ˆā–€ ā–€ā–„  ā–ˆā–€ā–€ā–ˆā–ˆā–€ā–€ā–ˆā–ˆā–ˆā–„ā–„ā–€ā–€ā–ˆ ā–ˆā–€ā–€ ā–ˆā–„ā–„ā–„ā–€  ā–ˆā–€ā–ˆā–ˆ   ā”‚
ā”‚   ā–ˆā–„ā–ˆā–ˆā–„ā–„ā–„ā–„ ā–„ ā–ˆā–€ ā–€ā–ˆā–€ā–ˆā–„  ā–„ ā–€ ā–„ā–ˆā–„ā–€ā–„ā–€ ā–„ā–€ā–ˆā–„ ā–„ ā–„ ā–€ā–€ā–€ā–€ā–„ā–„ā–„ā–„ ā–ˆā–ˆā–ˆā–€ā–ˆ   ā”‚
ā”‚   ā–ˆā–„ ā–„ā–„ā–„ā–„ā–„ā–„ ā–„ā–€ā–ˆā–€ā–„ā–€ā–€ā–ˆ ā–„ā–ˆā–ˆā–€ā–ˆā–„ā–€ ā–„ā–€ā–ˆ   ā–€ ā–€    ā–„ā–ˆā–ˆā–ˆā–€ā–€ā–€ā–ˆā–ˆā–„ ā–ˆā–ˆā–ˆā–ˆ   ā”‚
ā”‚   ā–ˆ ā–„ā–ˆ ā–€ā–ˆā–„ā–ˆā–„  ā–€ā–€ ā–ˆā–€ā–„ ā–„ā–„ā–„ā–ˆā–ˆā–€ ā–ˆā–„ā–€ ā–€ ā–„ā–€ā–„ā–ˆ ā–„ā–€ā–ˆā–€ā–ˆ  ā–„ā–„ā–ˆā–ˆā–„ ā–ˆ ā–„ā–ˆā–ˆ   ā”‚
ā”‚   ā–ˆā–„ā–„ ā–ˆ ā–„ā–„ā–€ ā–ˆā–€ā–„ ā–„  ā–ˆ ā–„ ā–„ā–„ ā–„ā–€ ā–ˆā–€ā–ˆā–€ā–€ ā–ˆā–ˆā–ˆ  ā–€ā–„ā–ˆā–„ā–€ā–€ā–„ā–ˆā–€  ā–ˆ ā–„ā–€ā–ˆā–ˆ   ā”‚
ā”‚   ā–ˆā–€ā–„ā–„ā–€ ā–„ā–„ā–„ ā–ˆā–€ā–€ā–€ā–„ā–„ā–„ā–€ā–„  ā–„ā–€ā–€ā–„ ā–„ā–„ā–„ ā–€ā–€ā–„ā–€ā–ˆā–„ā–„ ā–ˆā–ˆā–€ā–€  ā–€ ā–„ā–„ā–„ ā–ˆā–ˆā–„ā–€ā–ˆ   ā”‚
ā”‚   ā–ˆā–„ā–„ā–„  ā–ˆā–„ā–ˆ  ā–„ā–€ā–ˆā–ˆā–ˆā–„   ā–ˆā–€ ā–€  ā–ˆā–„ā–ˆ ā–ˆ  ā–€ā–„ā–ˆā–€ā–„   ā–„ ā–„ā–„ ā–ˆā–„ā–ˆ  ā–„ā–€ā–ˆā–ˆ   ā”‚
ā”‚   ā–ˆā–„ā–€ā–ˆā–ˆ ā–„ā–„  ā–„ ā–€ā–ˆ ā–€ā–ˆā–ˆ  ā–€ā–„ā–€ā–€ā–„ā–„ā–„ā–„ā–„  ā–€ā–€ā–€ā–ˆā–„ ā–„ ā–ˆā–€ā–ˆā–€   ā–„ā–„ā–„ ā–€ā–ˆā–„ā–€ā–ˆ   ā”‚
ā”‚   ā–ˆā–ˆ ā–€ā–„  ā–„ ā–„ā–€ā–€ā–€ā–„ā–€ā–ˆā–€ā–„ā–€ ā–„ ā–€ā–ˆā–€ ā–€ā–„ā–„ā–„ā–€ā–€  ā–„ā–„ ā–„ā–€ā–„ā–„ā–„ā–„ā–„ā–„ā–€ā–„ā–€ā–€  ā–„ā–€ā–€ā–ˆ   ā”‚
ā”‚   ā–ˆā–€  ā–„ā–„ā–ˆā–„ā–ˆā–€ā–ˆā–€ā–ˆ ā–€ā–ˆā–€ā–ˆā–€ā–„ā–„ā–„ā–ˆā–€ā–€ā–€ ā–ˆā–ˆ ā–€ ā–ˆā–€ā–ˆā–ˆā–€  ā–„ā–ˆā–ˆ  ā–ˆā–ˆ  ā–ˆā–€ā–ˆā–ˆ ā–„ā–ˆ   ā”‚
ā”‚   ā–ˆā–ˆ ā–„ ā–€ ā–„ā–„ā–ˆā–€ā–„ ā–ˆā–„ā–ˆā–€ā–ˆā–€ā–„ā–€ā–€ā–„ā–ˆā–€ā–ˆā–„ā–€ā–„ā–ˆā–€ā–€ā–„ā–€ā–€ā–ˆā–„ā–ˆ ā–ˆā–„ā–„ā–ˆā–ˆā–ˆā–€ā–€ā–ˆ ā–„ ā–„ā–€ā–€ā–ˆ   ā”‚
ā”‚   ā–ˆā–ˆā–„ā–ˆ ā–„ā–ˆā–„ā–ˆā–„ā–ˆ ā–ˆ ā–„ā–€ā–„ā–„ ā–„ā–€ā–„ā–ˆā–€ā–ˆā–ˆ ā–ˆā–„ā–ˆ ā–€ā–„ā–ˆā–ˆā–„ā–„  ā–„ā–€ā–ˆā–€ ā–€ā–„ā–„ā–€ā–€ā–€ā–ˆā–€ā–„ā–€ā–ˆ   ā”‚
ā”‚   ā–ˆ ā–ˆā–ˆ  ā–€ā–„ā–€ ā–€ā–„ā–ˆā–€ā–„ ā–„ā–ˆ ā–€ā–„ā–ˆā–€ā–ˆā–€ā–ˆā–„ā–ˆā–„ā–ˆ ā–„ā–„ā–„ā–„ā–„ā–ˆā–€ā–„ā–„ā–ˆā–ˆā–€ā–ˆ  ā–ˆā–€ā–„ā–€ā–€ā–„ā–€ā–ˆā–ˆ   ā”‚
ā”‚   ā–ˆā–„ā–„ā–€ā–ˆā–„ā–€ā–„ā–„ā–ˆā–€ā–„ ā–ˆā–„ā–„ā–„ā–€ā–ˆ ā–€ā–„ ā–€ā–€ā–„ ā–€ā–€ ā–€ ā–„ā–ˆā–„ā–ˆā–„ ā–€ā–ˆā–ˆā–€ā–€ā–€ā–€ ā–€ā–ˆā–„ā–€ ā–€ā–ˆ ā–ˆ   ā”‚
ā”‚   ā–ˆā–„ ā–€ā–„ā–„ā–„ā–„ā–€ā–ˆā–€ā–ˆ ā–ˆā–„ā–„ā–„   ā–€ā–ˆā–„ā–„ā–ˆ ā–€ā–ˆā–ˆā–„ā–€ā–€ā–„ā–€ ā–€ ā–„ā–„ā–ˆā–ˆā–ˆā–€ā–ˆ ā–ˆā–ˆā–ˆ ā–„ ā–„ā–„ā–ˆā–ˆ   ā”‚
ā”‚   ā–ˆā–ˆā–ˆā–ˆā–„ā–ˆā–ˆā–„ā–ˆ ā–€  ā–„ā–€ ā–„ā–ˆā–„ā–„ ā–ˆā–ˆā–ˆā–„ ā–„ā–„ā–„  ā–€ā–€ā–ˆā–„ā–ˆā–€  ā–ˆā–€ā–ˆ ā–€ā–ˆ ā–„ā–„ā–„ ā–„ā–€ ā–„ā–ˆ   ā”‚
ā”‚   ā–ˆ ā–„ā–„ā–„ā–„ā–„ ā–ˆā–„ā–€ā–„ā–„ā–„ ā–€ ā–ˆā–„ā–ˆ ā–ˆā–ˆ   ā–ˆā–„ā–ˆ ā–ˆā–ˆā–„ ā–„ā–„ ā–„ā–„ ā–€ā–€ā–€ā–„ā–„ ā–ˆā–„ā–ˆ  ā–ˆā–ˆā–€ā–ˆ   ā”‚
ā”‚   ā–ˆ ā–ˆ   ā–ˆ ā–ˆ ā–ˆ  ā–„ā–€ ā–€ā–ˆā–„ā–€ā–€ā–ˆā–€ā–€ā–€ā–„ ā–„  ā–€  ā–ˆā–ˆā–ˆā–„ā–„ ā–ˆā–ˆā–€  ā–ˆ   ā–„ ā–€ā–ˆā–„ā–„ā–ˆ   ā”‚
ā”‚   ā–ˆ ā–ˆā–„ā–„ā–„ā–ˆ ā–ˆ ā–„ ā–„  ā–„ā–€ā–ˆ ā–„ā–„ ā–€ā–ˆā–ˆā–„ ā–„  ā–„ā–€ā–€ā–€ ā–ˆ  ā–ˆ   ā–€ā–€ā–„ā–ˆā–„ā–ˆā–„ā–„ā–€ā–ˆā–€ā–„ā–ˆ   ā”‚
ā”‚   ā–ˆā–„ā–„ā–„ā–„ā–„ā–„ā–„ā–ˆā–„ā–ˆā–„ā–ˆā–„ā–„ā–ˆā–ˆā–„ā–„ā–„ā–„ā–ˆā–ˆā–ˆā–„ā–„ā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–ˆā–„ā–„ā–„ā–„ā–ˆā–ˆā–ˆā–„ā–„ā–ˆā–„ā–ˆā–ˆā–ˆā–„ā–ˆā–ˆā–ˆā–ˆā–ˆ   ā”‚
ā”‚                                                             ā”‚
ā”‚                                                             ā”‚
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
info: Waiting for internal QR renderer to load {"timestamp":"2023-04-11T19:27:06.610Z"}
info: Internal QR renderer loaded in 8 ms {"timestamp":"2023-04-11T19:27:06.619Z"}
info: AUTH.session  {"data":true,"eventName":"AUTH.session","eventNamespace":"AUTH","sessionId":"session","timestamp":"2023-04-11T19:27:22.560Z"}
info: AUTH.session  {"data":true,"eventName":"AUTH.session","eventNamespace":"AUTH","sessionId":"session","timestamp":"2023-04-11T19:27:22.563Z"}
info: AUTH.session  {"data":true,"eventName":"AUTH.session","eventNamespace":"AUTH","sessionId":"session","timestamp":"2023-04-11T19:27:22.567Z"}
info: AUTH.session  {"data":true,"eventName":"AUTH.session","eventNamespace":"AUTH","sessionId":"session","timestamp":"2023-04-11T19:27:22.570Z"}
- QR code scanned. Loading session...
info: QR code scanned. Loading session...  {"data":"QR code scanned. Loading session...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:46.973Z"}
info: FRAME NAV, https://web.whatsapp.com/, webpackChunkwhatsapp_web_client {"timestamp":"2023-04-11T19:27:48.950Z"}
- Injecting scripts
info: Injecting scripts  {"data":"Injecting scripts","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:48.951Z"}
info: GET SCRIPT: jsSha.min.js 8982 {"timestamp":"2023-04-11T19:27:49.669Z"}
info: GET SCRIPT: qr.min.js 18603 {"timestamp":"2023-04-11T19:27:49.669Z"}
info: GET SCRIPT: base64.js 4173 {"timestamp":"2023-04-11T19:27:49.669Z"}
info: GET SCRIPT: hash.js 34983 {"timestamp":"2023-04-11T19:27:49.670Z"}
info: successfulScan  {"data":"successfulScan","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:49.700Z"}
- Injecting scripts
info: SUCCESS  {"data":"SUCCESS","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:49.700Z"}
- Base inject: 202ms
info: Base inject: 202ms  {"data":"Base inject: 202ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:49.871Z"}
info: Injected internal event handler: 442 ms {"timestamp":"2023-04-11T19:27:50.316Z"}
- Reinjecting api
info: Reinjecting api  {"data":"Reinjecting api","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:50.317Z"}
- Injecting scripts
info: Injecting scripts  {"data":"Injecting scripts","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:50.318Z"}
info: GET SCRIPT: jsSha.min.js 8982 {"timestamp":"2023-04-11T19:27:50.372Z"}
info: GET SCRIPT: qr.min.js 18603 {"timestamp":"2023-04-11T19:27:50.376Z"}
info: GET SCRIPT: base64.js 4173 {"timestamp":"2023-04-11T19:27:50.376Z"}
info: GET SCRIPT: hash.js 34983 {"timestamp":"2023-04-11T19:27:50.378Z"}
info: GET SCRIPT: launch.js 65074 {"timestamp":"2023-04-11T19:27:50.840Z"}
- Base inject: 478ms
info: Base inject: 478ms  {"data":"Base inject: 478ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:50.851Z"}
- Launch inject: 642ms
info: Launch inject: 642ms  {"data":"Launch inject: 642ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:51.482Z"}
info: GET SCRIPT: launch.js 65074 {"timestamp":"2023-04-11T19:27:51.632Z"}
- Launch inject: 917ms
info: Launch inject: 917ms  {"data":"Launch inject: 917ms","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:52.549Z"}
- WAPI Reinjected
info: WAPI Reinjected  {"data":"WAPI Reinjected","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:52.550Z"}
- Checking if session is valid
info: Checking if session is valid  {"data":"Checking if session is valid","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:52.551Z"}
- Downloading patches from https://cdn.openwa.dev/patches.json
info: Downloading patches from https://cdn.openwa.dev/patches.json  {"data":"Downloading patches from https://cdn.openwa.dev/patches.json","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:52.735Z"}
- Client is ready
info: Client is ready  {"data":"Client is ready","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:52.923Z"}
- Downloaded patches in 0.415s
info: Downloaded patches in 0.415s  {"data":"Downloaded patches in 0.415s","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:53.157Z"}
info: Multi-device detected. Removing Browser ID from session data to prevent session reauth corruption {"timestamp":"2023-04-11T19:27:53.325Z"}
- Installing patches
info: Installing patches  {"data":"Installing patches","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:53.529Z"}
- Patches Installed: dba0f
info: Patches Installed: dba0f  {"data":"Patches Installed: dba0f","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:54.342Z"}
info: DebugInfo.session  {"data":{"BROWSER_VERSION":"HeadlessChrome/112.0.5614.0","CLI":true,"LATEST_VERSION":true,"LAUNCH_TIME_MS":65676,"NUM":"5933","NUM_HASH":"d44bc963a3a251a7d0cb7492e10fff1f","OS":"Linux 5.15","OW_KEY":"a95190d77e0d9c5d4507dfd10af8c045f87a8b256c4f1f7c0ae244a4e68fcd7b","PAGE_UA":"WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36","PATCH_HASH":"dba0f","PPTR_VERSION":"19.8.5","RAM_INFO":"Total: 7.76 GB | Free: 4.08 GB","START_TS":1681241214828,"WA_AUTOMATE_VERSION":"4.64.1","WA_VERSION":"2.2315.6"},"eventName":"DebugInfo.session","eventNamespace":"DebugInfo","sessionId":"session","timestamp":"2023-04-11T19:27:56.305Z"}
- Client loaded for normal account [MD] with 1123 contacts, 500 chats & 821 messages in 65.676s
info: Client loaded for normal account [MD] with 1123 contacts, 500 chats & 821 messages in 65.676s  {"data":"Client loaded for normal account [MD] with 1123 contacts, 500 chats & 821 messages in 65.676s","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:56.586Z"}
- Finalizing web session...
info: Finalizing web session...  {"data":"Finalizing web session...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:58.285Z"}
ConsoleMessage {}
info: Page Console: DEBUG: 3 JSHandle@object {"timestamp":"2023-04-11T19:27:58.968Z"}
- Finalizing client...
info: Finalizing client...  {"data":"Finalizing client...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:27:58.976Z"}
info: Waiting for internal session to finish syncing {"timestamp":"2023-04-11T19:27:58.977Z"}
ConsoleMessage {}
info: Page Console: checks [true,true] {"timestamp":"2023-04-11T19:27:59.083Z"}
info: Internal session finished syncing in 132ms {"timestamp":"2023-04-11T19:27:59.110Z"}
info: IN c39e9  {"_args":{"checkFuncName":"onMessage"},"_method":[],"timestamp":"2023-04-11T19:27:59.116Z"}
info: IN be200  {"_args":{"checkFuncName":"onAnyMessage"},"_method":[],"timestamp":"2023-04-11T19:27:59.117Z"}
info: IN e81b5  {"_args":{"checkFuncName":"onMessageDeleted"},"_method":[],"timestamp":"2023-04-11T19:27:59.119Z"}
info: IN 51546  {"_args":{"checkFuncName":"onAck"},"_method":[],"timestamp":"2023-04-11T19:27:59.120Z"}
info: IN 857c0  {"_args":{"checkFuncName":"onAddedToGroup"},"_method":[],"timestamp":"2023-04-11T19:27:59.123Z"}
info: IN b289d  {"_args":{"checkFuncName":"onChatDeleted"},"_method":[],"timestamp":"2023-04-11T19:27:59.124Z"}
info: IN 1f038  {"_args":{"checkFuncName":"onBattery"},"_method":[],"timestamp":"2023-04-11T19:27:59.125Z"}
info: IN abe80  {"_args":{"checkFuncName":"onChatOpened"},"_method":[],"timestamp":"2023-04-11T19:27:59.126Z"}
info: IN f731b  {"_args":{"checkFuncName":"onIncomingCall"},"_method":[],"timestamp":"2023-04-11T19:27:59.128Z"}
info: IN 55b52  {"_args":{"checkFuncName":"onCallState"},"_method":[],"timestamp":"2023-04-11T19:27:59.129Z"}
info: IN 506b7  {"_args":{"checkFuncName":"onGlobalParticipantsChanged"},"_method":[],"timestamp":"2023-04-11T19:27:59.131Z"}
info: IN df4f8  {"_args":{"checkFuncName":"onGroupApprovalRequest"},"_method":[],"timestamp":"2023-04-11T19:27:59.146Z"}
info: IN dd907  {"_args":{"checkFuncName":"onChatState"},"_method":[],"timestamp":"2023-04-11T19:27:59.147Z"}
info: setting page listener: framenavigated  {"0":"framenavigated","timestamp":"2023-04-11T19:27:59.150Z"}
info: IN 3d761  {"_args":{"checkFuncName":"onPlugged"},"_method":[],"timestamp":"2023-04-11T19:27:59.151Z"}
info: IN f09e2  {"_args":{"checkFuncName":"onStateChanged"},"_method":[],"timestamp":"2023-04-11T19:27:59.153Z"}
info: IN 926cd  {"_args":{"checkFuncName":"onButton"},"_method":[],"timestamp":"2023-04-11T19:27:59.155Z"}
info: IN facbb  {"_args":{"checkFuncName":"onPollVote"},"_method":[],"timestamp":"2023-04-11T19:27:59.158Z"}
info: IN 33b68  {"_args":{"checkFuncName":"onBroadcast"},"_method":[],"timestamp":"2023-04-11T19:27:59.163Z"}
info: IN a61b2  {"_args":{"checkFuncName":"onLabel"},"_method":[],"timestamp":"2023-04-11T19:27:59.164Z"}
info: IN e76d1  {"_args":{"checkFuncName":"onStory"},"_method":[],"timestamp":"2023-04-11T19:27:59.165Z"}
info: IN 48507  {"_args":{"checkFuncName":"onRemovedFromGroup"},"_method":[],"timestamp":"2023-04-11T19:27:59.166Z"}
info: IN 4d9ce  {"_args":{"checkFuncName":"onOrder"},"_method":[],"timestamp":"2023-04-11T19:27:59.168Z"}
info: IN 1cfa8  {"_args":{"checkFuncName":"onNewProduct"},"_method":[],"timestamp":"2023-04-11T19:27:59.169Z"}
info: IN 3544d  {"_args":{"checkFuncName":"onReaction"},"_method":[],"timestamp":"2023-04-11T19:27:59.182Z"}
info: IN 8a1d6  {"_args":{"checkFuncName":"onGroupChange"},"_method":[],"timestamp":"2023-04-11T19:27:59.183Z"}
info: OUT c39e9: 304ms  {"res":false,"timestamp":"2023-04-11T19:27:59.420Z"}
info: OUT be200: 305ms  {"res":false,"timestamp":"2023-04-11T19:27:59.422Z"}
info: OUT e81b5: 304ms  {"res":false,"timestamp":"2023-04-11T19:27:59.422Z"}
info: OUT 51546: 306ms  {"res":false,"timestamp":"2023-04-11T19:27:59.426Z"}
info: OUT 857c0: 306ms  {"res":false,"timestamp":"2023-04-11T19:27:59.429Z"}
info: OUT b289d: 305ms  {"res":false,"timestamp":"2023-04-11T19:27:59.429Z"}
info: OUT 1f038: 306ms  {"res":false,"timestamp":"2023-04-11T19:27:59.430Z"}
info: OUT abe80: 304ms  {"res":false,"timestamp":"2023-04-11T19:27:59.430Z"}
info: OUT f731b: 303ms  {"res":false,"timestamp":"2023-04-11T19:27:59.431Z"}
info: OUT 55b52: 302ms  {"res":false,"timestamp":"2023-04-11T19:27:59.431Z"}
info: OUT 506b7: 302ms  {"res":false,"timestamp":"2023-04-11T19:27:59.432Z"}
info: OUT df4f8: 286ms  {"res":false,"timestamp":"2023-04-11T19:27:59.432Z"}
info: OUT dd907: 286ms  {"res":false,"timestamp":"2023-04-11T19:27:59.433Z"}
info: OUT 3d761: 292ms  {"res":false,"timestamp":"2023-04-11T19:27:59.443Z"}
info: OUT f09e2: 291ms  {"res":false,"timestamp":"2023-04-11T19:27:59.444Z"}
info: OUT 926cd: 289ms  {"res":false,"timestamp":"2023-04-11T19:27:59.444Z"}
info: OUT facbb: 287ms  {"res":false,"timestamp":"2023-04-11T19:27:59.445Z"}
info: OUT 33b68: 282ms  {"res":false,"timestamp":"2023-04-11T19:27:59.445Z"}
info: OUT a61b2: 284ms  {"res":false,"timestamp":"2023-04-11T19:27:59.448Z"}
info: OUT e76d1: 283ms  {"res":false,"timestamp":"2023-04-11T19:27:59.448Z"}
info: OUT 48507: 283ms  {"res":false,"timestamp":"2023-04-11T19:27:59.449Z"}
info: OUT 4d9ce: 281ms  {"res":false,"timestamp":"2023-04-11T19:27:59.449Z"}
info: OUT 1cfa8: 280ms  {"res":false,"timestamp":"2023-04-11T19:27:59.449Z"}
info: OUT 3544d: 278ms  {"res":false,"timestamp":"2023-04-11T19:27:59.460Z"}
info: OUT 8a1d6: 278ms  {"res":false,"timestamp":"2023-04-11T19:27:59.461Z"}
info: IN e69a4  {"_args":{"funcName":"onMessage"},"_method":[],"timestamp":"2023-04-11T19:27:59.866Z"}
info: IN f75a2  {"_args":{"funcName":"onAnyMessage"},"_method":[],"timestamp":"2023-04-11T19:27:59.870Z"}
info: IN e27a0  {"_args":{"funcName":"onMessageDeleted"},"_method":[],"timestamp":"2023-04-11T19:27:59.873Z"}
info: IN c472e  {"_args":{"funcName":"onAck"},"_method":[],"timestamp":"2023-04-11T19:27:59.882Z"}
info: IN d2db8  {"_args":{"funcName":"onAddedToGroup"},"_method":[],"timestamp":"2023-04-11T19:27:59.883Z"}
info: IN 23f37  {"_args":{"funcName":"onChatDeleted"},"_method":[],"timestamp":"2023-04-11T19:27:59.888Z"}
info: IN 281e7  {"_args":{"funcName":"onBattery"},"_method":[],"timestamp":"2023-04-11T19:27:59.888Z"}
info: IN bf753  {"_args":{"funcName":"onChatOpened"},"_method":[],"timestamp":"2023-04-11T19:27:59.891Z"}
info: IN 407c7  {"_args":{"funcName":"onIncomingCall"},"_method":[],"timestamp":"2023-04-11T19:27:59.893Z"}
info: IN 0676b  {"_args":{"funcName":"onCallState"},"_method":[],"timestamp":"2023-04-11T19:27:59.894Z"}
info: IN de854  {"_args":{"funcName":"onGlobalParticipantsChanged"},"_method":[],"timestamp":"2023-04-11T19:27:59.911Z"}
info: IN 5d774  {"_args":{"funcName":"onGroupApprovalRequest"},"_method":[],"timestamp":"2023-04-11T19:27:59.914Z"}
info: IN 6a560  {"_args":{"funcName":"onChatState"},"_method":[],"timestamp":"2023-04-11T19:27:59.917Z"}
info: IN b0f09  {"_args":{"funcName":"onPlugged"},"_method":[],"timestamp":"2023-04-11T19:27:59.919Z"}
info: IN a496b  {"_args":{"funcName":"onStateChanged"},"_method":[],"timestamp":"2023-04-11T19:27:59.942Z"}
info: IN bc5f9  {"_args":{"funcName":"onButton"},"_method":[],"timestamp":"2023-04-11T19:27:59.950Z"}
info: OUT e69a4: 88ms  {"res":true,"timestamp":"2023-04-11T19:27:59.964Z"}
info: OUT f75a2: 95ms  {"res":true,"timestamp":"2023-04-11T19:27:59.965Z"}
info: OUT e27a0: 94ms  {"res":true,"timestamp":"2023-04-11T19:27:59.966Z"}
info: OUT c472e: 84ms  {"res":true,"timestamp":"2023-04-11T19:27:59.967Z"}
info: IN 91e6f  {"_args":{"funcName":"onPollVote"},"_method":[],"timestamp":"2023-04-11T19:27:59.968Z"}
info: IN 2e759  {"_args":{"funcName":"onBroadcast"},"_method":[],"timestamp":"2023-04-11T19:27:59.968Z"}
info: IN 2d1d1  {"_args":{"funcName":"onLabel"},"_method":[],"timestamp":"2023-04-11T19:27:59.969Z"}
info: IN 2f161  {"_args":{"funcName":"onStory"},"_method":[],"timestamp":"2023-04-11T19:27:59.973Z"}
info: IN b5001  {"_args":{"funcName":"onRemovedFromGroup"},"_method":[],"timestamp":"2023-04-11T19:27:59.974Z"}
info: IN 754bc  {"_args":{"funcName":"onOrder"},"_method":[],"timestamp":"2023-04-11T19:27:59.975Z"}
info: IN d2931  {"_args":{"funcName":"onNewProduct"},"_method":[],"timestamp":"2023-04-11T19:27:59.979Z"}
info: IN 98c84  {"_args":{"funcName":"onReaction"},"_method":[],"timestamp":"2023-04-11T19:27:59.979Z"}
info: IN bc5ef  {"_args":{"funcName":"onGroupChange"},"_method":[],"timestamp":"2023-04-11T19:27:59.980Z"}
info: OUT d2db8: 103ms  {"res":true,"timestamp":"2023-04-11T19:27:59.986Z"}
info: OUT 23f37: 102ms  {"res":true,"timestamp":"2023-04-11T19:27:59.986Z"}
info: OUT 281e7: 163ms  {"res":true,"timestamp":"2023-04-11T19:28:00.051Z"}
info: OUT bf753: 161ms  {"res":false,"timestamp":"2023-04-11T19:28:00.052Z"}
info: OUT 407c7: 160ms  {"res":true,"timestamp":"2023-04-11T19:28:00.053Z"}
info: OUT 0676b: 159ms  {"res":true,"timestamp":"2023-04-11T19:28:00.053Z"}
ConsoleMessage {}
info: Page Console: log_socket_summary  {"timestamp":"2023-04-11T19:28:55.984Z"}
info: OUT 5d774: 56080ms  {"res":true,"timestamp":"2023-04-11T19:28:55.995Z"}
info: OUT 6a560: 56087ms  {"res":false,"timestamp":"2023-04-11T19:28:56.004Z"}
info: OUT b0f09: 56086ms  {"res":true,"timestamp":"2023-04-11T19:28:56.006Z"}
info: OUT a496b: 56065ms  {"res":true,"timestamp":"2023-04-11T19:28:56.007Z"}
info: OUT bc5f9: 56058ms  {"res":true,"timestamp":"2023-04-11T19:28:56.008Z"}
info: OUT 91e6f: 56087ms  {"res":true,"timestamp":"2023-04-11T19:28:56.054Z"}
info: OUT 2e759: 56088ms  {"res":true,"timestamp":"2023-04-11T19:28:56.056Z"}
info: OUT 2d1d1: 56088ms  {"res":true,"timestamp":"2023-04-11T19:28:56.057Z"}
info: OUT 2f161: 56086ms  {"res":false,"timestamp":"2023-04-11T19:28:56.059Z"}
info: OUT b5001: 56085ms  {"res":false,"timestamp":"2023-04-11T19:28:56.060Z"}
info: OUT 754bc: 56288ms  {"res":"ERROR: This feature requires an Insiders license. Use this link to get the correct license => https://get.openwa.dev/l/xxxxxxxx?v=i&f=onOrder","timestamp":"2023-04-11T19:28:56.262Z"}
info: OUT d2931: 56489ms  {"res":"ERROR: This feature requires an Insiders license. Use this link to get the correct license => https://get.openwa.dev/l/xxxxxxxx?v=i&f=onNewProduct","timestamp":"2023-04-11T19:28:56.468Z"}
info: OUT 98c84: 56687ms  {"res":"ERROR: This feature requires an Insiders license. Use this link to get the correct license => https://get.openwa.dev/l/xxxxxxxx?v=i&f=onReaction","timestamp":"2023-04-11T19:28:56.666Z"}
info: OUT bc5ef: 56881ms  {"res":"ERROR: This feature requires an Insiders license. Use this link to get the correct license => https://get.openwa.dev/l/xxxxxxxx?v=i&f=onGroupChange","timestamp":"2023-04-11T19:28:56.861Z"}
ConsoleMessage {}
info: Page Console: socket_stream_disconnected  {"timestamp":"2023-04-11T19:28:57.994Z"}
ConsoleMessage {}
info: Page Console: set_socket_state OPENING {"timestamp":"2023-04-11T19:28:58.041Z"}
ConsoleMessage {}
info: Page Console: Failed to load resource: net::ERR_FAILED {"timestamp":"2023-04-11T19:28:58.172Z"}
ConsoleMessage {}
info: Page Console: main_stream_mode_ready_legacy  {"timestamp":"2023-04-11T19:28:58.175Z"}
ConsoleMessage {}
info: Page Console: set_socket_state PAIRING {"timestamp":"2023-04-11T19:29:01.924Z"}
ConsoleMessage {}
info: Page Console: set_socket_state CONNECTED {"timestamp":"2023-04-11T19:29:01.929Z"}
ConsoleMessage {}
info: Page Console: open_socket_stream  {"timestamp":"2023-04-11T19:29:01.939Z"}
ConsoleMessage {}
info: Page Console: main_stream_mode_ready_legacy  {"timestamp":"2023-04-11T19:29:02.143Z"}
ConsoleMessage {}
info: Page Console: account_temporarily_banned JSHandle@object {"timestamp":"2023-04-11T19:29:03.403Z"}
info: OUT de854: 66281ms  {"res":true,"timestamp":"2023-04-11T19:29:06.192Z"}
info: LOADED  {"timestamp":"2023-04-11T19:29:07.881Z"}
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
ā”‚                                                       ā”‚
ā”‚   Use the link below to easily report issues:šŸ‘‡šŸ‘‡šŸ‘‡   ā”‚
ā”‚                                                       ā”‚
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜
- https://github.com/open-wa/wa-automate-nodejs/issues/new?template=bug_report.yaml&d_info=%7B%0A%20%20%22WA_VERSION%22:%20%222.2315.6%22,%0A%20%20%22WA_AUTOMATE_VERSION%22:%20%224.64.1%22,%0A%20%20%22BROWSER_VERSION%22:%20%22HeadlessChrome/112.0.5614.0%22,%0A%20%20%22START_TS%22:%201681241214828,%0A%20%20%22RAM_INFO%22:%20%22Total:%207.76%20GB%20%7C%20Free:%204.08%20GB%22,%0A%20%20%22PPTR_VERSION%22:%20%2219.8.5%22,%0A%20%20%22LATEST_VERSION%22:%20true,%0A%20%20%22CLI%22:%20true,%0A%20%20%22PATCH_HASH%22:%20%22dba0f%22,%0A%20%20%22LAUNCH_TIME_MS%22:%2065676,%0A%20%20%22ACC_TYPE%22:%20%22PERSONAL%22,%0A%20%20%22chats%22:%20500,%0A%20%20%22messages%22:%20821,%0A%20%20%22contacts%22:%201123,%0A%20%20%22isMd%22:%20true,%0A%20%20%22INSTANCE_ID%22:%20%22c1c875c6-f6c4-47b3-ad4a-27e14f8c16ef%22%0A%7D&enviro=-%20OS:%20Linux%205.15%0A-%20Node:%2019.8.1%0A-%20npm:%209.5.1&labels=CLI,MD,PHA
info: https://github.com/open-wa/wa-automate-nodejs/issues/new?template=bug_report.yaml&d_info=%7B%0A%20%20%22WA_VERSION%22:%20%222.2315.6%22,%0A%20%20%22WA_AUTOMATE_VERSION%22:%20%224.64.1%22,%0A%20%20%22...[TRUNCATED]... {"data":"https://github.com/open-wa/wa-automate-nodejs/issues/new?template=bug_report.yaml&d_info=%7B%0A%20%20%22WA_VERSION%22:%20%222.2315.6%22,%0A%20%20%22WA_AUTOMATE_VERSION%22:%20%224.64.1%22,%0A%20%20%22...[TRUNCATED]...","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.244Z"}
- šŸš€ @OPEN-WA ready for account: 5933
info: šŸš€ @OPEN-WA ready for account: 5933  {"data":"šŸš€ @OPEN-WA ready for account: 5933","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.247Z"}
info: SUCCESS  {"data":"SUCCESS","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.247Z"}
- session_STARTUP
info:   {"data":"","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.257Z"}
- Setting Up API Explorer
info: Setting Up API Explorer  {"data":"Setting Up API Explorer","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.258Z"}
- API Explorer set up successfully
info: API Explorer set up successfully  {"data":"API Explorer set up successfully","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.307Z"}
- ...waiting for port 8002 to be free
info: ...waiting for port 8002 to be free  {"data":"...waiting for port 8002 to be free","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.312Z"}
- Port 8002 is now free.
info: Port 8002 is now free.  {"data":"Port 8002 is now free.","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.325Z"}
- 
    API Explorer
info: 
    API Explorer  {"data":"\n\t\u001b]8;;http://localhost:8002/api-docs/ \u0007API Explorer\u001b]8;;\u0007","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.348Z"}
info: IN c1340  {"_args":{},"_method":"getHostNumber","timestamp":"2023-04-11T19:29:09.350Z"}
- 
ā€¢ Listening on port 8002!
info: 
ā€¢ Listening on port 8002!  {"data":"\nā€¢ Listening on port 8002!","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:09.353Z"}
info: OUT c1340: 1901ms  {"res":"xxxxxxxx","timestamp":"2023-04-11T19:29:11.251Z"}
- Use this link to get a license: https://get.openwa.dev/l/xxxxxxxx
info: Use this link to get a license: https://get.openwa.dev/l/xxxxxxxx{"data":"Use this link to get a license: https://get.openwa.dev/l/xxxxxxxx","eventName":"STARTUP.session","eventNamespace":"STARTUP","sessionId":"session","timestamp":"2023-04-11T19:29:11.252Z"}
ConsoleMessage {}
info: Page Console: ui_idle  {"timestamp":"2023-04-11T19:29:30.623Z"}
ConsoleMessage {}
info: Page Console: ui_idle  {"timestamp":"2023-04-11T19:29:31.516Z"}
ConsoleMessage {}
info: Page Console: alert_new_msg JSHandle@object {"timestamp":"2023-04-11T19:29:35.370Z"}
ConsoleMessage {}
info: Page Console: alert_new_msg JSHandle@object {"timestamp":"2023-04-11T19:29:36.938Z"}
ConsoleMessage {}
info: Page Console: ui_idle  {"timestamp":"2023-04-11T19:29:38.030Z"}
ConsoleMessage {}
info: Page Console: offline_process_ready  {"timestamp":"2023-04-11T19:29:42.128Z"}
ConsoleMessage {}
info: Page Console: alert_new_msg JSHandle@object {"timestamp":"2023-04-11T19:29:46.668Z"}
ConsoleMessage {}
info: Page Console: app_state_sync_completed JSHandle@array {"timestamp":"2023-04-11T19:29:46.880Z"}
ConsoleMessage {}
info: Page Console: ui_idle  {"timestamp":"2023-04-11T19:29:47.585Z"}
ConsoleMessage {}
info: Page Console: alert_new_msg JSHandle@object {"timestamp":"2023-04-11T19:29:49.625Z"}
ConsoleMessage {}
info: Page Console: ui_idle  {"timestamp":"2023-04-11T19:29:53.517Z"}
ConsoleMessage {}
info: Page Console: app_state_sync_completed JSHandle@array {"timestamp":"2023-04-11T19:30:02.907Z"}
ConsoleMessage {}
info: Page Console: app_state_sync_completed JSHandle@array {"timestamp":"2023-04-11T19:30:06.739Z"}
ConsoleMessage {}
info: Page Console: new_history_sync_chunk_processed JSHandle@set {"timestamp":"2023-04-11T19:30:29.799Z"}
ConsoleMessage {}
info: Page Console: app_state_sync_completed JSHandle@array {"timestamp":"2023-04-11T19:30:31.461Z"}
ConsoleMessage {}
info: Page Console: app_state_sync_completed JSHandle@array {"timestamp":"2023-04-11T19:30:32.203Z"}
ConsoleMessage {}
info: Page Console: alert_new_msg JSHandle@object {"timestamp":"2023-04-11T19:30:45.517Z"}
ConsoleMessage {}
info: Page Console: ui_idle  {"timestamp":"2023-04-11T19:30:46.190Z"}
ConsoleMessage {}
info: Page Console: alert_new_msg JSHandle@object {"timestamp":"2023-04-11T19:30:58.837Z"}
ConsoleMessage {}
info: Page Console: ui_idle  {"timestamp":"2023-04-11T19:31:24.163Z"}
ConsoleMessage {}
info: Page Console: new_history_sync_chunk_processed JSHandle@set {"timestamp":"2023-04-11T19:31:39.343Z"}
demartinoalexis commented 1 year ago
  try {
          await client.getAllContacts().then(async contactos => {
            await client.sendText(yo.me._serialized, 'Se cargaron los contactos');
          });
  } catch (error) {
    console.log("error en contactos",error);
  }

error:

error en contactos Error: Evaluation failed: Error: update chat table failed
    at https://web.whatsapp.com/app.598a85f21f1302dc2af5.js:47:257718
    at Generator.throw (<anonymous>)
    at t (https://web.whatsapp.com/vendor1~app.93f2846fd0de96e2ec08.js:2:66483)
    at u (https://web.whatsapp.com/vendor1~app.93f2846fd0de96e2ec08.js:2:66730)
    at W (https://web.whatsapp.com/app.598a85f21f1302dc2af5.js:5:142038)
    at MutationObserver.B (https://web.whatsapp.com/app.598a85f21f1302dc2af5.js:5:138615)
    at ExecutionContext._ExecutionContext_evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:252:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ExecutionContext.evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:140:16)

also: mesId = await client.sendText(mensajes[m].cel, mensajes[m].mensaje); error:

/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:252
        throw new Error('Evaluation failed: ' + (0, util_js_1.getExceptionMessage)(exceptionDetails));
              ^

Error: Evaluation failed: Error: update chat table failed
    at https://web.whatsapp.com/app.598a85f21f1302dc2af5.js:47:257718
    at Generator.throw (<anonymous>)
    at t (https://web.whatsapp.com/vendor1~app.93f2846fd0de96e2ec08.js:2:66483)
    at u (https://web.whatsapp.com/vendor1~app.93f2846fd0de96e2ec08.js:2:66730)
    at W (https://web.whatsapp.com/app.598a85f21f1302dc2af5.js:5:142038)
    at MutationObserver.B (https://web.whatsapp.com/app.598a85f21f1302dc2af5.js:5:138615)
    at ExecutionContext._ExecutionContext_evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:252:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ExecutionContext.evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:140:16)
demartinoalexis commented 1 year ago

also, the sendText and the getAllContacts are executing between:

- šŸš€ @OPEN-WA ready for account: 5933
- Use this link to get a license: https://get.openwa.dev/l/xxxxxx

and

- produ71628_STARTUP
- Injecting scripts
- Base inject: 74ms
- Launch inject: 237ms

this is a normal behavior?

smashah commented 1 year ago

@demartinoalexis so this error is not happening when using the cli?

smashah commented 1 year ago

Add this to your config then check the logs

  "debug": true,
  "disableSpins":true,
  "logging": [{
    "type": "console"
  }],
 "logInternalEvents": true, //ONLY TURN THIS ON IF ASKED TO!
 "logConsoleErrors": true
demartinoalexis commented 1 year ago
info: 0%:    WhatsApp  {"data":"0%:\t WhatsApp","eventName":"STARTUP.produ71628","eventNamespace":"STARTUP","sessionId":"produ71628","timestamp":"2023-04-12T17:15:29.539Z"}
info: internal_launch_progress.produ71628  {"data":{"text":"WhatsApp","value":0},"eventName":"internal_launch_progress.produ71628","eventNamespace":"internal_launch_progress","sessionId":"produ71628","timestamp":"2023-04-12T17:15:29.540Z"}
- Authenticated
info: Authenticated  {"data":"Authenticated","eventName":"STARTUP.produ71628","eventNamespace":"STARTUP","sessionId":"produ71628","timestamp":"2023-04-12T17:15:29.638Z"}
info: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'call')
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 760157 (https://web.whatsapp.com/la...[TRUNCATED]... {"data":"Evaluation failed: TypeError: Cannot read properties of undefined (reading 'call')\n    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)\n    at 760157 (https://web.whatsapp.com/la...[TRUNCATED]...","eventName":"STARTUP.produ71628","eventNamespace":"STARTUP","sessionId":"produ71628","timestamp":"2023-04-12T17:15:30.160Z"}
error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'call')
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 760157 (https://web.whatsapp.com/la...[TRUNCATED]... {"timestamp":"2023-04-12T17:15:30.160Z"}
error: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'call')
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 760157 (https://web.whatsapp...[TRUNCATED]... {"timestamp":"2023-04-12T17:15:30.161Z"}
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'call')
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 760157 (https://web.whatsapp.com/lazy_loaded_high_priority_components~lazy_loaded_low_priority_components.a87d7f2e7da85e91eeb2.js:2:134342)
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 557575 (https://web.whatsapp.com/lazy_loaded_high_priority_components~lazy_loaded_low_priority_components.a87d7f2e7da85e91eeb2.js:2:66857)
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 614058 (https://web.whatsapp.com/lazy_loaded_high_priority_components~lazy_loaded_low_priority_components.a87d7f2e7da85e91eeb2.js:2:37138)
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 339257 (https://web.whatsapp.com/lazy_loaded_high_priority_components.62acec5d25344c81b11e.js:2:131466)
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at Object.csWLz (pptr://__puppeteer_evaluation_script__:1:4994)
    at ExecutionContext._ExecutionContext_evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:226:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ExecutionContext.evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:140:16)
Error while terminating browser PID. You can just ignore this, as the process has most likely been terminated successfully already: kill ESRCH
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'call')
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 760157 (https://web.whatsapp.com/lazy_loaded_high_priority_components~lazy_loaded_low_priority_components.a87d7f2e7da85e91eeb2.js:2:134342)
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 557575 (https://web.whatsapp.com/lazy_loaded_high_priority_components~lazy_loaded_low_priority_components.a87d7f2e7da85e91eeb2.js:2:66857)
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 614058 (https://web.whatsapp.com/lazy_loaded_high_priority_components~lazy_loaded_low_priority_components.a87d7f2e7da85e91eeb2.js:2:37138)
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at 339257 (https://web.whatsapp.com/lazy_loaded_high_priority_components.62acec5d25344c81b11e.js:2:131466)
    at n (https://web.whatsapp.com/runtime.cf270f127af0b89e43bd.js:1:215)
    at Object.csWLz (pptr://__puppeteer_evaluation_script__:1:4994)
    at ExecutionContext._ExecutionContext_evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:226:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ExecutionContext.evaluate (/home/ipas/interfaces/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:140:16)

Node.js v18.15.0

The last logs with version 4.64.2

config:

create({
    sessionId: sessionName,
    authTimeout: 60, 
    restartOnCrash: start,
    blockCrashLogs: true,
    disableSpins: true,
    headless: true,
    useChrome: true,
    hostNotificationLang: 'ES_AR',
    //hostNotificationLang: 'EN_US',
    //logConsole: true,
    sessionDataPath: 'open-wa/sessiones',
    popup: false,
    qrTimeout: 0, //0 means it will wait forever for you to scan the qr code
    killProcessOnBrowserClose: true,
    skipUpdateCheck: false,
    useStealth: true,
    //throwErrorOnTosBlock:true,
    multiDevice: true,
    //deleteSessionDataOnLogout: true,
    //qrLogSkip: true,
    //skipSessionSave: true,

    debug: true,
    logging: [{
      type: "console"
    }],
    logInternalEvents: true, //ONLY TURN THIS ON IF ASKED TO!
    logConsoleErrors: true

  }).then(client => start(client));
smashah commented 1 year ago

@demartinoalexis please join the discord (click the discord badge in the readme) I need to see what is going on with your session.