devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click! Two engines: chromium-based WEBJS and pure-websocket NOWEB
https://waha.devlike.pro/
Apache License 2.0
878 stars 273 forks source link

Latest Version - Session goes to the FAILED state immediately after scanning QRCODE #162

Closed ehussain closed 1 year ago

ehussain commented 1 year ago

Hello,

After updating image with new pro version and restarting the docker containers we are facing this error.

When new session is created it goes into SCAN_QR_CODE state. However once QRCODE is scanned and login completes then session goes into "FAILED" state immediately.

I deleted the session folders also and repeated image update and docker container restart steps and still facing same error.

{"name":"60601-01","status":"FAILED","config":{"proxy":null,"webhooks":[{"url":'*****',"events":["message","message.any","message.ack"],"hmac":null,"retries":null,"customHeaders":null}]}}

allburov commented 1 year ago

ℹ️⚠️ Hi everyone! If you're facing the same issue with FAILED session - please update to the 2023.8.10 version, it fixes the issue

The error in logs you could see is

 ERROR [WhatsappSession - 60601-01] Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'CallCollection')
    at __puppeteer_evaluation_script__:9:66