tgalal / yowsup

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

yowsup down since 5pm Thusday 23. Jan. 2019 #2635

Closed HeinzFo closed 5 years ago

HeinzFo commented 5 years ago

Hello

yowsup down since 5pm UTC Thusday 23. Jan. 2019 and tries to reconnect periodicly.

I have following mesage in the logfile:

Disconnect read: error during sysread: No child processes read: end of file reached while sysread

What's wrong?

Best Regards Heinz

bahtiarp commented 5 years ago

i have the same problem, all my numbers were blocked today.

ghost commented 5 years ago

Same issue, is there any update on this?

MJHDrummond commented 5 years ago

Hello all,

Are you also seeing the following error?

"yowsup.layers.auth.autherror.AuthError: not-authorized"

ghost commented 5 years ago

Yes

HeinzFo commented 5 years ago

Hello

Are you also seeing the following error? "yowsup.layers.auth.autherror.AuthError: not-authorized"

No ! I think this is another issue!

Regards Heinz

bahtiarp commented 5 years ago

I think they finally blocked S40 as mention in https://blog.whatsapp.com/10000617/WhatsApp-support-for-mobile-devices -> Nokia S40 after December 31, 2018

I forgot the link but someone in this forum still can use andoid mode, but didnt open the source code.

gesantop commented 5 years ago

Hello all,

I'm see this errors:

Auth Error, reason Unhandled stream:error node:

general: Login Failed, reason: not-authorized Auth Error, reason not-authorizes
ghost commented 5 years ago

Yes, auth error is coming

ataquino commented 5 years ago

Any alternatives?

ghost commented 5 years ago

@ataquino, you are also getting the same error?

gesantop commented 5 years ago

I updated version of WhatsApp in env_android for 2.19.15, but same errors.

ataquino commented 5 years ago

@akshit-pradhan no, I haven't tried it yet

x-frst commented 5 years ago

Same thing happened with me... Hope he'll fix it soon!

viktor-sc commented 5 years ago

Same error here: Authorisation rejected.

alexvong243f commented 5 years ago

I get the same error:

[offline]:/L
general: Login Failed, reason: not-authorized
Auth Error, reason not-authorized

Has anyone had success with -E android?

Basje commented 5 years ago

Has anyone had success with -E android?

No. Requesting and registering a new code works. Actually using the API with the provided password after registering that code results in the aforementioned authentication error:

yowsup.layers.network.layer - DEBUG - Disconnected, reason: Authentication Failure

and

yowsup.layers.auth.autherror.AuthError: not-authorized
HeinzFo commented 5 years ago

a) I have done the registration for Android device as follow:

/opt/fhem/backup $ /opt/yowsup-master/yowsup-cli registration -c /opt/yowsup-config/yowsup.config -r voice -E android

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":"49123456789","status":"sent","length":6,"method":"voice""retry_after":65,"sms_wait":65,"voice_wait":65}

status: sent retry_after: 65 length: 6 login: 49123456789 method: voice

b) I get the new registration number XXXXXX per phone call

c) I try to register with this number and get an status: fail with reason old_version:

/opt/yowsup-master/yowsup-cli registration -c /opt/yowsup-config/yowsup.config -R XXXXXX 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":"49123456789,"status":"fail","reason":"old_version"}

status: fail reason: old_version login: 49123456789

What is the actual version?

alexvong243f commented 5 years ago

@HeinzFo

What happens if you follow the instruction in #2566 and #2564?

HeinzFo notifications@github.com writes:

a) I have done the registration for Android device as follow:

`pi@raspberrypi:/opt/fhem/backup $ /opt/yowsup-master/yowsup-cli registration -c /opt/yowsup-config/yowsup.config -r voice -E android 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":"49123456789","status":"sent","length":6,"method":"voice","retry_after":65,"sms_wait":65,"voice_wait":65}

status: sent retry_after: 65 length: 6 login: 49123456789 method: voice`

b) I get the new registration number XXXXXX per phone call

c) I try to register with this number and get an status: fail with reason old_version:

`/opt/yowsup-master/yowsup-cli registration -c /opt/yowsup-config/yowsup.config -R XXXXXX 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":"49123456789,"status":"fail","reason":"old_version"}

status: fail reason: old_version login: 49123456789`

What is the actual version?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

AlexanderSRocha commented 5 years ago

@HeinzFo What happens if you follow the instruction in #2566 and #2564? HeinzFo notifications@github.com writes: a) I have done the registration for Android device as follow: @.***:/opt/fhem/backup $ /opt/yowsup-master/yowsup-cli registration -c /opt/yowsup-config/yowsup.config -r voice -E android 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":"49123456789","status":"sent","length":6,"method":"voice","retry_after":65,"sms_wait":65,"voice_wait":65} status: sent retry_after: 65 length: 6 login: 49123456789 method: voiceb) I get the new registration number XXXXXX per phone call c) I try to register with this number and get an status: fail with reason old_version:/opt/yowsup-master/yowsup-cli registration -c /opt/yowsup-config/yowsup.config -R XXXXXX 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":"49123456789,"status":"fail","reason":"old_version"} status: fail reason: old_version login: 49123456789` What is the actual version? — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

@HeinzFo

It didn't work. WIth the newest Android version "2.19.15" the same error occurs:

HeinzFo commented 5 years ago

@alexvong1995

Now I can register with the code XXXXXX and get an Password, this step is now possible with modifying the env.py with DEFAULT = "android"

No error occurs during this process.

But the yowsup instance on my Raspberry is not online. I see this on the Smartphone Whatsapp status " last connection time ...".

Sending an message will no produce an error, but is not sending to the Smartphone.

What is this now?

murillozampieri commented 5 years ago

When I am using env s40 the message Auth error occurs and when I use the env android it does not send and it does not receive messages, I already updated the version of whatsapp, but unsuccess

jesusvalverde commented 5 years ago

No problem over the SMS and the PSW

yowsup-cli registration --requestcode sms --phone 5xxxxxxxxx --cc 5xx -E android yowsup-cli registration --register 92XX65 --phone 5xxxxxxxxx --cc 5xx -E android

But one I do try to put the "phone" online i do get "Auth Error, reason not-authorized"

HeinzFo commented 5 years ago

Hello

Properly are the necessary data not up to date right now?

(https://coderus.openrepos.net/whitesoft/whatsapp_scratch)

Regards Heinz

stanforddesi commented 5 years ago

Confirming similar change in behavior since yesterday wrt authentication failure. Here's what I'm seeing (and did):

However, any requests I try to make through yowsup-cli (login, send message, etc.) error out with the following: general: Login Failed, reason: not-authorized DEBUG:yowsup.layers.network.layer:Disconnected, reason: Authentication Failure Auth Error, reason not-authorized

artemmarkaryan commented 5 years ago

Same Had the "old_version" issue with s40, so tried android It worked, i got my 6-digit code, and then the password But when i tried to run the "run.py" file, got yowsup.layers.auth.autherror.AuthError: not-authorized

caramelopedigree commented 5 years ago

Has anyone managed to replace the S40 with another device that works? I believe it's the way.

ivanber77 commented 5 years ago

the only way to replace the s40 is with an android and it does not work either.

caramelopedigree commented 5 years ago

It should be possible to use another device in place of the s40, we are trying here.

Is someone also trying this?

stanforddesi commented 5 years ago

@brunovribeiro agree, should be possible to use another device. these are the supported devices/OSes. If anyone know how the Jio phone communicates, that might be something to try.

does anyone know why Android wouldn't work? I've always had trouble getting it to work (used to be flaky for me), so would usually default to s40 in the past.

right now, i'm trying to see if i can mimic an older android version and see if that gets past whatever bot checks WhatsApp has in place... though I don't quite understand the various env fields yet.

thorschtn commented 5 years ago

I tried android with current Version and md5 and was able to register. But it does not send anything, with no error message.

caramelopedigree commented 5 years ago

I tried android with current Version and md5 and was able to register. But it does not send anything, with no error message.

me too.

caramelopedigree commented 5 years ago

@brunovribeiro agree, should be possible to use another device. these are the supported devices/OSes. If anyone know how the Jio phone communicates, that might be something to try.

does anyone know why Android wouldn't work? I've always had trouble getting it to work (used to be flaky for me), so would usually default to s40 in the past.

right now, i'm trying to see if i can mimic an older android version and see if that gets past whatever bot checks WhatsApp has in place... though I don't quite understand the various env fields yet.

I think this is the way to solve the problem, but I have not figured it out yet.

stanforddesi commented 5 years ago

Anyone know how the _SIGNATURE field in env_android.py is generated? Does it need to change if the if the Android _OS_VERSION specified is changed?

jesusvalverde commented 5 years ago

Changed the env.py variable DEFAULT = "android" Changed env_android.py with new _MD5_C and Version.. Get a new long PSW for the phone via yowsup-cli registration --register using the -E android

Now I do not get "not-authorized" I do get :Disconnected, reason: Connection Closed

cyberp1983 commented 5 years ago

Changed the env.py variable DEFAULT = "android" Changed env_android.py with new _MD5_C and Version.. Get a new long PSW for the phone via yowsup-cli registration --register using the -E android

Now I do not get "not-authorized" I do get :Disconnected, reason: Connection Closed

how to convert old short code to new long?

g33klord commented 5 years ago

Today I reinstalled on a fresh server. Not getting auth error but also not receiving messages.

ZRginger commented 5 years ago

Hello all,

Are you also seeing the following error?

"yowsup.layers.auth.autherror.AuthError: not-authorized"

No, I got a message (disconnected: connection closed). Dose somebody successfully send message using Yowsup today?

teebird01 commented 5 years ago

Hello all,

I've same here: successfully registered, to / L "general: Disconnected: Connection Closed" I try to send message, without an error, without the message gr

yerunkar11 commented 5 years ago

facing the same issue since morning IST.. since s40 is not available I have registered with Android but unable to send messages, it is always disconnected reason: connection closed.

felipefreitas commented 5 years ago

Hi! I have the same issue listed here: "general: Disconnected: Connection Closed". First, the problem "old_version" was solved with an updated on _MD5_CLASSES and _VERSION to 2.19.15. Now I have the problem "general: Disconnected: Connection Closed" since yesterday. Is there some update? Did someone solve this issue? :)

marcoarildo commented 5 years ago

Hi guys, I have the situation.

Registration is perfect with "-E android" but I can get send the messages.

alexvong243f commented 5 years ago

@stanforddesi

stanforddesi notifications@github.com writes:

Anyone know how the _SIGNATURE field in env_android.py is generated? Does it need to change if the if the Android _OS_VERSION specified is changed?

The _SIGNATURE field is obtained by RE: https://github.com/mgp25/RE-WhatsApp

Following the hint in https://github.com/mgp25/RE-WhatsApp/issues/3, I am able to verify that the signature hasn't been changed. We need to try something else.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

yerunkar11 commented 5 years ago

@alexvong1995 what needs to be done here ? And what about the noise encryption?

devalexanderdaza commented 5 years ago

Still no news guys?

gabrieru commented 5 years ago

news about it please

langioletto commented 5 years ago

YOWSUP DEAD

HeinzFo commented 5 years ago

Hello

On my Android Phone the WhatsApp application is Version 2.19.17 but what is the right MD5_CLASSES in env_android.py ?

https://coderus.openrepos.net/whitesoft/whatsapp_scratch

Regards Heinz

HeinzFo commented 5 years ago

What I want to say is, the data in the link is still valid for 2.19.17 or not?

I think the new Version 2.19.17 requires an new MD5_CLASSES

But unfortunately, it is only poking in the fog!

alexvong243f commented 5 years ago

@HeinzFo

HeinzFo notifications@github.com writes:

What I want to say is, the data in the link is still valid for 2.19.17 or not?

I think the new Version 2.19.17 requires an new MD5_CLASSES

In general, using the version and md5 class provided in https://coderus.openrepos.net/whitesoft/whatsapp_scratch should work (which is currently 2.19.15 and 5eItLCbGXx3CKpybxo81/A==).

But if you really want to set the version to 2.19.17, you need to find out the md5 class corresponding to version 2.19.17 from the 2.19.17 apk. The steps are as followed:

First, install pyaxmlparser: https://github.com/appknox/pyaxmlparser (the python 3 version) Then, clone this repo: https://github.com/mgp25/classesMD5-64 Finally, move the 2.19.17 apk to the

classesMD5-64/ directory and run python3 ./dexMD5.py <NAME OF 2.19.17 APK> I don't think this will make yowsup work again though.

But unfortunately, it is only poking in the fog!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

markdueck commented 5 years ago

I have the same issue. Just hoping someone will find a solution. I was just about the launch a project - low usage, but I was excited that everything was working. :(