Comments (22)
Ik that the solution is not to be fixed in wwebjs but raised the bug here as wwebjs community is directly linked to WhatsApp web.
And most of the people use Ubuntu vps.
So if the community can come up with a solution because majority of people using the library would be facing the same issue.
And if whatsapp doesn't work properly then people won't be able to wwebjs.
Also there is no issue of interest connection as have tried with wifi, 4G and 5G network.
And there is no huge difference like I mentioned in the version.
So to sum up the issue is not directly linked to library but the issue is linked to Ubuntu and whatsapp so indirectly related to library as the library revolves arround whatsappCan we try in Linux?
Not working in Linux also
from whatsapp-web.js.
I get the same issue
from whatsapp-web.js.
The issue arises because whatsapp web is not working properly on ubuntu server.
I installed my ubuntu server with Desktop XFCE and just opened web.whatsapp.com without actually using the library.
The issue is that for some devices it logins but for most of the devices the qr just reloads.
So to sum up the issue is with ubuntu and whatsapp web.
I hope we can find a work around to use it because I am using my ubuntu server from the last 1 year with the library and it was working fine but now it doesn't.
from whatsapp-web.js.
Please do not close this issue as you guys must be trying with your number and it must be logging in.
Try with a different mobile number if possible and you will find the issue.
from whatsapp-web.js.
In having the same issue
from whatsapp-web.js.
Can't confirm this issue running on Ubuntu 22.04.4 LTS, Node v18.20.2 and wwebjs 2.2413.51.
from whatsapp-web.js.
@themazim please try with different mobile numbers. I am also using Ubuntu 22.04.4 LTS. The normal web.whatsapp.com doesn't work properly without even node and wwebjs on chrome and chromium.
from whatsapp-web.js.
@themazim please try with different mobile numbers. I am also using Ubuntu 22.04.4 LTS. The normal web.whatsapp.com doesn't work properly without even node and wwebjs on chrome and chromium.
I tried 4 different numbers (2 on ios and 2 on android) and I was not able to reproduce the issue. But I am using 2.2413.51 (beta).
from whatsapp-web.js.
WhatsApp.Video.2024-05-13.at.12.16.36_7cb31076.mp4
As you can clearly see here I am using ubuntu 22.04 with Desktop XFCE.
I just installed the ubuntu and connected using remote desktop with my windows machine.
Opened chromium and just entered web.whatsapp.com.
Now the issue is that the when login the qr code reloads like shown in the video.
Thing to note here is that I have tried google chrome, firefox too as a browser and have tried using the library too.
Also like mentioned by @themazim this issue doesn't happen for all the numbers.
I personally have 3 numbers out of which 2 are not working but one is working out of which the one not working is on android device and other two not working are on Android and IOS respectively.
I am also attaching the screenshot of how the phone looks like after the qr code reloads
from whatsapp-web.js.
The same issue arises when we use the wwebjs library as ultimately it opens whatsapp web too.
from whatsapp-web.js.
WhatsApp.Video.2024-05-13.at.12.16.36_7cb31076.mp4
As you can clearly see here I am using ubuntu 22.04 with Desktop XFCE. I just installed the ubuntu and connected using remote desktop with my windows machine. Opened chromium and just entered web.whatsapp.com. Now the issue is that the when login the qr code reloads like shown in the video.Thing to note here is that I have tried google chrome, firefox too as a browser and have tried using the library too. Also like mentioned by @themazim this issue doesn't happen for all the numbers. I personally have 3 numbers out of which 2 are not working but one is working out of which the one not working is on android device and other two not working are on Android and IOS respectively.
I am also attaching the screenshot of how the phone looks like after the qr code reloads
So it seems the issue is not related to wwebjs but rather WhatsApp and ubuntu / chromium.
Can you check the WhatsApp Versions on your phone?
I tested with versions.
IOS 2.24.8.85 & 2.24.9.74
Android 2.24.9.78 & WA Business 2.24.9.80
from whatsapp-web.js.
@gaurav23122001 As you have mentioned on one android it is working. What is version of whatsapp on it?
from whatsapp-web.js.
Yes the issue is not with Library more with WhatsApp and Ubuntu.
Not just chromium because I tried with different web browser like chrome and Firefox.
Android version: 2.24.9.78 and 2.24.9.80
WA Business 2.24.5.76
IOS 2.24.8.85
Having issues in Android version mentioned and IOS too. Not till WA BUSINESS version
from whatsapp-web.js.
@bhejosms The one Android that is working is on 2.24.9.78
Also another device that I have had the same version but is not working on it.
from whatsapp-web.js.
I am currently trying with different numbers and devices but I don't see any relation with the WhatsApp version
from whatsapp-web.js.
Any huge difference in the devices or Android version? Maybe unrelated, but are you by any chance using a proxy or have slow internet or the phones not using your wifi but instead their mobile connection?
From what I know your phone is sending chats to WhatsApp and it may just timeout or not send a certain request in time and thus the QR is generated again.
Either way, this still seems to be unrelated to the library and I assume it is not possible to fix this in wwebjs.
from whatsapp-web.js.
Ik that the solution is not to be fixed in wwebjs but raised the bug here as wwebjs community is directly linked to WhatsApp web.
And most of the people use Ubuntu vps.
So if the community can come up with a solution because majority of people using the library would be facing the same issue.
And if whatsapp doesn't work properly then people won't be able to wwebjs.
Also there is no issue of interest connection as have tried with wifi, 4G and 5G network.
And there is no huge difference like I mentioned in the version.
So to sum up the issue is not directly linked to library but the issue is linked to Ubuntu and whatsapp so indirectly related to library as the library revolves arround whatsapp
from whatsapp-web.js.
Ik that the solution is not to be fixed in wwebjs but raised the bug here as wwebjs community is directly linked to WhatsApp web. And most of the people use Ubuntu vps. So if the community can come up with a solution because majority of people using the library would be facing the same issue. And if whatsapp doesn't work properly then people won't be able to wwebjs.
Also there is no issue of interest connection as have tried with wifi, 4G and 5G network. And there is no huge difference like I mentioned in the version.
So to sum up the issue is not directly linked to library but the issue is linked to Ubuntu and whatsapp so indirectly related to library as the library revolves arround whatsapp
If there's an issue with the operating system, why was it running smoothly before? Why did it suddenly have an issue?
from whatsapp-web.js.
How would I know that it might be issue with WhatsApp web not sure but.
All I know is that I got to this point of debugging that issue is with OS and whatsapp comparability.
And not only me many people as you can see previous issues are facing the same issue
from whatsapp-web.js.
Were you able to debug this any further and check the console log or even add break points and check what happened under the hood?
from whatsapp-web.js.
Ik that the solution is not to be fixed in wwebjs but raised the bug here as wwebjs community is directly linked to WhatsApp web.
And most of the people use Ubuntu vps.
So if the community can come up with a solution because majority of people using the library would be facing the same issue.
And if whatsapp doesn't work properly then people won't be able to wwebjs.Also there is no issue of interest connection as have tried with wifi, 4G and 5G network.
And there is no huge difference like I mentioned in the version.So to sum up the issue is not directly linked to library but the issue is linked to Ubuntu and whatsapp so indirectly related to library as the library revolves arround whatsapp
Can we try in Linux?
from whatsapp-web.js.
The issue does not relate to the library.
from whatsapp-web.js.
Related Issues (20)
- Failed QR authentication: Scanning a QR generates another QR with an undefined part HOT 5
- Link Invite Wwebjs Official Discord is Broken HOT 4
- WhatsApp crash when client logout from device
- Cannot sent List, Polls or Buttons
- Erro ao iniciar o script! Alguem ajuda? HOT 1
- Upgrade to v1.24 causing exception while finding manifest version HOT 1
- throw new Error('Evaluation failed: ' + helper_js_1.helper.getExceptionMessage(exceptionDetails)); ^ Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') HOT 6
- Error initializing client Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'push') HOT 1
- System keep crashing when any one sending a big file size over 50m HOT 1
- QR code scanning doesn't work on AWS server HOT 1
- ProtocolError: Waiting for selector `div[role='textbox']` failed: Runtime.callFunctionOn timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed. HOT 1
- Could not create directory /wweb/sessions/cache/session-479717: Read-only file system (30) HOT 2
- Message.getInfo() does not show any deliveries (while WhatsApp Primary on phone shows deliveries) HOT 2
- LocalWebCache not working on web.whatsapp 2.3000 HOT 2
- Error when playing voice on IOS HOT 2
- Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'WidFactory') since 2024-Jun-11 HOT 2
- Chrome version error HOT 3
- Error when opening new client HOT 1
- Error when scanning QR HOT 1
- Error when scanning QR HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-web.js.