youwup stop working this may 1st -status fail- old version
Hi yowsup fellows, I've been happily using yousup for 4 months with no issues until this may 1st 15. I have a server (windows server sp2) that is 24/7 running my application. the error that comes up is: "AuthError(nodeEntity.getReason()) yowsup.laers.auth.autherror: AuthError: not-authorized" Then I thought my configure file was expired and I try to get a new registration by doing: "yowsup-cli registration --requestcode sms --phone 52444xxxxxx --cc 52 --mcc 334 --mnc 020" Then i got the following error message: "INFO:yowsup.common.http.warequest:{"status":"fail","reason":"old_version"}
status: fail reason: old_version" I read a previous similar issue that says that they solve it by using the new version of youwsup 2.2.78, but it doesn't change anything, the errors still the same. I hope you guys can help me with this issue, thanks in advance!
Download latest sources or upgrade through pip to 2.2.79 (repo still has version at 2.2.78 though, but fixed)
it is not working even after the the latest update.
In [3]: yowsup.version Out[3]: '2.2.79'
@raooll can you please try with --debug as argument and post output?
@tgalal please have a look
Type /help for available commands
DEBUG:yowsup.layers.logger.layer:tx:
stream:features
DEBUG:yowsup.layers.logger.layer:tx:
DEBUG:yowsup.layers.logger.layer:rx: stream:features /stream:features
DEBUG:yowsup.layers.logger.layer:rx:
HEX:9aa3e2f27775ce49ff40f2d9f75698a8d1fbc10a
DEBUG:yowsup.layers.logger.layer:tx:
DEBUG:yowsup.layers.logger.layer:rx:
general: Login Failed, reason: not-authorized DEBUG:yowsup.layers.network.layer:Disconnected, reason: Authentication Failure Auth Error, reason not-authorized
@tgalal I have two numbers both are showing the same behaviours , Whatsapp pushed an update of app on may 5 (not sure if related) Here's the output from the other number
DEBUG:yowsup.layers.logger.layer:tx:
stream:features
DEBUG:yowsup.layers.logger.layer:tx:
DEBUG:yowsup.layers.logger.layer:rx: stream:features /stream:features
DEBUG:yowsup.layers.logger.layer:rx:
DEBUG:yowsup.layers.logger.layer:tx:
DEBUG:yowsup.layers.logger.layer:rx:
general: Login Failed, reason: not-authorized DEBUG:yowsup.layers.network.layer:Disconnected, reason: Authentication Failure Auth Error, reason not-authorized
@tgalal I m sorry , wrong thread, i'll move this to the right one.
[root@sv]# /usr/bin/python /opt/yowsup-master/src/yowsup-cli -c src/zapzap.config -e --debug {'Accept': 'text/json', 'User-Agent': 'WhatsApp/2.12.53 S40Version/14.26 Device/Nokia302'} cc=55&in=6198319315&id=18c0ccbc183b23a08af3b424cf0d57c0 Opening connection to v.whatsapp.net Sending GET request to /v2/exist?cc=55&in=6198319315&id=18c0ccbc183b23a08af3b424cf0d57c0 WAExistsRequest: {"status":"fail","reason":"old_version"}
status: fail reason: old_version
I update a version before this!
Thanks @tgalal, now its working!! After getting the newest version 2.2.79 works like a charm, but i had the issue of "5 argument required and 4 given" in OutgoingAckProtocolEntity, but just by adding entity.getFrom() as an argument did the trick!
@tgalal: I have version 2.2.79 Here is my log: DEBUG:yowsup.env.env:Env not set, setting it to android DEBUG:yowsup.env.env:Current env changed to android 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=65&in=84515022&lc=GB&lg=en&sim_mcc=525&sim_mnc=001&mcc=525&mnc=001&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=9616&rchash=365e611b02c89269214463d9614172a46acae02c13ab1ec48148aa75b43498a4&anhash=%A5T%EB%D9%DBB%2A%DF%0Es%B4.%3B%E3%3C%BD%D0H%F8%18&extexist=1&extstate=1&token=Zf62j3Z8WGmTM5z1%2FzUhXzweQnQ%3D&id=%8A%21%98%EA%DC%9A%03%B3%FA%C5%B13%AF3%CE%60%D5q%5C%C0 DEBUG:yowsup.common.http.warequest:Opening connection to v.whatsapp.net DEBUG:yowsup.common.http.warequest:Sending GET request to /v2/code?cc=65&in=xxxxxxx&lc=GB&lg=en&sim_mcc=525&sim_mnc=001&mcc=525&mnc=001&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=9616&rchash=365e611b02c89269214463d9614172a46acae02c13ab1ec48148aa75b43498a4&anhash=%A5T%EB%D9%DBB%2A%DF%0Es%B4.%3B%E3%3C%BD%D0H%F8%18&extexist=1&extstate=1&token=Zf62j3Z8WGmTM5z1%2FzUhXzweQnQ%3D&id=%8A%21%98%EA%DC%9A%03%B3%FA%C5%B13%AF3%CE%60%D5q%5C%C0 INFO:yowsup.common.http.warequest:{"login":"65XXXXXXX","status":"fail","reason":"old_version"}
status: fail reason: old_version login: 65XXXXXXXX