Skip to content

Sending/Forwarding messages to large groups can take minutes.. why???? #4002

@idan-dagan-imagenai

Description

@idan-dagan-imagenai

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.

I am trying to send messages to large groups I have (Around 900 participants in each group).. sometimes it can take minutes. I don't get it. I am running on linux server inside docker, using LocalAuth to store chrome data, and this is my puppteer config:
puppeteer: {
headless: true,
args: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage',
'--disable-gpu',
'--no-first-run',
'--no-zygote',

      '--disable-accelerated-2d-canvas',
      '--disable-extensions',
      
      '--disable-background-timer-throttling',
      '--disable-backgrounding-occluded-windows',
      '--disable-renderer-backgrounding',
  ],
  executablePath: process.env.CHROME_BIN || '/usr/bin/chromium-browser'

}

Expected Behavior

I expected a message to take a few seconds.. max. what am i doing wrong? I am using whatsapp web js latest version.. those are my dependencies:
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-rate-limit": "^7.4.0",
"joi": "^17.13.3",
"morgan": "^1.10.0",
"multer": "^2.0.0-alpha.7",
"proxy-chain": "^2.6.0",
"puppeteer": "^24.30.0",
"qrcode": "^1.5.3",
"qrcode-terminal": "^0.12.0",
"whatsapp-web.js": "^1.34.2"

I check my internet speed - it is good. i also checked sending messages to small groups - also works great. what can i do guys? please assist.

Steps to Reproduce the Bug or Issue

Sending the messages..

WhatsApp Account Type

Standard

Browser Type

Chroimuim

Operation System Type

Linux

Phone OS Type

Iphone

WhatsApp-Web.js Version

1.34.2

WhatsApp Web Version

1.34.2

Node.js Version

node:20

Authentication Strategy

LocalAuth

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions