Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Disonnect #2295

Open
aleeixoj opened this issue Jul 29, 2024 · 3 comments
Open

Random Disonnect #2295

aleeixoj opened this issue Jul 29, 2024 · 3 comments
Labels
bug Something isn't working needs triage

Comments

@aleeixoj
Copy link

aleeixoj commented Jul 29, 2024

Description

I have a homologation server for testing in my store and I have random disconnections. When I connect, it works normally, I send messages, audios, videos, etc. However, after a random time I receive a disconnection log in the lib, but in the App it remains connected. Then I need to generate a new QRCode to synchronize again.

Environment

  • WPPConnect version(s): 1.34.4
  • WA-JS version(s): 3.7.0
  • Browser: Chrome XX / Chromium XX
  • OS: Ubuntu 22.04
  • Node version: 18.19.0
  • WhatsApp version: 2.3000.1015091745
  • MultiDevice (BETA): Yes

Steps to Reproduce

  1. Connect Device
  2. Send messages
  3. Stay afk

Log Output

Captura de tela de 2024-07-29 08-46-41

Your Code

 create({
      session,
      tokenStore: myTokenStore,
      catchQR: qr,
      statusFind: status,
      autoClose: 1000 * 60 * 3,
      logQR: false,
      headless: true,
      useChrome: true,
      puppeteerOptions: {
        userDataDir: `${env.bot.tokenFolder.path}/${env.bot.tokenFolder.name}/${session}`, // or your custom directory
        args: [
          '--no-sandbox',
          '--disable-setuid-sandbox',
          '--disable-dev-shm-usage',
          '--disable-accelerated-2d-canvas',
          '--no-first-run',
          '--no-zygote',
          '--disable-gpu',
        ],
      },
      whatsappVersion: whatsAppVersion,
    })
      .then((client) => start(client))
      .catch((error) => console.error(error))

@aleeixoj aleeixoj added bug Something isn't working needs triage labels Jul 29, 2024
Copy link

@aleeixoj, ⭐3 XP earned, 🏆First Issue Created completed!
Contribute more to raise your XP/Level, complete challenges for extra achievements! [Sign up for personal dashboard]

icon

@aryanbhasin
Copy link

any fix here?

@ethan2cl
Copy link

ethan2cl commented Sep 4, 2024

i got the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

3 participants