Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "status":"fail","reason":"old_version"\n' status: b'fail' reason: b'old_version' when registering using yowsup-cli #1747

Closed
Fickri-s opened this issue Aug 30, 2016 · 8 comments

Comments

@Fickri-s
Copy link

I've implemented #1725 and #1716, referencing at #1729 solution.

using this line:
yowsup-cli registration --requestcode sms --phone 628XXXXXXXXXX --cc 62 --mcc 510 --mnc 01
gives me these output:
INFO:yowsup.common.http.warequest:b'{"status":"fail","reason":"old_version"}\n'
status: b'fail'
reason: b'old_version'

Also, changing the default to android doesn't work as solution in yowsup/env/env.py.

@manelmolina
Copy link

I'm having the same issue, after change the default value to android on env.py I also modify env_android.py to set version to 2.16.225 (current whatsapp version) but now the error message is "bad token" I think that is also necesary to set a new KEY on the same file but I don't know how to get it.

@manelmolina
Copy link

Solved:

  • On env.py set default to "s40" and on env_S40 set the right key:

schoerg@d1274dc

@albert-chin
Copy link

@manelmolina

I'm having the same issue, after change the default value to android on env.py I also modify env_android.py to set version to 2.16.225 (current whatsapp version) but now the error message is "bad token" I think that is also necesary to set a new KEY on the same file but I don't know how to get it.

If you want to imitate to be a recent client,
more than the version number have to be changed.
See, for example this

@jlguardi
Copy link
Collaborator

jlguardi commented Sep 1, 2016

Update to latest master where version number and token are fixed.

@jlguardi jlguardi closed this as completed Sep 1, 2016
@thobhanifreddy
Copy link

I am still getting same error!

INFO:yowsup.common.http.warequest:b'{"login":"917778912370","status":"fail","reason":"old_version"}\n' status: b'fail' reason: b'old_version' login: b'917778912370'

@githubuser441
Copy link

same here
input:
yowsup-cli registration -p 12028525xxx -C 1 -m 310 -r voice
output:
INFO:yowsup.common.http.warequest:b'{"login":"12028525xxx","status":"fail","reason":"old_version"}\n'

@Bluscream
Copy link

Bluscream commented Jun 23, 2017

im getting the same error with the latest yowsup from pip
whats the current _MD5_CLASSES ?

@dzhaugasharov
Copy link

dzhaugasharov commented May 14, 2018

Change the constant's value to "android" in the file yowsup/env/env.py:
DEFAULT = "android"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants