WhiskeySockets / Baileys

Lightweight full-featured typescript/javascript WhatsApp Web API
https://baileys.whiskeysockets.io/
MIT License
3.52k stars 1.19k forks source link

After scanning the QR, Whatsapp bans the number. #225

Closed sekooo closed 10 months ago

sekooo commented 1 year ago

I'am using WA v2.2325.3,

I have problem, last a few days... After scanning the QR, Whatsapp bans the number.

I've never had a problem like this before.

bentacos commented 1 year ago

your server ip is probably blacklisted. use another server. if you are using a local machine at home, restart your internet modem to get a new residential ip.

sekooo commented 1 year ago

I'm not sure if the phone with installed Whatsapp or the PC with baileys is causing this problem.

Piyoxz commented 1 year ago

I'm not sure if the phone with installed Whatsapp or the PC with baileys is causing this problem.

  1. Use the original WhatsApp and the latest version

  2. When you've just been banned by WhatsApp, don't use bots yet, wait 2-3 weeks

  3. reduce chat spam

taironeAlves commented 1 year ago

I'am using WA v2.2323.4 and i got banned too.

alokid commented 1 year ago

To minimize the risk of being blocked by WhatsApp, you need to comply with their policies and terms of service. Here are some tips that can help you avoid being blocked by WhatsApp:

  1. Don't send spam: Don't send unwanted or unsolicited messages to people you don't know or who don't want to receive messages from you. Do not send bulk or automated messages.

  2. Use WhatsApp account for personal purposes: Do not use your WhatsApp account for commercial or promotional purposes without permission from WhatsApp.

  3. Do not send unlawful or copyright-infringing content: Do not send unlawful, hateful, or copyright-infringing content.

  4. Don't abuse WhatsApp features: Don't abuse features like blocking or spam reports.

  5. Make sure you are using the latest version of WhatsApp: Always use the latest version of WhatsApp to ensure that you have the latest security and privacy features.

By following these tips and complying with WhatsApp's policies and terms of service, you can minimize the risk of being blocked by the service.

sekooo commented 1 year ago

I tried with 20 new numbers (not used before, no spam), as soon as I enter the device connect screen and scan the baileys QR code, whatsapp bans the number.

Has anyone been able to enter the system by scanning a QR for the last 1-2 days?

Piyoxz commented 1 year ago

I tried with 20 new numbers (not used before, no spam), as soon as I enter the device connect screen and scan the baileys QR code, whatsapp bans the number.

Has anyone been able to enter the system by scanning a QR for the last 1-2 days?

use WhatsApp for 2 weeks/1 month without becoming a bot, wait for it to be safe, then you can scan the bot

andresayac commented 1 year ago

It has happened to me with whatsapp plus, so I suspect that it is the same case even using whatsapp web without baileys

Riders004 commented 1 year ago

I tried with 20 new numbers (not used before, no spam), as soon as I enter the device connect screen and scan the baileys QR code, whatsapp bans the number.

Has anyone been able to enter the system by scanning a QR for the last 1-2 days?

But My WhatsApp Is Working Good

Riders004 commented 1 year ago

It has happened to me with whatsapp plus, so I suspect that it is the same case even using whatsapp web without baileys

But My WhatsApp Is Working Good

ahmeaqas commented 1 year ago

I am facing same issue with my few numbers. Others are still working.

I have deployed it on a Godaddy VPS and multiple Whatsapp sessions in one intance.

jefaokpta commented 1 year ago

same issue here. I have 34 connections on the same IP and in new connections I have got banned randomly in last 2 weeks. WhatsApp blacklist really exists?

your server ip is probably blacklisted. use another server. if you are using a local machine at home, restart your internet modem to get a new residential ip.

drauber commented 11 months ago

I am currently facing this. The numbers are connected, they are not sending spam and a few minutes after being connected they are banned.

drauber commented 11 months ago

Yesterday I'm running the server on DC on Finland, with number from BR. Today i start a new server, with new numbers, on BR DC, and the problem is the same.

AnderRedna commented 11 months ago

Yesterday I'm running the server on DC on Finland, with number from BR. Today i start a new server, with new numbers, on BR DC, and the problem is the same.

Did you find a solution?

ahmeaqas commented 11 months ago

If you are using multiple accounts with a single instance, it may be the cause of the root problem.

Just move it to docker and run multiple docker instance and everything will go fine.

I you need assistance, I can help you out but seeking our services is not free.

On Fri, 29 Sept 2023, 8:51 am Ander, @.***> wrote:

Yesterday I'm running the server on DC on Finland, with number from BR. Today i start a new server, with new numbers, on BR DC, and the problem is the same.

Did you find a solution?

— Reply to this email directly, view it on GitHub https://github.com/WhiskeySockets/Baileys/issues/225#issuecomment-1740270476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6LAR5RWREDKPY2PQUXB63X4ZAUPANCNFSM6AAAAAAZ625WVE . You are receiving this because you commented.Message ID: @.***>

ahmeaqas commented 11 months ago

Check it out gigs on fiverr at https://www.fiverr.com/s/9oZw2Y

On Fri, 29 Sept 2023, 8:51 am Ander, @.***> wrote:

Yesterday I'm running the server on DC on Finland, with number from BR. Today i start a new server, with new numbers, on BR DC, and the problem is the same.

Did you find a solution?

— Reply to this email directly, view it on GitHub https://github.com/WhiskeySockets/Baileys/issues/225#issuecomment-1740270476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6LAR5RWREDKPY2PQUXB63X4ZAUPANCNFSM6AAAAAAZ625WVE . You are receiving this because you commented.Message ID: @.***>

drauber commented 11 months ago

Yesterday I'm running the server on DC on Finland, with number from BR. Today i start a new server, with new numbers, on BR DC, and the problem is the same.

Did you find a solution?

Not yet, but it seems like the @ahmeaqas hypothesis makes sense.

@ahmeaqas in your suggestion, i need to run each account in one docker instance? Only start a new Baileys instance is not a good idea?

Thanks

Fonnte commented 11 months ago

when your number got banned after scan, is previously your whatsapp got banned (whether the same or different number)?

drauber commented 11 months ago

when your number got banned after scan, is previously you whatsapp got banned (whether the same or different number)?

In the last two weeks i have tried at least 25 new numbers.

Generally the number is not banned immediately, but within a few minutes or even hours, even without shots being fired. Just a very few test messages exchanged between my numbers. No spam, no repeated messages, no reports.

ahmeaqas commented 11 months ago

I faced similar situation for a client and we investigate it deeper. You might seen my previously message months ago in this post when we were facing that same problem. Since then our system is working as expected with 4 numbers on one vps with no down time.

Only there is one limitation, if you send bulk messages to a large number of users and few of them report you as spam, your number will get banned.

On Fri, 29 Sept 2023, 2:15 pm Fonnte, @.***> wrote:

when your number got banned after scan, is previously you whatsapp got banned (whether the same or different number)?

— Reply to this email directly, view it on GitHub https://github.com/WhiskeySockets/Baileys/issues/225#issuecomment-1740569606, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6LARZOPWWH3KA4HJEPYWTX42GSVANCNFSM6AAAAAAZ625WVE . You are receiving this because you were mentioned.Message ID: @.***>

xXDeonoXx commented 11 months ago

i'm having the same issue but with another lib, lately a lot of numbers are being banned.

AnderRedna commented 11 months ago

I had this problem yesterday, so I sent a message to support and they unbanned my number. Then I saw that my whatsapp business was out of date, I updated and redid it and so far everything is fine.

Auties00 commented 10 months ago

Closing as this is not really the lib's fault, it's up to WhatsApp to decide how strict they are with their anti spam measures

j05u3 commented 10 months ago

Anyways, I would love to have all theses experiences and reports about Whatsapp anti spam measures shared in some place, preferably within some sort of reputation badges in a way that we can establish/assign some trust to the posters.

Wait I guess kinda like this discord channel: https://discord.gg/6rjTRMCapV

Harukisatoh commented 9 months ago

Hey guys, be careful if you're copying the multi-connection example code. I did it, and as soon as I connected Bailey started to spam messages to my own number. Maybe that's causing the ban.

To avoid that, just remove the sock.ev.on('messages.upsert', () => {}) section.

LuizLivio2 commented 9 months ago

Hey guys, be careful if you're copying the multi-connection example code. I did it, and as soon as I connected Bailey started to spam messages to my own number. Maybe that's causing the ban.

To avoid that, just remove the sock.ev.on('messages.upsert', () => {}) section.

Yeah, but as soon as you implement the messages.upsert event listener again, it bans your number. You don't want to remove this, otherwise, you will not receive any messages.

josewweee commented 7 months ago

any solution for this?

ahmeaqas commented 7 months ago

If you want to use multi, then deploy it on docker. If someone interested, I can do it for you.

On Thu, 25 Jan 2024, 11:24 pm jose, @.***> wrote:

any solution for this?

— Reply to this email directly, view it on GitHub https://github.com/WhiskeySockets/Baileys/issues/225#issuecomment-1910754840, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6LAR2RUQ2KGO7JF7YH6OLYQKPNPAVCNFSM6AAAAAAZ625WVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQG42TIOBUGA . You are receiving this because you were mentioned.Message ID: @.***>

Riders004 commented 7 months ago

Hey guys, be careful if you're copying the multi-connection example code. I did it, and as soon as I connected Bailey started to spam messages to my own number. Maybe that's causing the ban.

To avoid that, just remove the sock.ev.on('messages.upsert', () => {}) section.

Multi connection like ?

ahmeaqas commented 7 months ago

Multiple WhatsApp accounts on same server / computer

On Fri, 26 Jan 2024, 11:25 am Riders004, @.***> wrote:

Hey guys, be careful if you're copying the multi-connection example code. I did it, and as soon as I connected Bailey started to spam messages to my own number. Maybe that's causing the ban.

To avoid that, just remove the sock.ev.on('messages.upsert', () => {}) section.

Multi connection like ?

— Reply to this email directly, view it on GitHub https://github.com/WhiskeySockets/Baileys/issues/225#issuecomment-1911548168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6LARYPS3N6YCQNGUP46Y3YQND7BAVCNFSM6AAAAAAZ625WVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRGU2DQMJWHA . You are receiving this because you were mentioned.Message ID: @.***>

Riders004 commented 7 months ago

Multiple WhatsApp accounts on same server / computer On Fri, 26 Jan 2024, 11:25 am Riders004, @.> wrote: Hey guys, be careful if you're copying the multi-connection example code. I did it, and as soon as I connected Bailey started to spam messages to my own number. Maybe that's causing the ban. To avoid that, just remove the sock.ev.on('messages.upsert', () => {}) section. Multi connection like ? — Reply to this email directly, view it on GitHub <#225 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6LARYPS3N6YCQNGUP46Y3YQND7BAVCNFSM6AAAAAAZ625WVGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRGU2DQMJWHA . You are receiving this because you were mentioned.Message ID: @.>

How ?