venomous0x / WhatsAPI

Interface to WhatsApp Messenger
2.59k stars 2.13k forks source link

Problems using Amazon (AWS)? #944

Closed rodrigofaillace closed 10 years ago

rodrigofaillace commented 10 years ago

Just sharing:

As last @mgp25 comment says, they might be checking IP.

Using AWS micro instance, with it originals Whatsapi PHP client, and a new SIM Card... result -> login failure!

Might be a IP range black-list...

Anyone with the same problem?

hgc2002 commented 10 years ago

Yes, absolutely

guikolt commented 10 years ago

same thing here, tested on two totally different ip blocks from amazon (but yes, still amazon), and both new fresh sim cards were blocked as soon as I logged in. did not even send a single message or anything, just logged in.

so yes, it seems that they are blocking datacenters: Amazon and OVH so far.

rodrigofaillace commented 10 years ago

Try registering your brand new sim on your smartphone first. Secondly, log in AWS. Please, let me know if youreach success.

guikolt commented 10 years ago

so you think the problem is during the register process ? I'll try it later and I'll let you know, thanks.

rodrigofaillace commented 10 years ago

I am not 100% sure. But I believe so. *do not forget to download the latest files (the token ones - released about one month ago)

mgp25 commented 10 years ago

WhatsApp blocks IP, so if you are using multiple senders under the same IP, all the numbers you will try under that IP will be blocked.

Also be sure to have a non outdated version. I recommend .370 user agent, version and classesmd5.

With that should work fine.

hgc2002 commented 10 years ago

False. Multiple senders with the same IP can be, as example, in the same building (in the same company, using the corporate proxy to link with the wa server). This has been this way since the web is what it is. Multiple senders can be in the same home (father, mother, etc.) using the house router to NAT, etc. The truth here is that the whole public IP set (huge!) assigned to AWS has been banned by wa. Just that. You can check very easy if an IP is from AWS just using any NSLOOKUP service available on Internet.

mgp25 commented 10 years ago

Yes, its logic. This was told many times... According to WhatsApp EULA, people please go and check it, you will see this things are not allowed. Thats why they might block that. There are reasons.

rodrigofaillace commented 10 years ago

Hello, @hgc2002 . I didn´t understand what your "False" sentence refers,

I agree with you @mgp25 and @hgc2002 . It is very easy to know if it is a AWS server.

But I cannot say that AWS is 100% blocked cause I am using it right now. I just needed to change my way of register a brand new SIM card (now I need first to register using it´s original WhatsApp App before registering in PC).

All other readers: Don´t consider what I did as a rule or a right way to do things. I am just sharing what is working for me. Till today. ;)

hgc2002 commented 10 years ago

Ok, good to know that AWS is not fully banned, but I prefer to be out of there. Anyway, thanks for the info and yes, my "false" is false. You are right on this.

hgc2002 commented 10 years ago

I think we should close this issue.