Skip to content

Ready event never fires after authentication (v1.34.6, WhatsApp Web 2.3000.x) #127084

Description

@danpasecinic

Is there an existing issue for this?

  • I have searched the existing issues.

Is this a problem caused by your code, or is it specifically because of the library?

  • I have double-checked my code carefully.

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

  1. 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.
  2. Initialize client with remote webVersionCache pointing to latest wa-version
  3. Scan QR code
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions