tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.07k stars 2.23k forks source link

no_routes #370

Closed h1rule closed 9 years ago

h1rule commented 9 years ago

I recently get No_Routes as fail message.

Any clue?

tgalal commented 9 years ago

any logs ?

h1rule commented 9 years ago

./yowsup-cli --config config.example -r sms Detected cc: 1 status: fail retry_after: 3600 reason: no_routes

mgp25 commented 9 years ago

That's because yowsup still need to update few things, but its working, is not a general issue, only some numbers.

tgalal commented 9 years ago

need to update things in registration ?

h1rule commented 9 years ago

tried a few numbers (from USA and Germany) - noone works. :(

Its also for your WhatsAPI-Official @mgp25 - i also get no_routes there. (using latest version)

tgalal commented 9 years ago

@capsload Interestingly I've just tried 2 numbers in Egypt and Germany, both worked on yowsup

CODeRUS commented 9 years ago

@mgp25 yowsup using S40 registration, don't you think it changed sequence too?

h1rule commented 9 years ago

Try it @tgalal:

49176993xxxxx [edited: u don't want spam regs there or something ;) ]

Dont worry, its not a private number. Just for testing things. (i'll edit the comment here after it worked).

mgp25 commented 9 years ago

Of course, WA has changed its way to do it. As i said is not a general issue, just for some specific numbers, i have that issue solved, not published yet, but its related in how the client does.

I recommend to check source and compare it.

tgalal commented 9 years ago

@capsload says sent

h1rule commented 9 years ago

nothing came through.

could it be, if this numbers were recently created by the carrier companies?

I activated those numbers 2 hours ago at the carrier company.

tgalal commented 9 years ago

:/

CODeRUS commented 9 years ago

@capsload you need to give your mcc and mnc for that number

h1rule commented 9 years ago

oh, country code and numbercode in the config? already did that.

Is it

tokenData = {
    "v": "2.12.49",
    "r": "S40-2.12.49",
    "u": "WhatsApp/2.12.49 S40Version/14.26 Device/Nokia302",
    "t": "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1413401214298{phone}",
    "d": "Nokia302"
}

related?

I dont think or?

CODeRUS commented 9 years ago

i need your MCC and MNC for your number to request code

h1rule commented 9 years ago

So what excatly needs to be done, to get a SMS / VOICE again? I think, i need to "request" that from the IP, where the client then is used. Because if you change the IP / Country, it gets blocked by WhatsApp Servers.

Can you send me your Script (looking forward to PHP) so i can upload it to my server?

Thanks. @CODeRUS @mgp25

solopa commented 9 years ago

I have exactly the same problem as @capsload. I've even tried using a yowsup fork that allowed the use of a proxy to check if that was the problem (same IP country / MCC country) with the same "no_routes" answer.

Since I'm trying with a free voice number, is it possible that WhatsApp block these kind of numbers?

I'll keep trying (I've tried like 6 times, because it makes you wait one hour between requests) because it could just be a temporal thing.

emamirazavi commented 9 years ago

I have the same problem, server tells me: {'status': u'fail', 'kind': None, 'code': None, 'pw': None, 'price': None, 'price_expiration': None, 'retry_after': 3600, 'currency': None, 'length': None, 'cost': None, 'param': None, 'reason': u'no_routes', 'login': None, 'type': None, 'method': None, 'expiration': None}

guisoliver commented 9 years ago

I already have the same problem.

$ python yowsup-cli registration --requestcode sms --phone 55858*** --cc 55 --mcc 724 --mnc 31

Command Output:

INFO:yowsup.common.http.warequest:{"status":"fail","reason":"no_routes","retry_after":3600}

status: fail retry_after: 3600 reason: no_routes

Does we have problems with SMS or Phone Calls routes to Brazil?

micha137 commented 9 years ago

Same problem here, --cc 49...

d0x commented 9 years ago

Same problem here

vagrant@vagrant-ubuntu-trusty-32:~/yowsup$ yowsup-cli registration --requestcode sms --phone 4915770xxxxxx --cc 49 --mcc 262 --mnc 07
INFO:yowsup.common.http.warequest:{"status":"fail","reason":"no_routes","retry_after":3600}

status: fail
retry_after: 3600
reason: no_routes
xf0e commented 9 years ago

Same as above for --cc 49 --mcc 262 --mnc 02.

dickenjose commented 9 years ago

i am from Bolivia and no_routes have the problem when I try to register , My country code is 591 and no mcc code , also probe with a number of United States ( what I got in my claacentric ) but with that number I also get the error ) , I can do ?? I am new to linux command line and python help please

gdassori commented 9 years ago

same for cc 39, mcc 222, mnc 10

AeonLucid commented 9 years ago

I receive the no routes error too. Im using this command:

$ yowsup-cli registration --requestcode sms --phone 1760697xxxx --cc 1

What am I doing wrong?

sureshvv commented 9 years ago

Same problem for -C 91 (India) -m 404 -n 40

cppvb commented 9 years ago

Does anybody have information on how to solve this "no routes" issue?

cintiaarmesto commented 9 years ago

Hi guys! I have same problem!!! my cod is 55 (Brazil), I tryed with diferents phones number but the error persiste :(

dickenjose commented 9 years ago

register me !!! I did connect me from another ISP . Also visit the website http://en.wikipedia.org/wiki/Mobile_country_code there I found the mmc codes and mnc my country and my phone line then insert sudo apt- get upgrade sudo python registration yowsup -cli -p -m 736 591 59175126178 -C -r -n 03 sms and are the only changes from relize this morning I hope they serve . which still is not as send and receive messages I hope you can help me , sorry for my English .

dickenjose commented 9 years ago

ups! sudo python yowsup-cli registration -p 591xxxxx -C 591 -m736 -n 03 -r sms

d0x commented 9 years ago

We managed to skip the registration by reading the password manually. You can read more about it here: http://www.digitalinternals.com/security/extract-whatsapp-password-android/374/

Now its possible to send a message with:

./yowsup-cli  demos -l 491577xxxxxxx:cHzM7D2+9xxxxxxxx -s 49176xxxxxx "Hallo Welt"
guisoliver commented 9 years ago

I would like to know if it's possible to get the register code using the WhatsApp for Android, Symbian and doing this, will we avoid the SMS routes error.

dezember commented 9 years ago

@d0x By the method you mentioned, did it work?

dezember commented 9 years ago

@guisoliver If you mean that the direct registration from Android or Nokia works, yes it does. No error message from direct registration

dezember commented 9 years ago

The method mentioned by @d0x is working perfectly for the older registered devices. But for the newer devices, I cannot see success. Maybe whatsapp has newer authentication system.

d0x commented 9 years ago

@dezember yes, i could do the registration by hand and then continue using yowsup

  1. Install whatsapp on a phone or emulator (i used the android sdk emulator)
  2. get the password files with adb pull
  3. follow the dectryption part on this tutorial: http://www.digitalinternals.com/security/extract-whatsapp-password-android/374/
  4. use the password you get at the end to use the yowsup-cli like: ./yowsup-cli demos -l 491577xxxxxxx:cHzM7D2+9xxxxxxxx -s 49176xxxxxx "Hallo Welt"
dezember commented 9 years ago

@d0x I gave another try with android emulator. Still no success. It gives me authentication failure.

This only happens when I register the new number on the emulator. But the authentication is successful when I use my pw and me files present on my device using WhatsApp. I am interested in using another number for WhatsApp with Yowsup.

rahulchipad06 commented 9 years ago

Getting same error for all numbers: yowsup-cli registration -m 404 -n 20 -p 9198*** -C 91 -r voice INFO:yowsup.common.http.warequest:{"status":"fail","reason":"no_routes","retry_after":3600}

status: fail retry_after: 3600 reason: no_routes

dbosanzio commented 9 years ago

I tryed now with a new phone number never registered: root@luigi-ubuntu:~/LAB/y3/yowsup# /usr/local/bin/yowsup-cli registration -m 222 -n 01 -p xxxxxxxxxx -C 39 -r sms INFO:yowsup.common.http.warequest:{"status":"fail","reason":"no_routes","retry_after":3600}

status: fail retry_after: 3600 reason: no_routes

I did this from an ubuntu desktop 14.04.1 updated in a virtualbox with nat network. Internet works correctly. I used the last gitcloned yowsup version downloaded now

has anything changed in the algorithm of whatsapp that invalidate the yowsup-cli ?

edgars commented 9 years ago

Hi guys, same issue here with numbers from Brazil:

yowsup-cli registration --requestcode sms --phone 5511XXXXXXX --cc 55 --mcc 724 --mnc 10

INFO:yowsup.common.http.warequest:{"status":"fail","reason":"no_routes","retry_after":3600}

status: fail retry_after: 3600 reason: no_routes

pinpuk commented 9 years ago

@d0x : What is the known key ? is that the hexdump of pw_salt ?

Decrypt WhatsApp Password

Decryption is done in 2 steps. First, we need to use the PBKDF2 key derivation function. This function needs a pass phrase that is derived from a known key and the WhatsApp username. First, create the pass phrase file “pbkdf2_pass.bin” with the known key using xxd – a tool to create a binary file from a hex dump.

d0x commented 9 years ago

@pinpuk He wrote the known key there:

echo c2991ec29b1d0cc2b8c3b7556458c298c29203c28b45c2973e78c386c395 | xxd -r -p > pbkdf2_pass.bin

It is the same for everyone

kuldippatel commented 9 years ago

Pardon my ignorance. Does this solve the problem of no_route? Can you please elaborate how to use it in Legacy code?

pinpuk commented 9 years ago

@kuldippatel I will try what @d0x suggested : follow this tutorial: http://www.digitalinternals.com/security/extract-whatsapp-password-android/374/ - so i hope it solves the problem about no_route. I hope the developers solve it :)

dbosanzio commented 9 years ago

The Saga Problem "no_route" reamain & continue:

root@luigi-ubuntu:~# /usr/local/bin/yowsup-cli registration -m 222 -n 01 -p 39xxxxxxxxxx -C 39 -r sms INFO:yowsup.common.http.warequest:{"status":"fail","reason":"no_routes","retry_after":3600}

status: fail retry_after: 3600 reason: no_routes root@luigi-ubuntu:~#

The same error from WAT "WhatsApp Registration Tool" https://github.com/shirioko/WART

I think there are big problem for Italy phone number registration for new number because something at whatsapp algo/procedure changed. cattura

dezember commented 9 years ago

I am unsure if the MD5 keys are actually working now. Whatsapp must have changed the registration method.

dezember commented 9 years ago

It seems less like a geographical registration problem.i have tried registration from several countries but its in vain.

tgalal commented 9 years ago

1279940031d129045a17d8ba1a5aaf8863fea065 should hopefully fix it, reopen the issue if it doesn't

micha137 commented 9 years ago

I can confirm that it works, i received a registration code (after solving https://github.com/tgalal/yowsup/issues/500)

technocode commented 9 years ago

Yes its 100% works...