Closed Az-r-ow closed 2 years ago
I forgot to add the whatsapp web version which is : 2.2147.16
if you have a lot of chat on your phone, Whatsapp web needs more time to sync. in my case, it was solved by bumping the authTimeoutMs
to 900000 (15 minutes). the docs is showed here
so you can implement it using:
new Client({
authTimeoutMs: 900000,
...
hope it can solve your issue.
@Az-r-ow let me know if that solution has worked for you. Thanks
@wahyuade @tuyuribr, it worked ! Thanks.
Bug description
A clear and concise description of what the bug is. After scanning the qr code, the client initiate normally and then 45s later I get this following error :
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
The client to connect and to stay connected the whole time while I'm running the program.
Environment (please complete the following information):
WhatsApp
await client.getWWebVersion()
]:Library
node -v
): v17.0.1npm -v
):8.3.0Other