root@endermrncontrol:~# yowsup-cli registration --requestcode call --phone 34632418013 --cc 34 --mcc 214 --mnc 25
yowsup-cli v2.0.15
yowsup v2.5.2
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":"34632418013","status":"fail","reason":"old _version"}
status: fail
reason: old_version
login: 34632418013
I have the same Problem. It seems that we need to edit the variables _VERSION and _MD5_CLASSES in yowsup/env/env_android.py. I read that you can get it from https://coderus.openrepos.net/whitesoft/whatsapp_scratch, but I used the newest one and it didn't work for me.
I used:
_MD5_CLASSES = "3jYxFPSrhqjabEm5b2sXhA=="
_VERSION = "2.17.279"
Is there a way of fix this problem?
Thank you a lot for your help!
It worked when I used
./yowsup-cli registration --requestcode sms --phone 49XXXXXX --cc 49 -E android
instead of
yowsup-cli registration --requestcode sms --phone 49XXXXXXX--cc 49 -E android
I hope this helps you!
thanx you very much
_MD5_CLASSES = "3jYxFPSrhqjabEm5b2sXhA=="
_VERSION = "2.17.279" this work
this fixed thanks!
Can Anyone send me the md5 classes for 2.17.282 please?
did you tried it with my md5 class and version. Did you tried it executing with ./ ?
Hello also cant register number already with your md5 and version. Help me pls. my code:
python ./yowsup-cli registration --requestcode voice --phone 6***** --cc 62
try with adding -E Android
tried - same result. any Ideas? for you it is works now?
Yes for me it is working. Sorry but I don't have any further suggestions.
I made a prototype for md5 class extractor: test this for me please:
md5class = xZtxciKuI7Gzv2i2XIsyWQ==
version: 2.17.283
@sealabr nope - but i hope in my way reason is diff - will try tomorrow on server
@Morr1s where should i execute command with ./yowsup-cli coz i get no such file or dir. 馃槅
Edit: found it and its working ;)
md5class = "ETAnhWrz/tGEeDZScjEyIA==" but i didn't try this
version: 2.17.285 //beta
last release is 2.17.254
I've already tested all the ways above and the problem still remains...
E 2021-06-23 18:40:37,472 yowsup.config.manager - Could not find a config for username=CC----------, paths checked: /home/servidor/.config/yowsup/CC----------/config.yo:/home/servidor/.config/yowsup/CC----------/config.json
yowsup-cli v3.2.0
yowsup v3.2.3
Copyright (c) 2012-2019 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
I 2021-06-23 18:40:38,073 yowsup.common.http.warequest - b'{"login":"CC----------","status":"fail","reason":"old_version"}\n'
status: b'fail'
reason: b'old_version'
login: b'CC----------'
this not work anymore!!! give up!!!!!!!!!!!!!!!!!!
To make clear: old_version only happens when the token parameter is missing or invalid during registration.
On Android, it is based on the following items:
classes.dex inside the APKabout_logo.png and some other things, but it is actually constant over time)The certificate and secret key don't change over time, but the MD5 calculation and the User-Agent are version dependent.
For example, version 2.20.206.22 does have oEYGYTr+K6IN0mDOrAZpsg== as MD5 calculation. This are the only two you have to change every time.
If changing this does not work, it is possible that the token-generator function is broken or the user-agent is not sent or invalid.
Here is a working token-generator function: https://github.com/ben221199/WAPI/blob/java/src/main/java/nl/ben221199/wapi/Verification.java
To make sure you have a valid User-Agent, look here:
https://github.com/ben221199/WAPI/blob/java/src/main/java/nl/ben221199/wapi/Constants.java
Most helpful comment
I have the same Problem. It seems that we need to edit the variables _VERSION and _MD5_CLASSES in yowsup/env/env_android.py. I read that you can get it from https://coderus.openrepos.net/whitesoft/whatsapp_scratch, but I used the newest one and it didn't work for me.
I used:
_MD5_CLASSES = "3jYxFPSrhqjabEm5b2sXhA=="
_VERSION = "2.17.279"
Is there a way of fix this problem?
Thank you a lot for your help!
EDIT
It worked when I used
./yowsup-cli registration --requestcode sms --phone 49XXXXXX --cc 49 -E android
instead of
yowsup-cli registration --requestcode sms --phone 49XXXXXXX--cc 49 -E android
I hope this helps you!