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

You have been logged out for rusing an unofficial app #561

Open
masewo opened this issue Mar 28, 2024 · 6 comments
Open

You have been logged out for rusing an unofficial app #561

masewo opened this issue Mar 28, 2024 · 6 comments

Comments

@masewo
Copy link

masewo commented Mar 28, 2024

Hello!
I am happily using this library to send some messages and files with some of my numbers since over a year.
Yesterday I got with two of my numbers a forced logout with the message in the logs and on the phone: "You have been logged out for using an unofficial app."

Anybody also got this and maybe knows what is the reason for this?

I am on version v0.0.0-20240316104858-18372a0653fa.

WhatsApp Image 2024-03-27 at 19 13 59

Logs
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.395 [Client 📞/Recv DEBUG] <stream:error code=\"503\"/>"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.395 [Client 📞/Recv DEBUG] <xmlstreamend/>"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.395 [Client 📞 WARN] Received stream end frame"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.396 [Client 📞 WARN] Got 503 stream error, assuming automatic reconnect will handle it"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.518 [Client 📞/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.518 [Client 📞/Socket DEBUG] Frame websocket read pump exiting 0xc00043d110"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.519 [Client 📞 DEBUG] Closing handler queue loop"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.519 [Client 📞 DEBUG] Emitting Disconnected event"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.519 [Client 📞 DEBUG] Automatically reconnecting after 0s"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.519 [Client 📞/Socket DEBUG] Dialing wss://web.whatsapp.com/ws/chat"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.726 [Client 📞/Socket DEBUG] Frame websocket read pump starting 0xc0004e4340"
time="2024-03-27T10:25:32Z" level=info msg="10:25:32.844 [Client 📞 DEBUG] Starting handler queue loop"
time="2024-03-27T10:25:36Z" level=info msg="10:25:36.875 [Client 📞/Recv DEBUG] <failure location=\"nao\" logout_main_button_text=\"Log in\" logout_message_header=\"You have been logged out for using an unofficial app.\" logout_message_locale=\"en\" logout_message_subtext=\"Download the official WhatsApp and verify your account to log back in.\" logout_secondary_button_text=\"Download WhatsApp\" logout_secondary_button_url=\"https://whatsapp.com/download\" reason=\"403\"/>"
time="2024-03-27T10:25:36Z" level=info msg="10:25:36.875 [Client 📞 DEBUG] Message for 403 connect failure: You have been logged out for using an unofficial app. / Download the official WhatsApp and verify your account to log back in."
time="2024-03-27T10:25:36Z" level=info msg="10:25:36.875 [Client 📞 INFO] Got 403: primary device was logged out connect failure, sending LoggedOut event and deleting session"
time="2024-03-27T10:25:36Z" level=info msg="10:25:36.989 [Client 📞/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF"
time="2024-03-27T10:25:36Z" level=info msg="10:25:36.989 [Client 📞/Socket DEBUG] Frame websocket read pump exiting 0xc0004e4340"
time="2024-03-27T10:25:36Z" level=info msg="10:25:36.989 [Client 📞 DEBUG] OnDisconnect() called, but it was expected, so not emitting event"
time="2024-03-27T10:25:37Z" level=info msg="10:25:37.039 [Client 📞 DEBUG] Closing handler queue loop"



time="2024-03-27T14:26:51Z" level=info msg="14:26:51.777 [Client 📞/Recv DEBUG] <stream:error code=\"503\"/>"
time="2024-03-27T14:26:51Z" level=info msg="14:26:51.777 [Client 📞/Recv DEBUG] <xmlstreamend/>"
time="2024-03-27T14:26:51Z" level=info msg="14:26:51.777 [Client 📞 WARN] Received stream end frame"
time="2024-03-27T14:26:51Z" level=info msg="14:26:51.777 [Client 📞 WARN] Got 503 stream error, assuming automatic reconnect will handle it"
time="2024-03-27T14:26:51Z" level=info msg="14:26:51.867 [Client 📞/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF"
time="2024-03-27T14:26:51Z" level=info msg="14:26:51.867 [Client 📞/Socket DEBUG] Frame websocket read pump exiting 0xc000a0b040"
time="2024-03-27T14:26:51Z" level=info msg="14:26:51.868 [Client 📞 DEBUG] Closing handler queue loop"
time="2024-03-27T14:26:51Z" level=info msg="14:26:51.868 [Client 📞 DEBUG] Emitting Disconnected event"
time="2024-03-27T14:26:51Z" level=info msg="14:26:51.868 [Client 📞 DEBUG] Automatically reconnecting after 0s"
time="2024-03-27T14:26:51Z" level=info msg="14:26:51.868 [Client 📞/Socket DEBUG] Dialing wss://web.whatsapp.com/ws/chat"
time="2024-03-27T14:26:52Z" level=info msg="14:26:52.037 [Client 📞/Socket DEBUG] Frame websocket read pump starting 0xc000a26b60"
time="2024-03-27T14:26:52Z" level=info msg="14:26:52.144 [Client 📞 DEBUG] Starting handler queue loop"
time="2024-03-27T14:26:53Z" level=info msg="14:26:53.780 [Client 📞/Recv DEBUG] <failure location=\"rva\" logout_main_button_text=\"Log in\" logout_message_header=\"You have been logged out for using an unofficial app.\" logout_message_locale=\"en\" logout_message_subtext=\"Download the official WhatsApp and verify your account to log back in.\" logout_secondary_button_text=\"Download WhatsApp\" logout_secondary_button_url=\"https://whatsapp.com/download\" reason=\"403\"/>"
time="2024-03-27T14:26:53Z" level=info msg="14:26:53.780 [Client 📞 DEBUG] Message for 403 connect failure: You have been logged out for using an unofficial app. / Download the official WhatsApp and verify your account to log back in."
time="2024-03-27T14:26:53Z" level=info msg="14:26:53.780 [Client 📞 INFO] Got 403: primary device was logged out connect failure, sending LoggedOut event and deleting session"
time="2024-03-27T14:26:53Z" level=info msg="14:26:53.885 [Client 📞/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF"
time="2024-03-27T14:26:53Z" level=info msg="14:26:53.885 [Client 📞/Socket DEBUG] Frame websocket read pump exiting 0xc000a26b60"
time="2024-03-27T14:26:53Z" level=info msg="14:26:53.886 [Client 📞 DEBUG] OnDisconnect() called, but it was expected, so not emitting event"
time="2024-03-27T14:26:54Z" level=info msg="14:26:54.216 [Client 📞 DEBUG] Closing handler queue loop"
@mamur-rezeki
Copy link

I experienced the same thing when using an unofficial Android application.

@BastianOrth2
Copy link

Got also Disconnect with 2 numbers, both running WA-Business
image

@ssteeltm
Copy link

ssteeltm commented Apr 2, 2024

happened here too with one number that uses business

@togume
Copy link

togume commented Apr 17, 2024

Did this get resolved? What was the reason for this? We're considering using this library, so curious if this will become a blocker. Thanks!

@BastianOrth2
Copy link

No, but also no further disconnects with this warning with other numbers. Used 1 of the 2 numbers again with the service and works until now, not sure if it will lead to a ban in the long run

@HoshenKadosh
Copy link

Not sending WAM data, seems to be related, i think we need to work on an implementation for this library too.
related: WhiskeySockets/Baileys#708

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants