mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.02k stars 796 forks source link

Late messages delivering #1135

Open angmon73 opened 2 years ago

angmon73 commented 2 years ago

Hello, since the last week I have strange behaviour in my whatsapp system based on WebWhatsapp Wrapper. Sometimes messages are delivered 15 - 20 minutes after they are sent. Two hours ago I did this test: open the VNC whatsapp web browser (used from Selenium), open a second whatsapp web browser (I'm using the last whatsapp beta version), open whatsapp on the associated phone. Up to 12.15 AM all worked well, but starting from that time I could see new messages arriving on phone and on second whatsapp web, but not in the first VNC whatsapp web. It received these "late delivered" messages (a bunch of 25 or 30 text and voice messages) 20 minutes after they have been showed on phone and on the second Whatsapp web. How it possible? Only in the web browser associated to Selenium they were 20 minutes late!!!

Other times, in the last week I had the "Error in function getUnreadMessages (Error: Accessing TypedArray data over Xrays is slow,...." error, but not this morning. During the last test I had just some "Error in function sendSeen (Document was unloaded)...." and "'NoneType' object has no attribute 'lower'", but I think they are not blocking errors (however I don't know whats 'NoneType' object has no attribute 'lower' means...).

Can someone helps me? Thank you in advance

angmon73 commented 2 years ago

In addition to what has already been said, I add that starting from yesterday, I connected the whatsapp service to another phone number. It seems that using the first phone number I have late and slow messages delivering, using another one I have correct delivering. Any idea about that? Thank you in advance