Closed rahulmehra1496 closed 6 months ago
Yes we facing the same issue
Same error. This is happening on Whatsapp web as well. This is what is causing the error
getting same issue
1+
After updating whatsapp app to latest version, it works for me, I was facing same issue in the morning
can you provide me ver because we tested v-2.24.9.80 with the same issue
v-2.24.9.80 yes its latest with same issue
https://whatsapp-messenger.en.uptodown.com/android/download/113660134
whatsapp all vision list
update to 2.24.10.21 but still not working in whatsapp business
After updating whatsapp app to latest version, it works for me, I was facing same issue in the morning
Nah it's not working
After updating whatsapp app to latest version, it works for me, I was facing same issue in the morning
This version works for me with the latest version of the library
I'm beta user
not working
Experiencing the same issue. All existing accounts are getting log out.
this seems to be happening for india users only
this seems to be happening for india users only
Yes inky for Indian number
Experiencing the same issue. All existing accounts are getting log out.
Existing account can't get logout but new connection didn't link
@PurpShell @SheIITear
this error only happens with Indian mobile number I test same code same version from other country mobile number then its working fine
this error only happens with Indian mobile number I test same code same version from other country mobile number then its working fine
Due to WhatsApp Indian user in heavy numbers
this error only happens with Indian mobile number I test same code same version from other country mobile number then its working fine
Due to WhatsApp Indian user in heavy numbers
Maybe indian users are att top in spamming so................ its a gift from whatsapp for indian numbers
Hi everyone,
I've reviewed the ongoing discussion about the logout issue after scanning. It seems this might be related to WebSocket conflicts, specifically with new connections. Has anyone tried debugging the WebSocket traffic to pinpoint when the conflict occurs, or if specific conditions exacerbate this issue? It might also help to confirm if this issue persists across different versions of Baileys and WhatsApp Web, or if it's localized to specific versions.
yes, Again the same issue last time fixed by @SheIITear #702
+1
this error only happens with Indian mobile number I test same code same version from other country mobile number then its working fine
Due to WhatsApp Indian user in heavy numbers
Maybe indian users are att top in spamming so................ its a gift from whatsapp for indian numbers
Not only that, but WhatsApp got caught in the Indian legal tangle. So more encryption is done on Indian numbers in new updates
I've noticed that even though Baileys previously addressed this logout issue, it seems to have resurfaced. Could this be related to recent updates either in Baileys or WhatsApp itself? It might be helpful to track changes in both applications that could have re-introduced this bug. If anyone has insights into the specific changes or commits that might be causing this, sharing that could be crucial to finding a workaround or permanent fix.
this error only happens with Indian mobile number I test same code same version from other country mobile number then its working fine
Due to WhatsApp Indian user in heavy numbers
Maybe indian users are att top in spamming so................ its a gift from whatsapp for indian numbers
Not only that, but WhatsApp got caught in the Indian legal tangle. So more encryption is done on Indian numbers in new updates
It's interesting to note that this error seems initially isolated to Indian mobile numbers. However, I've conducted some tests using the same code and version with numbers from other countries, and there were no issues. This might suggest that the problem could eventually affect users globally as WhatsApp updates roll out further. It’s important for us to keep an eye on this and share any new findings that could help everyone better understand and possibly circumvent this issue.
In the last issue I facilitated @SheIITear to test the Indian number. Trying to contact him now
Thanks for mentioning that. I recall facilitating the tests with @SheIITear on the Indian number issue. I'm trying to get in touch with him now to see if we can gather more insights or replicate the problem to understand it better. If anyone else has similar experiences or data to share, please do contribute!
Thanks for mentioning that. I recall facilitating the tests with @SheIITear on the Indian number issue. I'm trying to get in touch with him now to see if we can gather more insights or replicate the problem to understand it better. If anyone else has similar experiences or data to share, please do contribute!
Remember! Only problem with new QR link. The ones linked earlier are still working.
Yes, that's correct. It appears the problem is specifically with linking new devices via the new QR code. Devices that were previously linked are still functioning normally. This distinction is crucial for troubleshooting the issue further.
Also, this problem seems to be isolated to cloud servers. Works perfectly fine on local machines
if needed to connect and test , we will give Indian numbers
Also, this problem seems to be isolated to cloud servers. Works perfectly fine on local machines
Yes, it seems this issue is specific to cloud servers, as local machines, particularly those running Windows, are not affected and function correctly. This could be a key detail in pinpointing the source of the problem.
if needed to connect and test , we will give Indian numbers
how I help??
Same error. This is happening on Whatsapp web as well. This is what is causing the error
I spun up a windows server on gcp, and tried to connect my phone to web WhatsApp. No code injection. This was the error
This looks like some sort of a bug in retrieving details of the user during initial connect
Did anyone manage to solve it?
`const { makeWASocket, useMultiFileAuthState } = require('@whiskeysockets/baileys'); const qrcode = require('qrcode-terminal');
async function initializeWhatsApp() { const { state, saveState } = await useMultiFileAuthState('./auth_info');
const socket = makeWASocket({
auth: state
});
socket.ev.on('connection.update', (update) => {
console.log('Connection Update:', update);
if (update.connection === 'close') {
console.log('Disconnected:', update.lastDisconnect?.error);
// Add reconnection logic if needed
} else if (update.qr) {
console.log('QR Code:', update.qr);
qrcode.generate(update.qr, { small: true });
}
});
socket.ev.on('connection.update', (update) => {
console.log('Connection Update:', update);
});
socket.ev.on('messages.upsert', (msg) => {
console.log('New message:', JSON.stringify(msg, null, 2));
// Respond to messages or handle them as needed
});
}
initializeWhatsApp();
After the scanning, the device shows the below errors
Connection Update: {
connection: 'close',
lastDisconnect: {
error: Error: Stream Errored (restart required)
at WebSocketClient.
E:\My Node\baileys> `
Do these changes solve the problem?
Still Not Fixed.
We are also facing the same issue. It's only some of our numbers though so not sure what's going on. But same error:
connection update {
connection: 'close',
lastDisconnect: {
error: Error: Stream Errored (restart required)
at WebSocketClient.
Now it's working but with old bailey version.
Now it's working but with old bailey version.
which version are you using?
Now it's working but with old bailey version.
which version are you using?
Hello friends, after fix this issue i shell notify you on my youtube or whatsapp channel go and follow to Tech God
We've successfully integrated the latest version of Baileys in a new project running on a Windows PC, and it works perfectly. However, on cloud servers, the session disconnects right after scanning. It seems WhatsApp LLC might be specifically targeting Indian (+91) numbers, which frequently use unofficial APIs. This could indicate a significant shift in the unofficial API market in India, perhaps signaling an end to its current form.
It also happened to me with a 972 in Israel Disconnects right after scanning, even when singing in Israel, not necessarily in the cloud
ubunto 20.04 Baylis updated version 6.7.2
It's happens only on cloud server but local machine it's working perfectly
Plze solve this problem auto logout on WhatsApp
Yes its confirmed its working at local machine with same code and Indian number issue causing only on cloud servers maybe they are tracking any type of server requests
connection closed due to Error: Stream Errored (conflict)
at WebSocketClient.
Phone Number loggout instantly after scanning getting below error:-
Connection closed. You are logged out. 3|WaunofficialNode3007 | updateInstanceStatus 339 | Changing instance status to :: false 3|WaunofficialNode3007 | startsock :: connection update { 3|WaunofficialNode3007 | connection: 'close', 3|WaunofficialNode3007 | lastDisconnect: { 3|WaunofficialNode3007 | error: Error: Stream Errored (conflict) 3|WaunofficialNode3007 | at WebSocket. (/opt/NodeJs/WAMultiDevice3007/whatsappmultipledevice/Baileys-master/src/Socket/socket.ts:514:7)
3|WaunofficialNode3007 | at WebSocket.emit (events.js:400:28)
3|WaunofficialNode3007 | at WebSocket.emit (domain.js:475:12)
3|WaunofficialNode3007 | at /opt/NodeJs/WAMultiDevice3007/whatsappmultipledevice/Baileys-master/src/Socket/socket.ts:278:23
3|WaunofficialNode3007 | at Object.decodeFrame (/opt/NodeJs/WAMultiDevice3007/whatsappmultipledevice/Baileys-master/src/Utils/noise-handler.ts:164:5)
Old connections are working but new connections are not made.