whatsapp-api-nodejs icon indicating copy to clipboard operation
whatsapp-api-nodejs copied to clipboard

Instability..

Open caiogrigoleto opened this issue 2 years ago • 8 comments

It is very unstable, devices keep losing connection..

If the device is inactive for a long time, can it disconnect from the API?

caiogrigoleto avatar Jul 04 '23 19:07 caiogrigoleto

@caiogrigoleto please explain it better :)

joaroque avatar Jul 05 '23 12:07 joaroque

I noticed that when the cell phone is inactive for a long time it is automatically disconnected from the API, in some cases it keeps switching between connected and disconnected very quickly, I have already looked at the log and it does not show any error or information regarding this disconnection. @joaroque

caiogrigoleto avatar Jul 05 '23 16:07 caiogrigoleto

I noticed that when the cell phone is inactive for a long time it is automatically disconnected from the API, in some cases it keeps switching between connected and disconnected very quickly, I have already looked at the log and it does not show any error or information regarding this disconnection. @joaroque

You have to open whatsapp app on your phone once in 14 days if you don't you device will be logged out.

https://faq.whatsapp.com/378279804439436#:~:text=Your%20phone%20doesn't%20need,account%20and%20link%20new%20devices.

salman0ansari avatar Jul 05 '23 18:07 salman0ansari

I'm facing the same problem, the sessions drop in less than approximately 4 hours.

This started to occur when I migrated to Docker. I'll do a test removing it from Docker and return here.

exallhost avatar Jul 06 '23 03:07 exallhost

I'm facing the same problem, the sessions drop in less than approximately 4 hours.

This started to occur when I migrated to Docker. I'll do a test removing it from Docker and return here.

How did you manage to solve the problems?

caiogrigoleto avatar Jul 11 '23 12:07 caiogrigoleto

We are also having issues with sessions definitely crashing from time to time, and also with sessions leaving and coming back. We use the last code.

solonalbuquerque avatar Jul 14 '23 18:07 solonalbuquerque

I'm facing the same problem, the sessions drop in less than approximately 4 hours. This started to occur when I migrated to Docker. I'll do a test removing it from Docker and return here.

How did you manage to solve the problems?

Yes, after removing Docker I had an improvement of 50%, before 10 accounts dropped today only 5 are dropping.

exallhost avatar Jul 18 '23 17:07 exallhost

I'm facing the same problem, the sessions drop in less than approximately 4 hours. This started to occur when I migrated to Docker. I'll do a test removing it from Docker and return here.

How did you manage to solve the problems?

Yes, after removing Docker I had an improvement of 50%, before 10 accounts dropped today only 5 are dropping.

I'm going to try to do this, run outside of docker ..

caiogrigoleto avatar Jul 18 '23 18:07 caiogrigoleto