tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.08k stars 2.23k forks source link

Yowsup whats app registeration failed on raspberry pi #2987

Open sawnani opened 4 years ago

sawnani commented 4 years ago

yowsup-cli registration --requestcode sms --config-phone 1704 --config-cc 1 --config-mcc 310 --config-mnc 38 E 2020-05-21 08:39:18,555 yowsup.config.manager - Could not find a config for profile=1704, paths checked: 1704:/home/pi/.config/yowsup/1704/config.json:/home/pi/.config/yowsup/1704***/config.yo 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

W 2020-05-21 08:39:18,716 yowsup.common.http.warequest - Passing Config to WARequest is deprecated, pass a YowProfile instead I 2020-05-21 08:39:19,953 yowsup.common.http.warequest - {"login":"1704***","status":"fail","reason":"old_version"}

status: fail reason: old_version login: 1704***

dechoi commented 4 years ago

Update Android env Check last issues

sawnani commented 4 years ago

Update Android env Check last issues

I am using Rasberry Pi ..! and it is updated version

magnussolution commented 4 years ago

Update Android env Check last issues

can you please send us the actual version and de MD5? Thanks

dechoi commented 4 years ago

Update Android env Check last issues

I am using Rasberry Pi ..! and it is updated version

Rasbeery or PC this API use technical flow like android,

dechoi commented 4 years ago

Update Android env Check last issues

can you please send us the actual version and de MD5? Thanks

Check on issue, some one update env file, its work

ads1230 commented 4 years ago

Hey everyone, I made a code which automatically writes new values into "env_android.py" Place it in your main yowsup folder (the one with setup.py, readme etc.)

final.txt

the script d/l the apk -> gets the updated values then writes them to env_android. it uses dexmd5

requirements (its python3 so pip3 install) BeautifulSoup requests fake_useragent pyaxmlparser

[note] you can add it to your cron jobs to run every 3 months as maintenance (I changed the name to keygen.py) 1 0 1 */3 * cd ~/yowsup; python3 keygen.py

simenca commented 4 years ago

thank you your script worked perfectly to solve the issue. the registration works afterwards. however I get a warning message "Failed to get the attribute with namespace" in the process (see below). How can I solve that ? thanks.

cleaning old files Finding link Link found! Downloading WhatsApp.apk [==================================================]Running dexmd5 Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace 2.20.190 o4k+S6IbvscL5wfBU0YEZg== Cleaning old backup Making new backup Writing new settings Complete

ads1230 commented 4 years ago

thank you your script worked perfectly to solve the issue. the registration works afterwards. however I get a warning message "Failed to get the attribute with namespace" in the process (see below). How can I solve that ? thanks.

cleaning old files Finding link Link found! Downloading WhatsApp.apk [==================================================]Running dexmd5 Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace Failed to get the attribute with namespace 2.20.190 o4k+S6IbvscL5wfBU0YEZg== Cleaning old backup Making new backup Writing new settings Complete

That’s fine, it’s just searching for the details which it finds on the last line. Not an error, just normal working.

simenca commented 4 years ago

Ok thank you! Then I still have another issue because I can't login/connect to the services. I always get disconnected and stays offline...

ads1230 commented 4 years ago

Remember to use iacup’s fix if you’re having connectivity issues - #2924

simenca commented 4 years ago

Yes I had done it already but I forgot to reinstall... now it is working! great thank you!

barart commented 3 years ago

Hey everyone, I made a code which automatically writes new values into "env_android.py" Place it in your main yowsup folder (the one with setup.py, readme etc.)

final.txt

the script d/l the apk -> gets the updated values then writes them to env_android. it uses dexmd5

requirements (its python3 so pip3 install) BeautifulSoup requests fake_useragent pyaxmlparser

[note] you can add it to your cron jobs to run every 3 months as maintenance (I changed the name to keygen.py) 1 0 1 */3 * cd ~/yowsup; python3 keygen.py

@ads1230 I see your script automatically writes new values into "env_android.py", it works exactly as mentioned, i just have a question, if i put on a cron job, do i need to run "setup.py install" again?