yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

old_version fail

Open andrevandal opened this issue 9 years ago • 10 comments

Hi, i'm getting an error.

derevandal@DEREVANDAL-W10:~/yowsup/build$ yowsup-cli registration --requestcode sms --phone x --cc y
yowsup-cli  v2.0.15
yowsup      v2.5.0

Copyright (c) 2012-2016 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate


INFO:yowsup.common.http.warequest:{"login":"x","status":"fail","reason":"old_version"}

status: fail
reason: old_version
login: x

I read this pull request and I couldn't resolve. Could anyone help me? I'm try use bash interface in windows 10, windows 10 native and ubuntu 16.04.

andrevandal avatar Jan 23 '17 18:01 andrevandal

I had same problem, SMS sent after changed this file to this values:

https://github.com/jlguardi/yowsup/blob/master/yowsup/env/env_s40.py

juanefren avatar Jan 23 '17 23:01 juanefren

Did you build/install setup.py again?

thmendes avatar Jan 24 '17 12:01 thmendes

Hi Juan and all. I used the (two) modified parameters in env_s40.py. That fixed the "reason":"old_version", but now I get "reason":"incorrect" and "reason":"no_routes". Is there anything I can do to solve this? Everything is up to date and yowsup from GIT repository today (Feb,10th)

./yowsup-cli registration --requestcode sms --phone 150xxx504xx --cc 1 --mcc 310 --mnc 150
yowsup-cli  v2.0.15
yowsup      v2.5.0

Copyright (c) 2012-2016 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate


INFO:yowsup.common.http.warequest:{"login":"150xxx504xx","status":"fail","reason":"incorrect","sms_length":6,"voice_length":6,"sms_wait":0,"voice_wait":0}

INFO:yowsup.common.http.warequest:{"login":"150xxx504xx","status":"fail","reason":"no_routes","retry_after":3600,"sms_wait":3600,"voice_wait":3600}

status: fail
retry_after: 3600
reason: no_routes
login: 150xxx504xx

DagoW avatar Feb 10 '17 19:02 DagoW

After reading other posts, I ran ./setup.py build and then registered a different number. It worked! Sending and receiving messages also works. In summary, I used these parameters in env_s40.py.

    _VERSION = "2.16.11"
    _TOKEN_STRING  = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}"

and I registered an Israeli number, so the command line arguments were not as shown in my previous post.

DagoW avatar Feb 10 '17 20:02 DagoW

I'm getting the old_version problem too, tried the changes above, rebuilt, still got the error, tried a different number still got error :-(

Aranad avatar Feb 15 '17 22:02 Aranad

Getting this too. @Randl How to do got those "magic numbers" from #1725 ?

jacargentina avatar Feb 16 '17 03:02 jacargentina

See https://github.com/tgalal/yowsup/pull/1726

Randl avatar Feb 16 '17 04:02 Randl

No I still get the same problem after using the "magic numbers" from whatsapp_scratch and rebuilding :-(

Aranad avatar Feb 16 '17 10:02 Aranad

I have 2.16.11 with "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}"

Aranad avatar Feb 16 '17 10:02 Aranad

fixed

tgalal avatar Mar 23 '17 10:03 tgalal