venomous0x / WhatsAPI

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

Wart Error #1079

Open vigiman opened 9 years ago

vigiman commented 9 years ago

Hi While using the latest (as far as i could tell) 1.7.2.0 Wart to request a code i've got an error message going like this: Could not request code using either sms or voice. SMS: {"status":"fail","reason":"no_routes"."retry_after":3600 Voice:{"status":"fail","reason":"no_routes"."retry_after":3600} tried from several computers using several numbers - same error repeats. this is not my first time or number registering trough wart,usually, if i get into an error it is because my version is not up to date, and right now i can't tell what's wrong ... please, I would really use of some help thank you

edit: even after trying to manually register using api scripts (typing my own mnc and mcc) got the same output stdClass Object ( [status] => fail [reason] => no_routes [retry_after] => 3600 )

moosaviamir commented 9 years ago

Same problem here! Is this project still active or not?

vigiman commented 9 years ago

everything is active if your number is already registered, but there is a problem to register new numbers in the last couple of days. unfortunately my developer number got blocked while testing large amount of messages (of course not for abusing purposes - but to connect with large amount of user requests at once)

personally i have yet not found any solution but iv'e been told to try: register trough: https://github.com/tgalal/yowsup i can see the registration files was updated 7 days ago

use an i-phone to workaround like explained 2 days ago: https://github.com/mgp25/WhatsAPI-Official/issues/273 it seems like same logic should work on android, but someone with better understanding of that area should explain how

please, if anyone succeed with one of the above (or differently) please let me know exactly how you did it, i'm also trying to figure things and will write here any update

mgp25 commented 9 years ago

@moosaviamir Go to WhatsAPI-Official repo is the active one: https://github.com/mgp25/WhatsAPI-Official

@vigiman contact me via mail and i explain you the solution/fix for that.

Regards

vigiman commented 9 years ago

@mgp25 thank you, i've sent an email to the address shown at your profile

moosaviamir commented 9 years ago

@mgp25 thank you! i've just sent too! please forward solution for me. I also did open an issue on Official one.

vigiman commented 9 years ago

my solution - worked: asked for an id using wart asked for a password using yowsup put both in the whatsapi class i use worked :+1:

assegaf commented 9 years ago

@vigiman please explain what you mean by "asked for an id using wart asked for a password using yowsup"

vigiman commented 9 years ago

i guess it can work with different tools other than wart but that worked out for me as simple as possible: https://github.com/shirioko/WART/blob/master/WART-1.7.2.0.exe using the latest wart (which should be updated again since it didn't fulfil it whole purpose) i typed the phone number with country code and pressed on the ID button got an id saved it and erased the %'s from it

https://github.com/tgalal/yowsup then i've installed yowsup (python library) and executed: yowsup-cli registration -m MCC -n NMC -p CCCXXXXXX --cc CCC -r sms

XXXXXXXXX = your phone number CCC= your country code mcc= mobile country code nmc= network mobile code you should know the first two, the other two can be taken from http://en.wikipedia.org/wiki/Mobile_country_code

then you get an sms with a 6 digits code we call it ** execute: yowsup-cli registration -m MCC -n NMC -p CCCXXXXXX --cc CCC -R **

then you should get something like this: INFO:yowsup.common.http.warequest:{"status":"ok","login":"CCCXXXXX","pw":"YOUR PASSWORD",........."

now use the pw from yowsup and the ID from wart in your scripts as shown for example in the demo: https://github.com/mgp25/WhatsAPI-Official/blob/master/examples/exampleFunctional.php $username = "your phone number"; $password = "server generated whatsapp password"; // pw $identity = "unique ID generated by WhatsApp client"; // ID (without %) $nickname = "your nickname";

hope it will work for you too enjoy

bitbitbit commented 9 years ago

thanks @vigiman !!

One note, I succeed in getting the 6 digits code with voice rather than sms~ :-)

moosaviamir commented 9 years ago

Thank you but not working for me!:( did you try voice via WART App?

On Mon, Jan 12, 2015 at 9:38 AM, bitbitbit notifications@github.com wrote:

thanks @vigiman https://github.com/vigiman !!

One note, I succeed in getting the 6 digits code with voice rather than sms~ :-)

— Reply to this email directly or view it on GitHub https://github.com/venomous0x/WhatsAPI/issues/1079#issuecomment-69532608 .

bitbitbit commented 9 years ago

I used yowsup to get the password, WART not working for me. I guess perhaps the MNC and MMC code are missing in the registration in WART, causing the problem :-0

manet80 commented 9 years ago

Will repair the issue ?

vigiman commented 9 years ago

@bitbitbit you welcome =] @moosaviamir have you tried using yowsup registration with voice? some have local issues with sms.

manet80 commented 9 years ago

Which link the code of this ?

moosaviamir commented 9 years ago

@vigiman I am still trying to use yowsup. I don't know anything about python and i have problem with running code. with python3.4 when i try "pipe install yowsup2" it says invalid syntax. before that i tried python 2.7 it said command"c:\MinGW\bin\gcc.exe" failed. I'm Totally Confused. in yowsup installation instrunction says Install Zlib and i dont know how to install it on windows and documentation is not enough for me!:(( please help me.

vigiman commented 9 years ago

@moosaviamir i am not a python expert myself, if you really cant get it to work after learning basic syntax and following the docs email me

moosaviamir commented 9 years ago

Thank you. I'm on it...

On Tue, Jan 13, 2015 at 12:04 AM, vigiman notifications@github.com wrote:

@moosaviamir https://github.com/moosaviamir i am not a python expert myself, if you really cant get it to work after learning basic syntax and following the docs email me

— Reply to this email directly or view it on GitHub https://github.com/venomous0x/WhatsAPI/issues/1079#issuecomment-69640672 .

faisalcse commented 9 years ago

@mgp25 I tried with WART and registertool.php but it is the same problem. Not working. I send you an email. Please advise.

boxim commented 9 years ago

Hi everyone, I have found a solution to the problem: http://2014.apps.mobioo.com/getwhatsappcode/login_user.php This website allows you to register multiple phones after registration..

vigiman commented 9 years ago

dont really need to sign up or log in trhu database , login leads to - http://2014.apps.mobioo.com/getwhatsappcode/insert_phone.php dont know if it works but it seems like this site also uses yowsup http://2014.apps.mobioo.com/getwhatsappcode/

mgp25 commented 9 years ago

Better use the open source tools...: https://github.com/mgp25/WhatsAPI-Official

Or WART (Working): https://github.com/mgp25/WART

Or: http://watools.es

vigiman commented 9 years ago

more urgent - after whatsapp offical web client realse it seems like every number that being logged thru the api is bein blocked, even after wart registration got fixed anyone know whats happening??

mgp25 commented 9 years ago

@vigiman yes, dont spam. Use WhatsAPI Official instead

vigiman commented 9 years ago

ok thanks ill try comparing the code i use and the recent whatsapi official (i am not talking about registration but about sending messages after whatsapp changes that was made today) your tool watools.es still aint working btw, but wart is good now

vigiman commented 9 years ago

you were right this is my last message in this issue EVERYONE MOVE TO WHATSAP API OFFICIAL