SlavyanDesu / BocchiBot

BocchiBot is a multipurpose WhatsApp bot using wa-automate-nodejs library!
MIT License
309 stars 408 forks source link

QR: Protocol error (Runtime.evaluate): Promise was collected #407

Closed ov3rsp1der closed 2 years ago

ov3rsp1der commented 2 years ago

``Hello, I was using the bot correctly but in the last update of the @automate-whatsapp node (I don't have much knowledge, but I deduce that it was this because when it was updated to the latest version the problems started) the following occurs:

I start the bot (with the --multi-device flag because I have it that way on whastapp) It gives me the first QR: scanning OK It gives me the second QR scan OK Are you trying to give me a third QR?: error: Something went wrong while retreiving new the QR code but it should not affect the session launch procedure: Protocol error (Runtime.evaluate): Promise was collected`

I tried to use an old version of wa automate, but it does not generate the QR

attached full output:

bocchibot@1.0.0 start node index.js

(node:108673) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/lapi/Servicios/BocchiBot/node_modules/video-url-link/package.json' of './lib/index.js'. Please either fix that or report it to >the module author (Use node --trace-deprecation ... to show where the warning was created) ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ @open-wa/wa-automate ┃ ┃ 💬 🤖 The most reliable NodeJS whatsapp library for chatbots with advanced features. ┃ ┃ Version: 4.31.10 ┃ ┃ Check out the latest changes: https://github.com/open-wa/wa-automate-nodejs#latest-changes ┃ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

  • Starting
  • Version: 4.31.10
  • Initializing WA
  • Launching Browser
  • Browser launched: 588ms
  • Setting Up Page
  • Loading session data
  • No session data file found for session : BocchiBot
  • Pre page launch setup complete: 16ms
  • Navigating to WA
  • Page loaded in 12497ms: 200
  • Page loaded
  • Debug info: { "WA_VERSION": "2.2206.9", "PAGE_UA": "WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36", "WA_AUTOMATE_VERSION": "4.31.10", "BROWSER_VERSION": "HeadlessChrome/99.0.4844.51", "OS": "Linux 5.4", "START_TS": 1646496378801 }
  • 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.2206.9%22,%0A%20%20%22WA_AUTOMATE_VERSION%22:%20%224.31.10%22,%0A%20%20%22BROW>SER_VERSION%22:%20%22HeadlessChrome/99.0.4844.51%22,%0A%20%20%22START_TS%22:%201646496378801,%0A%20%20%22LATEST_VERSION%22:%20true,%0A%20%20%22CLI%22:%20false%0A%7D&enviro=-%20OS:%20Linux%205.4%0A-%20Node>:%2016.14.0%0A-%20npm:%208.3.1&labels=Legacy
  • Time to injection: 1020ms
  • Injecting api
  • Injecting scripts
  • Base inject: 32ms
  • WAPI inject: 404ms
  • Checking session integrity
  • Session integrity check passed
  • Launch inject: 880ms
  • WAPI injected
  • Authenticating
  • Authenticate to continue
  • First QR: 15497 ms ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▀ ▀▄ ▀█▀▀▄█▀▀█▄ ▀ ▀ ▄▄ ▀█▄█▀▄█ ▄▄▄▄▄ █ █ █ █ █▀▄▀██▄███▀ ▀▀ ▀ ▀███▄▀▀▄▄█ ▀█ █ █ █ █ █▄▄▄█ █▀█▀ ▄ ▀██▀█ ▄▄▄ ▀█▄ ▄▄ ▄▄▄█ █▄▄▄█ █ █▄▄▄▄▄▄▄█▄█▄█▄▀ ▀ ▀▄▀ █▄█ █ █▄█ ▀ ▀▄█ █▄▄▄▄▄▄▄█ █ ▄▄ █▄▄▄█ █▄▄█▀▄▄▄ ▄▄▄ ▄▀▄██ ▀ ▀ ▄ ▀▄█ █ █▄▀█ █▀█▄▄ ▀▄▄█▄█▄▄██▀▄ █ ▄ █▀▄█▀█▄▀▀█▀▄ ▀ ▄ ▄ ▀█ █ █▄▀ ▄▄ ▀█▀▄▄▀▄▄ █▀█ ▄ █▀█▄ ▀█▀█▀▀▄▄█▀▄▀▀ █ █▀ ▄▄▀▄▄▀ ▀▀▀ ▄ ▄▄▀▀▄▄█ ▄▀ █ █ █▀ █▀█▄▄▄▄ ▀██ ██▀█▀██▄█▀▀ ▀▄▀█▄▄▄█ ▀ ▄▄▀▄█▀ ▀█▄▀ █▄██ ██▀█ █ █ █▄▄▄▄ ▀██▄▀▄ ▀▄ ▀▄██ ▄ ▄███▀█▄ ▀█▀▄ ▀▄ ▄██ █▄▄█▀ ▄▄▄ █▄ ▄█▀▄▄▄▄▀ ▄▄▄ ▀▄▀█▀▀▄███ ▄▄▄ ▀▀▀██ █▄█▄▄ █▄█ █ ▀▄█▀ ▄▀█▄ █▄█ ▄█ ██▄█ █▄ █▄█ ▀ ▀█ █ ██▀▄ ▄ ▄ ▄ ███ █ ▄▄▄ █▄ █ ▀▄█▀█ ▄▀████ ███ ▄▄ ▄▀▀█▄▄ ▀█████▀█▀ ▄▀▀█▄ ▀█▄█▄▄█▀██ ██ ████ ▄▀ ▀▄▀ ▄▀▄▄ ▄▄ ████ ▄▀▀▀ ███▄▀▄▄▀█▄▄█▀▀█ ███▀ ▀▄▄▄ ██▄█▀██▀▄▄██ ▄▀ ██▀███ █▄▄█▄▄█▀▀ ▀▄▀█ █▄▀ █ ▄█ ▄ ▀▄▀▀█▄▀▄ ▄▀█ ▀█▀█ ▀▄▀▄▄█▀ █▄█▀▀ █ ██▀▀▀ █▄▀▄██▀██▀█████▄▀█ ▀▄▄▀▀ █ █▀▀ ▀██▀ ███ █▄██▄▄█▄█▀ ▄▀▀ █▄█▄▄▄ ▄▄▄ ██▀▀▀▄███▀ ▄▄▄ █▄█ █ ▄▄▄▄▄ █▄ █ ▄▀▀▄ ▀ █▄█ █ ▄ ██▀▄▄█▀ █▄█ ▀▄██ █ █ █ █ ██ ▀▀██▄▄▀▄▄▄ ▄ ███ ▀ █▀█ ▄▄▄▄ ██ ██ █ █▄▄▄█ █ ▀ ▄█▄██ ▄▀███▀▄ ▄▀▀ █▀▀█ ▄ ▀▀▀█▄█ █▄▄▄▄▄▄▄█▄██▄█▄█▄█▄▄▄█▄▄█▄█▄▄██▄███████▄▄███▄██

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▀█▄▀▄█▀▀▀ █▀▀█▄ ▀ ▀▀▄▄▄ █▄█▀▄█ ▄▄▄▄▄ █ █ █ █ █▀▄▀██▄█▀█▄ █▀ ▀█ ▀███▄▀▀▄▄█ ▀█ █ █ █ █ █▄▄▄█ █▀▀█▄▄▄ █▀▄▀▄ ▄▄▄ ▀█▄ ▄▄ ▄▄▄█ █▄▄▄█ █ █▄▄▄▄▄▄▄█▄█▄▀ ▀ ▀▄▀▄█ █▄█ ▀▄▀ ▀ █ █ █ █▄▄▄▄▄▄▄█ █ ▄▄▄▄▀▄ ▀▄ ▄█▀▄▄▄█▄ ▄▀▄█▀█ ▀▄▄▀ █ ▀ █▄▀█ █▄ ▄█▄█▀█▀▀ █▄▀▄█▄ ▄██▀▄█▀█▄▀▀█ ▄ ▄▀ ▄ ▀▄ ▄▀█ █ ██▀▀▀▄ ▀ ▀▄▀▀▄▄ █▀▄ ▄ █▀█▄ ▀█▀█▀▀▄▄█▀ ▀ ▀█ ████ █ ▄▀ ▀▀▄ ▄ ▀▄▀ █▄██ ▄█ █▄█▄▀▀ █▀█ ▄ █ ▀██ █▀▀ ▀▄▄█▄▄▄█ ▄▀█▄▄▄▀▀▀▄█▄▄██▀ ▀ █▄█▀▀ ███ █▀██ ███ ▀▀▀▄ █▀▄█▄▀▀ ▀█▄▀▄█▄ ▄ ▄██▄ █▄ ▀██▄▀▀▀▄ ▄██ █▄██▄ ▄▄▄ ▀▀ █▄█ ▀ ▄▄▄ ▀▄▀█▀▀▄███ ▄▄▄ ▀▀███ █ ▄█ █▄█ ██▄▀█▀▀█▀█▄ █▄█ ▄▄█▄▀▀▄█ ▀▄ █▄█ ▀▀ ▀█ █▄▄▀█ ▄ ▄ ▀▄ ███ ▀ ▄ █▀█▀ ▄▀ █ ▄▀▄▄██ █▀█ ▀▄█▄▀ ▄ █▄▀█ ██▀█ █ ██▀▀█▄▀▄▄█▀██ ██ █ ██▄ █▄██▀█ ▀▀▀▀▄ █ ████ ▄▀▀▀ ███▄███▄▀▄▄▀███ █▀█▄▀██▄ ▀▄█▄▄▀█▀▄▄▄██ ▀▀ █▀██▀▀▄▀ █▄▀▀▄▄ ▄▀█ ██▄▀ ██▄ ▄█▄▀▄▀▀█▄▀▄ ▄▀██ ██▀█▀▀▄█▄██▀ █▄█ ▀ █ ██▀▀▀ █▄▄▀▄▄▀█▀▀██ ▄▀ ▀█ ▀ ▄█▀▀ █▀██▄ ▀██▀ ███ █▄██▄▄█▄▄▀▀▄▀ ▀▀█▄ █ ▄▄▄ ██▀▀▀▄███▀ ▄▄▄ ▄▄█ █ █ ▄▄▄▄▄ █▄▀█▄▀ ▄▄▄▄ ▀ █▄█ ▀▄▄ ███ █▀ █▄█ ▀ ▄██ █ █ █ █ █ █ ▀▀██▄▄▀▄▄▄ ▄█▀ ▄▀██▀▄▄ ▄ ▄█ ██ █ █▄▄▄█ █ ██ ▄████▀▀███▀ ▄ ▄▀▀▀█▀ ▄ ███▀▀█▄█ █▄▄▄▄▄▄▄█▄█▄▄████▄█▄▄█▄▄█▄█▄▄██▄████████████▄██

  • Multi-Device detected, please set multiDevice to true in your config or add the --multi-device flag Error while terminating browser PID. You can just ignore this, as the process has most likely been terminated successfully already: kill ESRCH ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ @open-wa/wa-automate ┃ ┃ 💬 🤖 The most reliable NodeJS whatsapp library for chatbots with advanced features. ┃ ┃ Version: 4.31.10 ┃ ┃ Check out the latest changes: https://github.com/open-wa/wa-automate-nodejs#latest-changes ┃ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

  • Starting

  • Version: 4.31.10

  • Initializing WA

  • Using custom chromium args with multi device will cause issues! Please remove them: >--no-sandbox,--disable-setuid-sandbox,--aggressive-cache-discard,--disable-cache,--disable-application-cache,--disable-offline-load-stale-cache,--disk-cache-size=0

  • Launching Browser

  • MD Enabled, turning off incognito mode.

  • Data dir: ./_IGNORE_BocchiBot

  • Data dir doesnt exist, creating...: ./_IGNORE_BocchiBot

  • Browser launched: 296ms

  • Setting Up Page

  • Loading session data

  • No session data file found for session : BocchiBot

  • No session data detected. Opting in for MD.

  • Make sure to keep the session alive for at least 5 minutes after scanning the QR code before trying to restart a session!!

  • Pre page launch setup complete: 16ms

  • Navigating to WA

  • Page loaded in 1464ms: 200

  • Page loaded

  • Debug info: { "WA_VERSION": "2.2206.9", "PAGE_UA": "WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36", "WA_AUTOMATE_VERSION": "4.31.10", "BROWSER_VERSION": "HeadlessChrome/99.0.4844.51", "OS": "Linux 5.4", "START_TS": 1646496395539 }

  • 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.2206.9%22,%0A%20%20%22WA_AUTOMATE_VERSION%22:%20%224.31.10%22,%0A%20%20%22BROW>SER_VERSION%22:%20%22HeadlessChrome/99.0.4844.51%22,%0A%20%20%22START_TS%22:%201646496395539,%0A%20%20%22LATEST_VERSION%22:%20true,%0A%20%20%22CLI%22:%20false%0A%7D&enviro=-%20OS:%20Linux%205.4%0A-%20Node>:%2016.14.0%0A-%20npm:%208.3.1&labels=MD

  • Time to injection: 11817ms

  • Injecting api

  • Injecting scripts

  • Base inject: 28ms

  • Launch inject: 288ms

  • WAPI injected

  • Authenticating

  • Authenticate to continue

  • First QR: 15830 ms ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▀▄▀ █▄█▄█▄ █▄ ▀█▄▄▄ ▄ ▄▀█ █▄█▀ ▀██ ▄▄▄▄▄ █ █ █ █ █▀▀▄ ▀ ▄▄█▀▀█ ██▀▀▀ ▀▀▀▀█▀▄▀▀▀▀█▄▀▀▄▀█ █ █ █ █ █▄▄▄█ █▀▄█▄▄▀▀███▄▄▀█ ▄ ▄▄▄ ▄▄ ▀▀▀█ ▄▀▄▀ ███ █▄▄▄█ █ █▄▄▄▄▄▄▄█▄▀ ▀ █ █ █ █▄█ █ █▄█ ▀ █ ▀ ▀▄▀▄█ █ ▀ █▄▄▄▄▄▄▄█ █ ▄▄ ▀▄ ▄▄ ▀█▄▄▄▀ ▄▄██▀▄ ▄ ▄▄▀ █▄█ ▄ ██▀ ▀▄ █▄█▄█▄▀█ █ ███ █▄ ▀▀█▀▄ █▄ ▀█▄▀█▀▄▀███▀▄██ ▄█▀▀█▀▀ ▀▄▀▀ ▄▀▄ ██ █ ▀▀█▄ ▀██▄▀▄▄ ▄ █▀██▀▄▄▀▄▀▀ ▀█▄ ▄██▀█ ▀▀█▄█▀▄▄ ▀▄█ █ ▀ ██ ▄█▄█▀ █▀█ ▄█▀█▄█▀█▀ ██▀█ █▀██▄▄▄ ▀▀▀ █ ██ ██▀█ █▀▄▄▄ ▄▄ █▀▀▄█▀█▀█▄ █▀▀ ▄ ▄▀█▀▀▄█▄▄ ▀▄▄▀▀▀▄▄█▄▄▄▄ ▀ █ ██▀▀█ ▄▄▀▀▄▀▀█ ▀██▄▀▀▀█▀ ▀▄█▀██▀▄▀█ ▄▄█ █ ▀▄▀██▄▄█▀██ █▄▀▀▄▀ ▄▀█▀ ▀▄▀▀▄█▄▄▀███ ▄▄ ██ ███ ▄▀▀▀▀ █ ▄▄ ▄ ▀█ █ ▄▄█▀▄▄▄█ ▄▄▄ ▄▄██▀█▄▄▀ █▀▀█ ▀ █ ██▀ █▄██▄▀ ▀ ████ ███▄█ ▄▄▄ █▄▄▄▀ ▄▀▄▀█▄ ▄▄▄ ▄▀▄█▄█ ▀█▀█▀ ▄ ▄▄▄ ██▄██ █▀ ▄█ █▄█ ▄▀▀██▄▄ ▀▀ ▄▀█ █▄█ ▀ ▀▀▀▄▀▀▄▄▀█ ▄ █▄█ █▀██ █▀▀▀ ▄▄▄ █▄▄▄▀▀▄█▄▄▀▄█▀▀▄▄▄ ▀▀ █▄█▄ ▄█▀█▀▀█ ▄▄ ▀█ ██ █▄ ▄▄█▀▄█▀▀ ▀█▄█ ▄██▀█▀▄▀█▄█▀▀█▀▀ ██ ▄▄▀█▄▀ ▀▀ ▄▀█▀▀█ █ █ ▄█ ▄ ▀▄▀ ▄▀█▀█▀▄ ▄█▀▀▀ ▀▀▄▀ ▄▀ █▄▄▄▄ █▀▀█▄█▀█▀ ▀▀██ █████▀ ▄ ▄▀▄ ▀▄█▀█▀ ▀▄▄▀▀██▀▄▄▄▀▄▀█▄▄ ▄▄█▀▄██▀▄▀ ▄▀█▀▀█ █▀█▀ ▄ ▄ ▄▀▄▀ ▀█▄ █ ▀██▄▀▀▀ ▀▄█▄█ ██▀▀▀▀█▀█▀ ▄ ▄██ █▄▄ ▄▀▄█▀▀▄▀█▄ ██ ▀▄▀█▀▀▀ █▀▄▄▄▄▄ █▀ ▄▄▀▄ ▄█▀█ █▀██ █ ▄███▀▄▄▀▄█ ▄▄▄▄▀█ ▄██ █▄▀█▄ ▄█▀█ █ █ ▀ ▀▄▀▄█▄ █ █▄ ▀▄▄▄▄▄ █▀ ▀ ▄ ▄ ██ ▀▄ ███▄▄█▀█▄▀▀ ██ █▀▀▀▄▀ ▄▀█▄██ ████▄██▄▄ ▄▄▀ ▄█▄▄ ▀██▀█ ▄▄▄ ▀▀▀██▄ ▀▄██ ▀█ ▄▄▄ ▀█ █ █ ▄▄▄▄▄ █▄▀▀ ▀▄█▄▄▄█▄▀ █▄ █▄█ ▄ ▄█▀█▄█▀█ ▄ █▄█ ▄██▀█ █ █ █ █ ▀██ ▄▀█▄▀ ▄▄▀▀ ▄▄▄▀▀▀▀▄█▀ ▄██▀▀▀▄▄▄ ▄▄▄██ █ █▄▄▄█ █ █▀ ▀ ▀▀█▀██▀█▀▀▀▀ ▄ ▀▀█ ███ ▄▄ ▀ █▄█▄ ▄▀▄█ █▄▄▄▄▄▄▄█▄▄██▄▄▄▄▄▄▄▄▄██▄▄▄█▄██▄████▄▄▄████▄███████████

  • Injecting scripts

  • WAPI inject: 220ms

  • Checking session integrity

  • Session integrity check passed

  • Launch inject: 1004ms { a: true, b: true, c: true, d: '663987e12470230371b6429000f909e3d8ebe918', e: '0551e72b30f9b8cdaa7939399bb4d2017ef5b10a' }

  • Something went wrong while retreiving new the QR code but it should not affect the session launch procedure: Protocol error (Runtime.evaluate): Promise was collected

Thanks, regards

github-actions[bot] commented 2 years ago

Hello! Thanks for submiting the issue, we will respond to you ASAP.

ohsyme commented 2 years ago

``Hello, I was using the bot correctly but in the last update of the @automate-whatsapp node (I don't have much knowledge, but I deduce that it was this because when it was updated to the latest version the problems started) the following occurs:

I start the bot (with the --multi-device flag because I have it that way on whastapp) It gives me the first QR: scanning OK It gives me the second QR scan OK Are you trying to give me a third QR?: error: Something went wrong while retreiving new the QR code but it should not affect the session launch procedure: Protocol error (Runtime.evaluate): Promise was collected`

I tried to use an old version of wa automate, but it does not generate the QR

attached full output:

bocchibot@1.0.0 start node index.js (node:108673) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/lapi/Servicios/BocchiBot/node_modules/video-url-link/package.json' of './lib/index.js'. Please either fix that or report it to >the module author (Use node --trace-deprecation ... to show where the warning was created) ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ @open-wa/wa-automate ┃ ┃ 💬 🤖 The most reliable NodeJS whatsapp library for chatbots with advanced features. ┃ ┃ Version: 4.31.10 ┃ ┃ Check out the latest changes: https://github.com/open-wa/wa-automate-nodejs#latest-changes ┃ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

  • Starting
  • Version: 4.31.10
  • Initializing WA
  • Launching Browser
  • Browser launched: 588ms
  • Setting Up Page
  • Loading session data
  • No session data file found for session : BocchiBot
  • Pre page launch setup complete: 16ms
  • Navigating to WA
  • Page loaded in 12497ms: 200
  • Page loaded
  • Debug info: { "WA_VERSION": "2.2206.9", "PAGE_UA": "WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36", "WA_AUTOMATE_VERSION": "4.31.10", "BROWSER_VERSION": "HeadlessChrome/99.0.4844.51", "OS": "Linux 5.4", "START_TS": 1646496378801 }
  • 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.2206.9%22,%0A%20%20%22WA_AUTOMATE_VERSION%22:%20%224.31.10%22,%0A%20%20%22BROW>SER_VERSION%22:%20%22HeadlessChrome/99.0.4844.51%22,%0A%20%20%22START_TS%22:%201646496378801,%0A%20%20%22LATEST_VERSION%22:%20true,%0A%20%20%22CLI%22:%20false%0A%7D&enviro=-%20OS:%20Linux%205.4%0A-%20Node>:%2016.14.0%0A-%20npm:%208.3.1&labels=Legacy
  • Time to injection: 1020ms
  • Injecting api
  • Injecting scripts
  • Base inject: 32ms
  • WAPI inject: 404ms
  • Checking session integrity
  • Session integrity check passed
  • Launch inject: 880ms
  • WAPI injected
  • Authenticating
  • Authenticate to continue
  • First QR: 15497 ms ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▀ ▀▄ ▀█▀▀▄█▀▀█▄ ▀ ▀ ▄▄ ▀█▄█▀▄█ ▄▄▄▄▄ █ █ █ █ █▀▄▀██▄███▀ ▀▀ ▀ ▀███▄▀▀▄▄█ ▀█ █ █ █ █ █▄▄▄█ █▀█▀ ▄ ▀██▀█ ▄▄▄ ▀█▄ ▄▄ ▄▄▄█ █▄▄▄█ █ █▄▄▄▄▄▄▄█▄█▄█▄▀ ▀ ▀▄▀ █▄█ █ █▄█ ▀ ▀▄█ █▄▄▄▄▄▄▄█ █ ▄▄ █▄▄▄█ █▄▄█▀▄▄▄ ▄▄▄ ▄▀▄██ ▀ ▀ ▄ ▀▄█ █ █▄▀█ █▀█▄▄ ▀▄▄█▄█▄▄██▀▄ █ ▄ █▀▄█▀█▄▀▀█▀▄ ▀ ▄ ▄ ▀█ █ █▄▀ ▄▄ ▀█▀▄▄▀▄▄ █▀█ ▄ █▀█▄ ▀█▀█▀▀▄▄█▀▄▀▀ █ █▀ ▄▄▀▄▄▀ ▀▀▀ ▄ ▄▄▀▀▄▄█ ▄▀ █ █ █▀ █▀█▄▄▄▄ ▀██ ██▀█▀██▄█▀▀ ▀▄▀█▄▄▄█ ▀ ▄▄▀▄█▀ ▀█▄▀ █▄██ ██▀█ █ █ █▄▄▄▄ ▀██▄▀▄ ▀▄ ▀▄██ ▄ ▄███▀█▄ ▀█▀▄ ▀▄ ▄██ █▄▄█▀ ▄▄▄ █▄ ▄█▀▄▄▄▄▀ ▄▄▄ ▀▄▀█▀▀▄███ ▄▄▄ ▀▀▀██ █▄█▄▄ █▄█ █ ▀▄█▀ ▄▀█▄ █▄█ ▄█ ██▄█ █▄ █▄█ ▀ ▀█ █ ██▀▄ ▄ ▄ ▄ ███ █ ▄▄▄ █▄ █ ▀▄█▀█ ▄▀████ ███ ▄▄ ▄▀▀█▄▄ ▀█████▀█▀ ▄▀▀█▄ ▀█▄█▄▄█▀██ ██ ████ ▄▀ ▀▄▀ ▄▀▄▄ ▄▄ ████ ▄▀▀▀ ███▄▀▄▄▀█▄▄█▀▀█ ███▀ ▀▄▄▄ ██▄█▀██▀▄▄██ ▄▀ ██▀███ █▄▄█▄▄█▀▀ ▀▄▀█ █▄▀ █ ▄█ ▄ ▀▄▀▀█▄▀▄ ▄▀█ ▀█▀█ ▀▄▀▄▄█▀ █▄█▀▀ █ ██▀▀▀ █▄▀▄██▀██▀█████▄▀█ ▀▄▄▀▀ █ █▀▀ ▀██▀ ███ █▄██▄▄█▄█▀ ▄▀▀ █▄█▄▄▄ ▄▄▄ ██▀▀▀▄███▀ ▄▄▄ █▄█ █ ▄▄▄▄▄ █▄ █ ▄▀▀▄ ▀ █▄█ █ ▄ ██▀▄▄█▀ █▄█ ▀▄██ █ █ █ █ ██ ▀▀██▄▄▀▄▄▄ ▄ ███ ▀ █▀█ ▄▄▄▄ ██ ██ █ █▄▄▄█ █ ▀ ▄█▄██ ▄▀███▀▄ ▄▀▀ █▀▀█ ▄ ▀▀▀█▄█ █▄▄▄▄▄▄▄█▄██▄█▄█▄█▄▄▄█▄▄█▄█▄▄██▄███████▄▄███▄██

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▀█▄▀▄█▀▀▀ █▀▀█▄ ▀ ▀▀▄▄▄ █▄█▀▄█ ▄▄▄▄▄ █ █ █ █ █▀▄▀██▄█▀█▄ █▀ ▀█ ▀███▄▀▀▄▄█ ▀█ █ █ █ █ █▄▄▄█ █▀▀█▄▄▄ █▀▄▀▄ ▄▄▄ ▀█▄ ▄▄ ▄▄▄█ █▄▄▄█ █ █▄▄▄▄▄▄▄█▄█▄▀ ▀ ▀▄▀▄█ █▄█ ▀▄▀ ▀ █ █ █ █▄▄▄▄▄▄▄█ █ ▄▄▄▄▀▄ ▀▄ ▄█▀▄▄▄█▄ ▄▀▄█▀█ ▀▄▄▀ █ ▀ █▄▀█ █▄ ▄█▄█▀█▀▀ █▄▀▄█▄ ▄██▀▄█▀█▄▀▀█ ▄ ▄▀ ▄ ▀▄ ▄▀█ █ ██▀▀▀▄ ▀ ▀▄▀▀▄▄ █▀▄ ▄ █▀█▄ ▀█▀█▀▀▄▄█▀ ▀ ▀█ ████ █ ▄▀ ▀▀▄ ▄ ▀▄▀ █▄██ ▄█ █▄█▄▀▀ █▀█ ▄ █ ▀██ █▀▀ ▀▄▄█▄▄▄█ ▄▀█▄▄▄▀▀▀▄█▄▄██▀ ▀ █▄█▀▀ ███ █▀██ ███ ▀▀▀▄ █▀▄█▄▀▀ ▀█▄▀▄█▄ ▄ ▄██▄ █▄ ▀██▄▀▀▀▄ ▄██ █▄██▄ ▄▄▄ ▀▀ █▄█ ▀ ▄▄▄ ▀▄▀█▀▀▄███ ▄▄▄ ▀▀███ █ ▄█ █▄█ ██▄▀█▀▀█▀█▄ █▄█ ▄▄█▄▀▀▄█ ▀▄ █▄█ ▀▀ ▀█ █▄▄▀█ ▄ ▄ ▀▄ ███ ▀ ▄ █▀█▀ ▄▀ █ ▄▀▄▄██ █▀█ ▀▄█▄▀ ▄ █▄▀█ ██▀█ █ ██▀▀█▄▀▄▄█▀██ ██ █ ██▄ █▄██▀█ ▀▀▀▀▄ █ ████ ▄▀▀▀ ███▄███▄▀▄▄▀███ █▀█▄▀██▄ ▀▄█▄▄▀█▀▄▄▄██ ▀▀ █▀██▀▀▄▀ █▄▀▀▄▄ ▄▀█ ██▄▀ ██▄ ▄█▄▀▄▀▀█▄▀▄ ▄▀██ ██▀█▀▀▄█▄██▀ █▄█ ▀ █ ██▀▀▀ █▄▄▀▄▄▀█▀▀██ ▄▀ ▀█ ▀ ▄█▀▀ █▀██▄ ▀██▀ ███ █▄██▄▄█▄▄▀▀▄▀ ▀▀█▄ █ ▄▄▄ ██▀▀▀▄███▀ ▄▄▄ ▄▄█ █ █ ▄▄▄▄▄ █▄▀█▄▀ ▄▄▄▄ ▀ █▄█ ▀▄▄ ███ █▀ █▄█ ▀ ▄██ █ █ █ █ █ █ ▀▀██▄▄▀▄▄▄ ▄█▀ ▄▀██▀▄▄ ▄ ▄█ ██ █ █▄▄▄█ █ ██ ▄████▀▀███▀ ▄ ▄▀▀▀█▀ ▄ ███▀▀█▄█ █▄▄▄▄▄▄▄█▄█▄▄████▄█▄▄█▄▄█▄█▄▄██▄████████████▄██

  • Multi-Device detected, please set multiDevice to true in your config or add the --multi-device flag Error while terminating browser PID. You can just ignore this, as the process has most likely been terminated successfully already: kill ESRCH ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ @open-wa/wa-automate ┃ ┃ 💬 🤖 The most reliable NodeJS whatsapp library for chatbots with advanced features. ┃ ┃ Version: 4.31.10 ┃ ┃ Check out the latest changes: https://github.com/open-wa/wa-automate-nodejs#latest-changes ┃ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
  • Starting
  • Version: 4.31.10
  • Initializing WA
  • Using custom chromium args with multi device will cause issues! Please remove them: >--no-sandbox,--disable-setuid-sandbox,--aggressive-cache-discard,--disable-cache,--disable-application-cache,--disable-offline-load-stale-cache,--disk-cache-size=0
  • Launching Browser
  • MD Enabled, turning off incognito mode.
  • Data dir: ./_IGNORE_BocchiBot
  • Data dir doesnt exist, creating...: ./_IGNORE_BocchiBot
  • Browser launched: 296ms
  • Setting Up Page
  • Loading session data
  • No session data file found for session : BocchiBot
  • No session data detected. Opting in for MD.
  • Make sure to keep the session alive for at least 5 minutes after scanning the QR code before trying to restart a session!!
  • Pre page launch setup complete: 16ms
  • Navigating to WA
  • Page loaded in 1464ms: 200
  • Page loaded
  • Debug info: { "WA_VERSION": "2.2206.9", "PAGE_UA": "WhatsApp/2.2147.16 Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36", "WA_AUTOMATE_VERSION": "4.31.10", "BROWSER_VERSION": "HeadlessChrome/99.0.4844.51", "OS": "Linux 5.4", "START_TS": 1646496395539 }
  • 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.2206.9%22,%0A%20%20%22WA_AUTOMATE_VERSION%22:%20%224.31.10%22,%0A%20%20%22BROW>SER_VERSION%22:%20%22HeadlessChrome/99.0.4844.51%22,%0A%20%20%22START_TS%22:%201646496395539,%0A%20%20%22LATEST_VERSION%22:%20true,%0A%20%20%22CLI%22:%20false%0A%7D&enviro=-%20OS:%20Linux%205.4%0A-%20Node>:%2016.14.0%0A-%20npm:%208.3.1&labels=MD
  • Time to injection: 11817ms
  • Injecting api
  • Injecting scripts
  • Base inject: 28ms
  • Launch inject: 288ms
  • WAPI injected
  • Authenticating
  • Authenticate to continue
  • First QR: 15830 ms ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▀▄▀ █▄█▄█▄ █▄ ▀█▄▄▄ ▄ ▄▀█ █▄█▀ ▀██ ▄▄▄▄▄ █ █ █ █ █▀▀▄ ▀ ▄▄█▀▀█ ██▀▀▀ ▀▀▀▀█▀▄▀▀▀▀█▄▀▀▄▀█ █ █ █ █ █▄▄▄█ █▀▄█▄▄▀▀███▄▄▀█ ▄ ▄▄▄ ▄▄ ▀▀▀█ ▄▀▄▀ ███ █▄▄▄█ █ █▄▄▄▄▄▄▄█▄▀ ▀ █ █ █ █▄█ █ █▄█ ▀ █ ▀ ▀▄▀▄█ █ ▀ █▄▄▄▄▄▄▄█ █ ▄▄ ▀▄ ▄▄ ▀█▄▄▄▀ ▄▄██▀▄ ▄ ▄▄▀ █▄█ ▄ ██▀ ▀▄ █▄█▄█▄▀█ █ ███ █▄ ▀▀█▀▄ █▄ ▀█▄▀█▀▄▀███▀▄██ ▄█▀▀█▀▀ ▀▄▀▀ ▄▀▄ ██ █ ▀▀█▄ ▀██▄▀▄▄ ▄ █▀██▀▄▄▀▄▀▀ ▀█▄ ▄██▀█ ▀▀█▄█▀▄▄ ▀▄█ █ ▀ ██ ▄█▄█▀ █▀█ ▄█▀█▄█▀█▀ ██▀█ █▀██▄▄▄ ▀▀▀ █ ██ ██▀█ █▀▄▄▄ ▄▄ █▀▀▄█▀█▀█▄ █▀▀ ▄ ▄▀█▀▀▄█▄▄ ▀▄▄▀▀▀▄▄█▄▄▄▄ ▀ █ ██▀▀█ ▄▄▀▀▄▀▀█ ▀██▄▀▀▀█▀ ▀▄█▀██▀▄▀█ ▄▄█ █ ▀▄▀██▄▄█▀██ █▄▀▀▄▀ ▄▀█▀ ▀▄▀▀▄█▄▄▀███ ▄▄ ██ ███ ▄▀▀▀▀ █ ▄▄ ▄ ▀█ █ ▄▄█▀▄▄▄█ ▄▄▄ ▄▄██▀█▄▄▀ █▀▀█ ▀ █ ██▀ █▄██▄▀ ▀ ████ ███▄█ ▄▄▄ █▄▄▄▀ ▄▀▄▀█▄ ▄▄▄ ▄▀▄█▄█ ▀█▀█▀ ▄ ▄▄▄ ██▄██ █▀ ▄█ █▄█ ▄▀▀██▄▄ ▀▀ ▄▀█ █▄█ ▀ ▀▀▀▄▀▀▄▄▀█ ▄ █▄█ █▀██ █▀▀▀ ▄▄▄ █▄▄▄▀▀▄█▄▄▀▄█▀▀▄▄▄ ▀▀ █▄█▄ ▄█▀█▀▀█ ▄▄ ▀█ ██ █▄ ▄▄█▀▄█▀▀ ▀█▄█ ▄██▀█▀▄▀█▄█▀▀█▀▀ ██ ▄▄▀█▄▀ ▀▀ ▄▀█▀▀█ █ █ ▄█ ▄ ▀▄▀ ▄▀█▀█▀▄ ▄█▀▀▀ ▀▀▄▀ ▄▀ █▄▄▄▄ █▀▀█▄█▀█▀ ▀▀██ █████▀ ▄ ▄▀▄ ▀▄█▀█▀ ▀▄▄▀▀██▀▄▄▄▀▄▀█▄▄ ▄▄█▀▄██▀▄▀ ▄▀█▀▀█ █▀█▀ ▄ ▄ ▄▀▄▀ ▀█▄ █ ▀██▄▀▀▀ ▀▄█▄█ ██▀▀▀▀█▀█▀ ▄ ▄██ █▄▄ ▄▀▄█▀▀▄▀█▄ ██ ▀▄▀█▀▀▀ █▀▄▄▄▄▄ █▀ ▄▄▀▄ ▄█▀█ █▀██ █ ▄███▀▄▄▀▄█ ▄▄▄▄▀█ ▄██ █▄▀█▄ ▄█▀█ █ █ ▀ ▀▄▀▄█▄ █ █▄ ▀▄▄▄▄▄ █▀ ▀ ▄ ▄ ██ ▀▄ ███▄▄█▀█▄▀▀ ██ █▀▀▀▄▀ ▄▀█▄██ ████▄██▄▄ ▄▄▀ ▄█▄▄ ▀██▀█ ▄▄▄ ▀▀▀██▄ ▀▄██ ▀█ ▄▄▄ ▀█ █ █ ▄▄▄▄▄ █▄▀▀ ▀▄█▄▄▄█▄▀ █▄ █▄█ ▄ ▄█▀█▄█▀█ ▄ █▄█ ▄██▀█ █ █ █ █ ▀██ ▄▀█▄▀ ▄▄▀▀ ▄▄▄▀▀▀▀▄█▀ ▄██▀▀▀▄▄▄ ▄▄▄██ █ █▄▄▄█ █ █▀ ▀ ▀▀█▀██▀█▀▀▀▀ ▄ ▀▀█ ███ ▄▄ ▀ █▄█▄ ▄▀▄█ █▄▄▄▄▄▄▄█▄▄██▄▄▄▄▄▄▄▄▄██▄▄▄█▄██▄████▄▄▄████▄███████████
  • Injecting scripts
  • WAPI inject: 220ms
  • Checking session integrity
  • Session integrity check passed
  • Launch inject: 1004ms { a: true, b: true, c: true, d: '663987e12470230371b6429000f909e3d8ebe918', e: '0551e72b30f9b8cdaa7939399bb4d2017ef5b10a' }
  • Something went wrong while retreiving new the QR code but it should not affect the session launch procedure: Protocol error (Runtime.evaluate): Promise was collected

Thanks, regards

go to tools folder and open index file then find multidevice change it to true to run multidevice mode