Hello all ,
i"m facing issue while registering my number and getting below error please help
yowsup-cli registration -E android --requestcode sms --phone 91xxxx --cc 91 --mcc 404 --mnc 73 --debug
DEBUG:yowsup.env.env:Current env changed to android
yowsup-cli v2.0.15
yowsup v2.5.2
DEBUG:yowsup.common.http.warequest:{'Accept': 'text/json', 'User-Agent': 'WhatsApp/2.12.556 Android/4.3 Device/Xiaomi-armani'}
DEBUG:yowsup.common.http.warequest:cc=91&in=xxxxxxx&lc=GB&lg=en&sim_mcc=404&sim_mnc=073&mcc=404&mnc=073&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=6790&rchash=098d0cf2b7568c99c6f04d8b41f6506bffc454be5ba7f5d24c6f0bf927d53019&anhash=%02%DA%F4%00%E9%19%C3%E4%C5%22%FA%9A%60%98je%03%3AH%CB&extexist=1&extstate=1&token=x2%2FYf5qLYN9DQrFbhj8SjzcPwEs%3D&id=%1C%EF%FAF%E4%15%AF%1E%D8%17%E4y%F1%88%13%F1%AA%9D%3B%2F
DEBUG:yowsup.common.http.warequest:Opening connection to v.whatsapp.net
DEBUG:yowsup.common.http.warequest:Sending GET request to /v2/code?cc=91&in=8500xxxxx&lc=GB&lg=en&sim_mcc=404&sim_mnc=073&mcc=404&mnc=073&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=6790&rchash=098d0cf2b7568c99c6f04d8b41f6506bffc454be5ba7f5d24c6f0bf927d53019&anhash=%02%DA%F4%00%E9%19%C3%E4%C5%22%FA%9A%60%98je%03%3AH%CB&extexist=1&extstate=1&token=x2%2FYf5qLYN9DQrFbhj8SjzcPwEs%3D&id=%1C%EF%FAF%E4%15%AF%1E%D8%17%E4y%F1%88%13%F1%AA%9D%3B%2F
INFO:yowsup.common.http.warequest:{"login":"9xxxx","status":"fail","reason":"old_version"}
status: fail
reason: old_version
login: 91xxxx
Hi
Fixing the version error:
Modify the file yowsup/env/env.py
Line:
DEFAULT = "s40"
For:
DEFAULT = "android"
Hi.
Dont work for me.
Some ideia?
INFO:yowsup.common.http.warequest:{"login":"55xxxxxxxxxx","status":"fail","reason":"old_version"}
status: fail
reason: old_version
login: 55xxxxxxxxxxx
Did you get the latest update?
I changed the version and md5 as commented. I received the SMS.
But the persistent error at the time of registration:
Registration yowsup-cli --register xxx-xxx --phone 55xxxxxxxxxx --cc 55 --mcc 228 --mnc 02
Status: failed
Reason: old_version
Login: 55xxxxxxxxxx
Same issue here, even after modifying what @b3zi said.
Here is the debug code:
yowsup-cli registration --requestcode sms --phone 966xxxxxxxxx --cc 966 --mcc 420 --mnc 01 -E android -d
DEBUG:yowsup.env.env:Current env changed to android
yowsup-cli v2.0.15
yowsup v2.5.2
DEBUG:yowsup.common.http.warequest:{'Accept': 'text/json', 'User-Agent': 'WhatsApp/2.12.556 Android/4.3 Device/Xiaomi-armani'}
DEBUG:yowsup.common.http.warequest:cc=966&in=535844984&lc=GB&lg=en&sim_mcc=420&sim_mnc=001&mcc=420&mnc=001&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=6883&rchash=2f33fec64c717cdf36bd508adf59928b0968e3b6dabf45a41d1307f17ba8f260&anhash=%A2%CE%12%944%EF%98%DAyY%EF%40%3F%5D%B7%DB%C0K%02%F7&extexist=1&extstate=1&token=LngfkwXf6p1bjVjoccUuRkf5gwM%3D&id=+%21%C0%071h%C8%CD%FET%C7%CB%5C%D9%9F%7B%92%99%F6%CB
DEBUG:yowsup.common.http.warequest:Opening connection to v.whatsapp.net
DEBUG:yowsup.common.http.warequest:Sending GET request to /v2/code?cc=966&in=xxxxxxxxx&lc=GB&lg=en&sim_mcc=420&sim_mnc=001&mcc=420&mnc=001&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=6883&rchash=2f33fec64c717cdf36bd508adf59928b0968e3b6dabf45a41d1307f17ba8f260&anhash=%A2%CE%12%944%EF%98%DAyY%EF%40%3F%5D%B7%DB%C0K%02%F7&extexist=1&extstate=1&token=LngfkwXf6p1bjVjoccUuRkf5gwM%3D&id=+%21%C0%071h%C8%CD%FET%C7%CB%5C%D9%9F%7B%92%99%F6%CB
INFO:yowsup.common.http.warequest:{"login":"966xxxxxxxxx","status":"fail","reason":"old_version"}
status: fail
reason: old_version
login: 966xxxxxxxxx
Helo,
I can get code, but i cant send message.
root@dev:~/yowsup# ./yowsup-cli demos -s 559291700550 "teste" -c zap.conf --debug
/usr/local/lib/python2.7/dist-packages/google/protobuf/__init__.py:37: UserWarning: Module yowsup was already imported from /root/yowsup/yowsup/__init__.pyc, but /usr/local/lib/python2.7/dist-packages is being added to sys.path
__import__('pkg_resources').declare_namespace(__name__)
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
DEBUG:yowsup.env.env:Env not set, setting it to android
DEBUG:yowsup.env.env:Current env changed to android
DEBUG:yowsup.stacks.yowstack:Initializing stack
DEBUG:yowsup.stacks.yowstack:Constructed Network Layer
DEBUG:yowsup.stacks.yowstack:Constructed Stanza Regulator Layer
DEBUG:yowsup.stacks.yowstack:Constructed Crypt Layer
DEBUG:yowsup.stacks.yowstack:Constructed Coder Layer
DEBUG:yowsup.stacks.yowstack:Constructed Logger Layer
DEBUG:yowsup.stacks.yowstack:Constructed
DEBUG:yowsup.stacks.yowstack:Constructed Axolotl Layer -
DEBUG:yowsup.stacks.yowstack:Constructed Authentication Layer - Messages Layer - Receipt Layer - Ack Layer - Presence Layer - Ib Layer - Iq Layer - notification Ib Layer - Iq Layer - Chatstate Layer - call Layer - Groups Iq Layer - Media Layer - Privacy Layer - Profiles Layer
DEBUG:yowsup.stacks.yowstack:Constructed Interface Layer
DEBUG:yowsup.layers.network.layer:Connecting to e16.whatsapp.net:443
DEBUG:yowsup.layers.logger.layer:tx:
DEBUG:yowsup.layers.logger.layer:tx:
DEBUG:yowsup.layers.logger.layer:rx:
DEBUG:yowsup.layers.logger.layer:rx:
????Õ—???n??5U
HEX:bb82cde6d5978ab8986e121be4b916d202e93555
DEBUG:yowsup.layers.logger.layer:tx:
?ǜ;??ᅫ????X??i-????ՂP?
?q??g?J??g?%U
pu???ֿ ?_??:F?'yG.,?S´?;?&_
HEX:cec79c3b07adc0efbf8e8afea3ff58faac692dddcceaced58250810aa87183e767904afbae67bc25550a0f7075fcf3ded6bf200700aa0f5f8d178d3a469f7f2779472e2cbd0553c2b4ba3b8a265f
DEBUG:yowsup.layers.network.layer:Disconnected, reason: Connection Closed
Okay so I think i figured the issue out, it has nothing to do with the version or either "s40" or "android". It is the way of execution
Make sure you execute it like that _./yowsup_
It works. For the registration I use "android" env, to send/receive messages I use "s40".
Thnks.
still getting same issue can anyone help here
@ashokv54 change yowsup/env/env_android.py file with this https://drive.google.com/open?id=0BxKVizAlO_Fwa2EtMF9fNW96NFE and add -E android at the end of command then run I think it should work.
i have the same problem. But the file from your cloud doesn't fix it...
Somebody an other idea?
Thank you bro the issue is resolved now .
[ yowsup-master]# ./yowsup-cli registration -E android -c ./yowsup.config -R 542-669 --debug
DEBUG:yowsup.env.env:Current env changed to android
DEBUG:yowsup.common.http.warequest:{'Accept': 'text/json', 'User-Agent': 'WhatsApp/2.17.16 Android/4.3 Device/Xiaomi-armani'}
DEBUG:yowsup.common.http.warequest:cc=91&in=85123123123&id=NT%F7%A1%96%B5%82p%F7%DE%3F%17%13EQ%89gZ%DEE&code=542669&lc=GB&lg=en&mistyped=6&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=20649&rchash=4b2f1e24682b2921065b8831116056fbd0a62c634581de0319a6f0b2336f7c92&anhash=065c49ce2d8d1f9a84e8d47895217d36&extexist=1&extstate=1
DEBUG:yowsup.common.http.warequest:Opening connection to v.whatsapp.net
DEBUG:yowsup.common.http.warequest:Sending GET request to /v2/register?cc=91&in=8500xxxxxx&id=NT%F7%A1%96%B5%82p%F7%DE%3F%17%13EQ%89gZ%DEE&code=542669&lc=GB&lg=en&mistyped=6&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=20649&rchash=4b2f1e24682b2921065b8831116056fbd0a62c634581de0319a6f0b2336f7c92&anhash=065c49ce2d8d1f9a84e8d47895217d36&extexist=1&extstate=1
INFO:yowsup.common.http.warequest:{"login":"91851231232123","status":"fail","reason":"old_version"}
status: fail
reason: old_version
login: 918512312312
I am having the same issue
Most helpful comment
Hi
Fixing the version error:
Modify the file yowsup/env/env.py
Line:
DEFAULT = "s40"
For:
DEFAULT = "android"
_MD5_CLASSES = "1naz8gL5pIYWbtaOZ3207g=="
_VERSION = "2.17.16"