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

La aplicación se desvincula aleatoriamente #1865

Open
m3ck0 opened this issue Oct 6, 2023 · 3 comments
Open

La aplicación se desvincula aleatoriamente #1865

m3ck0 opened this issue Oct 6, 2023 · 3 comments
Labels
bug Something isn't working needs triage

Comments

@m3ck0
Copy link

m3ck0 commented Oct 6, 2023

Description

La sesión se desconecta aleatoriamente cuando reinicio la aplicación.(The session disconnects randomly when I restart the application.)

Este comportamiento no es esperado porque normalmente en Whatsapp web no tengo que volver a sincronizar cuando reinicio la computadora. (This behavior is not expected because normally in Whatsapp web I don't have to re-pair when I restart the computer)

¿Qué está sucediendo en este caso que causa esto y cómo puedo manejarlo, si tiene alguna sugerencia? (What is happening in this case which causes this and how I can handle it, if you have any suggestions?)

Environment

  • WPPConnect version(s): 1.28.0
  • WA-JS version(s): 2.24.8
  • Browser: Chrome XX / Chromium XX (latest, as per this repo tag: v.2.2.5)
  • OS: Ubuntu 22
  • Node version: Node 18.18 (docker node:lts-alpine-18)
  • WhatsApp version: 2.23.19.84 (Sep28, 2023)
  • MultiDevice (BETA): no

Steps to Reproduce

  1. empareje la aplicación con wppconnect usando la funcionalidad webhook (pair app with wppconnect using webhook functionality)
  2. reinicie el contenedor Docker varias veces con varias horas de intervalo (restart Docker container multiple times with several hours interval)
  3. El WPPConnect se desempareja (WPPConnect unpairs)

Log Output

Los estados de la sesión tienen este orden después del reinicio. (Session states have this order after reboot.)

  1. inChat
  2. desconnectedMobile
  3. browserClose
  4. notLogged
  5. qrReadError
  6. browserClose

Your Code

No tengo ninguna modificación de código excepto la configuración.(I don't have any code modification except configuration.)

Aquí solo se enumeran los valores modificados en el archivo config.ts (Only the modified values in the file are listed here):

{
    ...
    deviceName: 'Desktop',
    webhook: {
       url: 'link to my webhook',
    }
}

Additional context / Screenshot

  • Estoy usando Docker con la funcionalidad de webhook habilitada (I am using Docker with webhook functionality enabled)
  • La persistencia del volumen está configurada correctamente, porque en la mayoría de los reinicios la sesión se vuelve a conectar. (Volume persistence is configured correctly, because on most reboots the session reconnects.)
@m3ck0 m3ck0 added bug Something isn't working needs triage labels Oct 6, 2023
@momokang
Copy link

Yes, I do have this issue and it occur very randomly, last time is RAM issue so I upgraded my RAM, but now RAM is stable and it is still happening, do anyone have idea how to solve it?
I would like it to connect without logout randomly.

@icleitoncosta
Copy link
Contributor

Yes, I do have this issue and it occur very randomly, last time is RAM issue so I upgraded my RAM, but now RAM is stable and it is still happening, do anyone have idea how to solve it?
I would like it to connect without logout randomly.

Could you post your machine's configurations here?

@m3ck0
Copy link
Author

m3ck0 commented Mar 7, 2024

@icleitoncosta what kind of configuration details you'd like to know? For resources we have tried really high-end machines (4vCPU, 16GB memory) for a single device to make sure that the resources were not the problem & utilization was always low.

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