Is there an existing issue for this?
Is this a problem caused by your code, or is it specifically because of the library?
Describe the bug.
After scanning the QR code, the authenticated event fires (three times), but the ready event never fires. The client gets stuck and never becomes usable.
[INFO] Initializing WhatsApp client...
[INFO] Scan this QR code with WhatsApp:
[QR code displayed]
[INFO] WhatsApp authenticated
[INFO] WhatsApp authenticated
[INFO] WhatsApp authenticated
// ready never fires, client is stuck
I've checked relevant issues, and the fixes suggested there did NOT help.
Expected Behavior
After authenticated, the ready event should fire and the client should become usable.
Steps to Reproduce the Bug or Issue
- Install whatsapp-web.js v1.34.6 from npm, or some custom branches such as
github:DouglasReisofc/whatsapp-web.js#fix/events-ready-messages or github:timothydillan/whatsapp-web.js#fix/ready-event-not-firing.
- Initialize client with remote
webVersionCache pointing to latest wa-version
- Scan QR code
- Observe:
authenticated fires 3 times, ready never fires
WhatsApp Account Type
Standard
Browser Type
Chromium
Operation System Type
Amazon Linux 2 (EC2), Docker
WhatsApp-Web.js Version
1.34.6
WhatsApp Web Version
2.3000.1034260505-alpha
Node.js Version
24
Authentication Strategy
LocalAuth
Additional Context
No response
Is there an existing issue for this?
Is this a problem caused by your code, or is it specifically because of the library?
Describe the bug.
After scanning the QR code, the
authenticatedevent fires (three times), but thereadyevent never fires. The client gets stuck and never becomes usable.I've checked relevant issues, and the fixes suggested there did NOT help.
Expected Behavior
After
authenticated, thereadyevent should fire and the client should become usable.Steps to Reproduce the Bug or Issue
github:DouglasReisofc/whatsapp-web.js#fix/events-ready-messagesorgithub:timothydillan/whatsapp-web.js#fix/ready-event-not-firing.webVersionCachepointing to latestwa-versionauthenticatedfires 3 times,readynever firesWhatsApp Account Type
Standard
Browser Type
Chromium
Operation System Type
Amazon Linux 2 (EC2), Docker
WhatsApp-Web.js Version
1.34.6
WhatsApp Web Version
2.3000.1034260505-alpha
Node.js Version
24
Authentication Strategy
LocalAuth
Additional Context
No response