salman0ansari / whatsapp-api-nodejs

RESTful WhatsApp API with Multiple Device Support
GNU General Public License v3.0
1.27k stars 605 forks source link

Disconnects after QR Code authentication #46

Closed eduardofiorini closed 2 years ago

eduardofiorini commented 2 years ago

Hello Salman, I did the test using a whatsapp MD Normal and whatsapp MD Business both after reading the QRCode and authenticating the connection with whatsapp is closed and disappears from the list of connected devices.

Log: https://prnt.sc/9vf-xfzkAux2

salman0ansari commented 2 years ago

Is it your first time connecting to a Multi Device session?

salman0ansari commented 2 years ago

this problem only occurs in Business account can you try connecting from different ISP and connect your to Account web.whatsapp first then connect another session to this API.

eduardofiorini commented 2 years ago

The bug is in version v4.0.0 of baileys, I updated the version to v4.0.1 now it works again.

bhavesh53 commented 2 years ago

@salman0ansari can you use latest github:adiwajshing/baileys version ?? if issue with stability can create other branch as now frequently updates from WA so its better to use latest one

salman0ansari commented 2 years ago

@salman0ansari can you use latest github:adiwajshing/baileys version ?? if issue with stability can create other branch as now frequently updates from WA so its better to use latest one

Ok ok.