I just cloned the repository.
I have executed the command to get the registration code and it arrives correctly
yowsup-cli registration -r sms -C 34 -p 34XXXXXXXXX -m 214 -n 01 -E android -d
Trying to register the number, using this command
yowsup-cli registration -R 818-270 -p 34XXXXXXXXX -C 34
I have the error:
yowsup-cli v2.0.15
yowsup v2.5.7
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":"34XXXXXXXXX","status":"fail","reason":"old_version"}
status: fail
reason: old_version
login: 34XXXXXXXXX
How can I solve that?
(logically, where are the XXXXX there is a correct phone number)
Thanks!!
PD: It is installed and working on OSx
Hello,
It's a general issue. There are a lot of issues related to that.
No solution yet.
Regards
@altmas5 I have the same issue, is there a workaround?
Yes there is a workaround...open env.py inside yowsup\env directory and comment s40 add Android as default like this
DEFAULT = "android"
Make sure uncomment s40 and remove android aftrer registration process completed
It worked correctly.
I have connected within my WhatsApp, I have been able to send messages, see the list of my groups, etc.
Thank you very much
@anoopgpr
run python setup.py install after or do not need it?
Yes.
1) update yowsup/env/env.py
2) run python setup.py install
3) request the WhatsApp verification code
4) Execute the validation of the phone number with the received code
5) run python setup.py install
6) Use all commands over the phone number as well
@javichuteck
Okay, let's refactor this and leave it a step by step to the guys who have the same problem
1st change yowsup / yowsup / env env.py
DEFAULT = "android"
2nd run python installation setup.py to recompile change fair on env.py
3rd request the WhatsApp verification code
using yowsup-cli registration -r sms -C 55 -p 55XXXXXXXXX -m XXX -n XX -E android -d
4th Perform the validation of the phone number with the code received
using yowsup-cli registration -R XXX-XXX -p 55XXXXXXXXX -C 55
5th run install python setup.py
6th yowsup-cli demos -s 5535XXXXXXXX "test" -c
-> config file location /etc/yowsup/config.conf
right
No. Information is missing, one step is missing before 5
?
1 - Change yowsup/env/env.py
Set DEFAULT = "s40" to DEFAULT = "android"
2 - Execute python setup.py install
3 - Request the WhatsApp verification code
yowsup-cli registration -r sms -C 34 -p 34XXXXXXXXX -m 214 -n 01 -E android -d
4 - Perform the validation of the phone number with the code received
yowsup-cli registration -R XXX-XXX -p 34XXXXXXXXX -C 34
Here, a lot of data will appear on the screen, but the most important one is a password.
5 - Save the configuration for later use. It will be saved in a file with the following format:
cc=34t
phone=xxxxxxxxxt
password=xxxxxxxxxxxxxxxx
Example of file name: whatsapp_config.txt
6 - Change yowsup/env/env.py
Set DEFAULT = "android" to DEFAULT = "s40"
7 - Execute python setup.py install
8 - Start the WhatsApp client with the configuration data
yowsup-cli demos --yowsup --config whatsapp_config.txt
9 - With step 7 we will be initiating session. Now you have to connect: /L
10 - We can send a message from the terminal to see that everything works fine:
/message send 34XXXXXXXX hello
11 - See the list of groups we have with that WhatsApp line
/groups list
12 - Etc.
very good thank you very much
Hello @javichuteck
Aren't you getting banned yet?
Regards
@javichuteck
I think it's the same as linux if it did not complain because it worked
Has the @javichuteck solution been running?
Does the application stay in the air without being banned?
@maiconcosta
I just bought a chip so far everything worked out tomorrow I'll come back with information
@Berser6523 Please keep me informed.
After doing the new registration everuthing worked but after the first message..
{"status":"fail","reason":"blocked","login":"XXXXXXXXXXX"}
Can I do something?
It's normal, it's working, I block it, I'll tell you
After doing the process I was banished immediately.
I did exactly what was working for me to make sure that your configuration file is correct
Make sure not more than 2 registration from same ip...A phone can have maximum 2 sim same thing goes with ip..but yes i m not 100% sure on this but my experience force me to draw this conclusion
Sent from my iPhone
On 30-Mar-2018, at 5:50 PM, Antorai78 notifications@github.com wrote:
After doing the new registration everuthing worked but after the first message..
{"status":"fail","reason":"blocked","login":"XXXXXXXXXXX"}
Can I do something?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
This isn't adding much to the discussion, but after attempting the workaround, I went from error old_version to:
status: b'fail'
reason: b'too_recent'
I feel that whatsapp is trolling me by now :-).
@altmas5 is this a problem due to whatsapp blocking this type of use case?
It-s hard to say @ydennisy
I was using a kind of event-based whatsapp response to users on a call system and got blocked.
It's definitely hard to say.
I just got 2 SIMs blocked yesterday but I still have one working(on a different server, different IP). Same yowsup version, same steps.
The difference is that I "installed" the one that's working like 3 weeks ago.
My bot just received being banned.
1 - Change yowsup/env/env.py
Set DEFAULT = "s40" to DEFAULT = "android"
2 - Execute python setup.py install
3 - Request the WhatsApp verification code
yowsup-cli registration -r sms -C 34 -p 34XXXXXXXXX -m 214 -n 01 -E android -d
I followed the steps but at the it still return "old_version"
i am still having the same problem. help please
This weekend works fine now I've the same error of "old_version"
@AragurDEV posted solution on September 15, 2017 here
Most helpful comment
Yes there is a workaround...open env.py inside yowsup\env directory and comment s40 add Android as default like this
DEFAULT = "s40"
DEFAULT = "android"
Make sure uncomment s40 and remove android aftrer registration process completed