tgalal / yowsup

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

General Disconnect without getting banned? #2919

Open cijo7 opened 4 years ago

cijo7 commented 4 years ago

I am able to register but unable to login. The number is also not banned as i am able to register again.

It used to work fine.

I am using the latest build from the master.

Here is the logs:

D 2020-01-22 11:14:26,519 yowsup.config.manager - load(path_or_profile_name=123xxxx, profile_only=False) D 2020-01-22 11:14:26,519 yowsup.config.manager - _load_path(path=123xxxx) D 2020-01-22 11:14:26,520 yowsup.config.manager - _load_path couldn't find the path: 123xxxx D 2020-01-22 11:14:26,520 yowsup.config.manager - path_or_profile_name is not a path, using it as profile name D 2020-01-22 11:14:26,520 yowsup.config.manager - Detecting config for profile=123xxxx, dir=/home/root/.config/yowsup/123xxxx D 2020-01-22 11:14:26,520 yowsup.config.manager - Trying /home/root/.config/yowsup/123xxxx/config.yo D 2020-01-22 11:14:26,520 yowsup.config.manager - Trying /home/root/.config/yowsup/123xxxx/config.json D 2020-01-22 11:14:26,520 yowsup.config.manager - _load_path(path=/home/root/.config/yowsup/123xxxx/config.json) D 2020-01-22 11:14:26,520 yowsup.config.manager - Detected config type: json D 2020-01-22 11:14:26,520 yowsup.config.manager - Opening config for reading D 2020-01-22 11:14:26,520 yowsup.config.manager - Loading config D 2020-01-22 11:14:26,520 yowsup.profile.profile - Constructed Profile(profile_name=123xxxx) D 2020-01-22 11:14:26,521 yowsup-cli - starting cmd yowsup-cli v3.2.0 yowsup v3.2.3 consonance v0.1.3-1 dissononce v0.34.3 python-axolotl v0.2.2 cryptography v2.6.1 protobuf v3.0.0

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

D 2020-01-22 11:14:26,689 yowsup.stacks.yowstack - Initializing stack D 2020-01-22 11:14:26,689 yowsup.stacks.yowstack - Constructed Network Layer D 2020-01-22 11:14:26,689 yowsup.stacks.yowstack - Constructed Noise Segments Layer D 2020-01-22 11:14:26,690 yowsup.stacks.yowstack - Constructed Noise Layer D 2020-01-22 11:14:26,690 yowsup.stacks.yowstack - Constructed Coder Layer D 2020-01-22 11:14:26,690 yowsup.stacks.yowstack - Constructed Logger Layer D 2020-01-22 11:14:26,691 yowsup.stacks.yowstack - Constructed <yowsup.layers.axolotl.layer_control.AxolotlControlLayer object at 0x7f0d50372d68> D 2020-01-22 11:14:26,691 yowsup.stacks.yowstack - Constructed Axolotl Layer - <yowsup.layers.axolotl.layer_receive.AxolotlReceivelayer object at 0x7f0d4dbaf588> D 2020-01-22 11:14:26,691 yowsup.stacks.yowstack - Constructed Authentication Layer - Messages Layer - Receipt Layer - Ack Layer - Presence Layer - Ib Layer - Iq Layer - notification Ib Layer - Contact Iq Layer - Chatstate Layer - call Layer - Groups Iq Layer - Media Layer - Privacy Layer - Profiles Layer D 2020-01-22 11:14:26,694 yowsup.stacks.yowstack - Constructed CLI Interface Layer D 2020-01-22 11:14:26,694 yowsup.stacks.yowstack - setProfile(YowProfile(profile_name=123xxxx))

/L D 2020-01-22 11:14:28,629 yowsup.layers.network.layer - Created asyncore dispatcher I 2020-01-22 11:14:28,629 yowsup.layers.network.layer - Connecting to e11.whatsapp.net:443 D 2020-01-22 11:14:28,629 yowsup.layers.network.dispatcher.dispatcher_asyncore - connect(('e11.whatsapp.net', 443)) D 2020-01-22 11:14:29,180 yowsup.layers.network.dispatcher.dispatcher_asyncore - handle_connect D 2020-01-22 11:14:29,180 yowsup.layers.network.layer - Connected D 2020-01-22 11:14:29,181 yowsup.axolotl.factory - get_manager(profile_name=123xxxx, username=123xxxx) D 2020-01-22 11:14:29,183 yowsup.axolotl.manager - Initialized AxolotlManager [username=123xxxx, db=/home/root/.config/yowsup/123xxxx/axolotl.db] D 2020-01-22 11:14:29,183 yowsup.axolotl.manager - level_prekeys(force=False) D 2020-01-22 11:14:29,192 yowsup.axolotl.manager - len(pending_prekeys) = 812 D 2020-01-22 11:14:29,193 yowsup.axolotl.manager - load_unsent_prekeys I 2020-01-22 11:14:29,200 yowsup.axolotl.manager - Loaded 812 unsent prekeys D 2020-01-22 11:14:29,201 yowsup.layers.noise.layer - Received auth event D 2020-01-22 11:14:29,202 yowsup.env.env - Env not set, setting it to android D 2020-01-22 11:14:29,202 yowsup.env.env - Current env changed to android D 2020-01-22 11:14:29,202 yowsup.layers.noise.layer - Performing handshake [username= 123xxxx, passive=True] D 2020-01-22 11:14:29,202 yowsup.layers.noise.layer - Starting handshake worker D 2020-01-22 11:14:29,909 yowsup.layers.network.dispatcher.dispatcher_asyncore - handle_close D 2020-01-22 11:14:29,909 yowsup.layers.network.layer - Disconnected D 2020-01-22 11:14:30,003 yowsup.layers.axolotl.layer_control - Disconnected, reboot_connect? = False general: Disconnected:

Here is config file:

{
    "__version__": 1,
    "cc": "1",
    "client_static_keypair": "xxxxxxxxxx",
    "edge_routing_info": "xxxx==",
    "expid": "xxxxxxxxxxx==",
    "fdid": "xxxxxxxxxxxxx",
    "id": "xxxxxxxxxxxxxxxxxxx=",
    "login": "123xxxxxxxxx",
    "mcc": "234",
    "mnc": "08",
    "phone": "123xxxxxxxxx",
    "sim_mcc": "000",
    "sim_mnc": "000"
}

Any idea? Is it an issue with the yowsup?

vdpopov commented 4 years ago

the same problem

D 2020-01-22 09:21:22,606 yowsup.stacks.yowstack - Initializing stack D 2020-01-22 09:21:22,606 yowsup.stacks.yowstack - Constructed Network Layer D 2020-01-22 09:21:22,606 yowsup.stacks.yowstack - Constructed Noise Segments Layer D 2020-01-22 09:21:22,607 yowsup.stacks.yowstack - Constructed Noise Layer D 2020-01-22 09:21:22,607 yowsup.stacks.yowstack - Constructed Coder Layer D 2020-01-22 09:21:22,607 yowsup.stacks.yowstack - Constructed Logger Layer D 2020-01-22 09:21:22,607 yowsup.stacks.yowstack - Constructed <yowsup.layers.axolotl.layer_control.AxolotlControlLayer object at 0x7fa556816d10> D 2020-01-22 09:21:22,607 yowsup.stacks.yowstack - Constructed Axolotl Layer - <yowsup.layers.axolotl.layer_receive.AxolotlReceivelayer object at 0x7fa556800850> D 2020-01-22 09:21:22,607 yowsup.stacks.yowstack - Constructed Authentication Layer - Messages Layer - Receipt Layer - Ack Layer - Presence Layer - Ib Layer - Iq Layer - notification Ib Layer - Contact Iq Layer - Chatstate Layer - call Layer - Groups Iq Layer - Media Layer - Privacy Layer - Profiles Layer D 2020-01-22 09:21:22,608 yowsup.stacks.yowstack - Constructed Interface Layer D 2020-01-22 09:21:22,608 yowsup.stacks.yowstack - setProfile(YowProfile(profile_name=7xxxxxxxxxx)) D 2020-01-22 09:21:22,608 yowsup.layers.network.layer - Created asyncore dispatcher I 2020-01-22 09:21:22,608 yowsup.layers.network.layer - Connecting to e6.whatsapp.net:443 D 2020-01-22 09:21:22,608 yowsup.layers.network.dispatcher.dispatcher_asyncore - connect(('e6.whatsapp.net', 443)) D 2020-01-22 09:21:22,774 yowsup.layers.network.dispatcher.dispatcher_asyncore - handle_connect D 2020-01-22 09:21:22,774 yowsup.layers.network.layer - Connected D 2020-01-22 09:21:22,774 yowsup.axolotl.factory - get_manager(profile_name=7xxxxxxxxxx, username=7xxxxxxxxxx) D 2020-01-22 09:21:22,775 yowsup.axolotl.manager - Initialized AxolotlManager [username=7xxxxxxxxxx, db=/var/lib/*/axolotl.db] D 2020-01-22 09:21:22,775 yowsup.axolotl.manager - level_prekeys(force=False) D 2020-01-22 09:21:22,799 yowsup.axolotl.manager - len(pending_prekeys) = 1268 D 2020-01-22 09:21:22,799 yowsup.axolotl.manager - load_unsent_prekeys D 2020-01-22 09:21:22,799 yowsup.layers.noise.layer - Received auth event D 2020-01-22 09:21:22,800 yowsup.env.env - Env not set, setting it to android D 2020-01-22 09:21:22,800 yowsup.env.env - Current env changed to android D 2020-01-22 09:21:22,800 yowsup.layers.noise.layer - Performing handshake [username= 7xxxxxxxxxx, passive=True] D 2020-01-22 09:21:22,800 yowsup.layers.noise.layer - Starting handshake worker D 2020-01-22 09:21:23,091 yowsup.layers.network.dispatcher.dispatcher_asyncore - handle_close D 2020-01-22 09:21:23,091 yowsup.layers.network.layer - Disconnected D 2020-01-22 09:21:23,091 yowsup.layers.axolotl.layer_control - Disconnected, reboot_connect? = False

nightcoder22 commented 4 years ago

Same issue since today morning. (22/01/2020).. Tried re-registering number,. registration successful but cant login,. Even tried changing IP still no success. Anyone there who is still using yowsup successfully?

ersinayaz commented 4 years ago

i'm having the same problem. 😞

gacalixto commented 4 years ago

i'm also having the same problem

ermancanitatli commented 4 years ago

@tgalal i am having the same problem

berkayaksoy commented 4 years ago

I am having the same problem.

JoelSaldanaMontoya commented 4 years ago

@tgalal i am having the same issue , since (22/01/2020) (01:04 hrs - GMT)

ermancanitatli commented 4 years ago

@tgalal Does anyone know the cause of the problem?

iamrossalex commented 4 years ago

I tried to reregister and it returned few additional fields in json like "chat_dns_domain", "edge_routing_info", "server_static_public"...:

{
    "__version__": 1,
    "cc": "***",
    "chat_dns_domain": "fb",
    "client_static_keypair": "kC/CM9sX1YNyAL...",
    "edge_routing_info": "**IICA==",
    "expid": "9TdTfwHA*********PFw==",
    "fdid": "*********-9dc0-406e-8911-**********",
    "id": "****kQuIERvCVLt8UchpTnjuPis=",
    "login": "*********05057",
    "mcc": "***",
    "mnc": "**",
    "phone": "*********5057",
    "server_static_public": "LKFtqKAAS*********8WVkwPZLMk3ybT3ggI=",
    "sim_mcc": "000",
    "sim_mnc": "000"
}
vdpopov commented 4 years ago

I tried to reregister and it returned few additional fields in json like "chat_dns_domain", "edge_routing_info", "server_static_public"...:

{
    "__version__": 1,
    "cc": "***",
    "chat_dns_domain": "fb",
    "client_static_keypair": "kC/CM9sX1YNyAL...",
    "edge_routing_info": "**IICA==",
    "expid": "9TdTfwHA*********PFw==",
    "fdid": "*********-9dc0-406e-8911-**********",
    "id": "****kQuIERvCVLt8UchpTnjuPis=",
    "login": "*********05057",
    "mcc": "***",
    "mnc": "**",
    "phone": "*********5057",
    "server_static_public": "LKFtqKAAS*********8WVkwPZLMk3ybT3ggI=",
    "sim_mcc": "000",
    "sim_mnc": "000"
}

does it work with these fields?

iamrossalex commented 4 years ago

I tried to reregister and it returned few additional fields in json like "chat_dns_domain", "edge_routing_info", "server_static_public"...:

{
    "__version__": 1,
    "cc": "***",
    "chat_dns_domain": "fb",
    "client_static_keypair": "kC/CM9sX1YNyAL...",
    "edge_routing_info": "**IICA==",
    "expid": "9TdTfwHA*********PFw==",
    "fdid": "*********-9dc0-406e-8911-**********",
    "id": "****kQuIERvCVLt8UchpTnjuPis=",
    "login": "*********05057",
    "mcc": "***",
    "mnc": "**",
    "phone": "*********5057",
    "server_static_public": "LKFtqKAAS*********8WVkwPZLMk3ybT3ggI=",
    "sim_mcc": "000",
    "sim_mnc": "000"
}

does it work with these fields?

nope!

ElieTabet commented 4 years ago

@tgalal I'm facing the same issue

Macarthurval commented 4 years ago

Me too

AlessandroSantos commented 4 years ago

Me too. Same issue.

freddyp19 commented 4 years ago

Me too. Same issue, thanks for the contributions to the solution

Emersonsanch commented 4 years ago

Me too.

dieterrosch commented 4 years ago

Same

vdpopov commented 4 years ago

Anyone?

cmeerw commented 4 years ago

WhatsApp has discontinued support for protocol version 2.1 (which yowsup currently uses), it now requires clients to use protocol version 3.0.

munknex commented 4 years ago

@cmeerw any ideas or guides on how to implement 3.0 in yowsup?

sachin2625 commented 4 years ago

@tgalal I have registered the number but message was not sending. sachin@sachin-HP-EliteBook-840-G1:~$ yowsup-cli demos -c 91xxxxxxxxxx -s 91xxxxxxxxxx "Testing" 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

I 2020-01-23 14:43:30,036 yowsup.layers.network.layer - Connecting to e12.whatsapp.net:443 I 2020-01-23 14:43:30,352 yowsup.axolotl.manager - Loaded 812 unsent prekeys

It was not running.

nightcoder22 commented 4 years ago

WhatsApp has discontinued support for protocol version 2.1 (which yowsup currently uses), it now requires clients to use protocol version 3.0.

@cmeerw Where did you get this information from?

brokenheart32988 commented 4 years ago

The issue is with consonance not being able to connect with WA servers. The noise protocol's initial handshake is failing.

Unless this is fixed nothing will work.

vdpopov commented 4 years ago

@tgalal yowsup?

JoelSaldanaMontoya commented 4 years ago

So we should check here?? yowsup/yowsup/env/env_android.py

JoelSaldanaMontoya commented 4 years ago

The issue is with consonance not being able to connect with WA servers. The noise protocol's initial handshake is failing.

Unless this is fixed nothing will work.

So we should check here?? yowsup/yowsup/env/env_android.py

JoelSaldanaMontoya commented 4 years ago

This is my log

user@PowerEdge-R420:~/ia$ python /home/ia/yowsup/yowsup-cli demos -d -c /home/ia/yowsup/519****/ -s "51*****" "Test" D 2020-01-23 09:42:54,713 yowsup.config.manager - load(path_or_profile_name=/home/ia/yowsup/519****/, profile_only=False) D 2020-01-23 09:42:54,713 yowsup.config.manager - _load_path(path=/home/ia/yowsup/519****/) D 2020-01-23 09:42:54,713 yowsup.config.manager - _load_path couldn't find the path: /home/ia/yowsup/519****/ D 2020-01-23 09:42:54,713 yowsup.config.manager - path_or_profile_name is not a path, using it as profile name D 2020-01-23 09:42:54,713 yowsup.config.manager - Detecting config for profile=/home/ia/yowsup/519****/, dir=/home/ia/yowsup/519****/ D 2020-01-23 09:42:54,714 yowsup.config.manager - Trying /home/ia/yowsup/51****/config.json D 2020-01-23 09:42:54,714 yowsup.config.manager - _load_path(path=/home/ia/yowsup/519****/config.json) D 2020-01-23 09:42:54,714 yowsup.config.manager - Detected config type: json D 2020-01-23 09:42:54,714 yowsup.config.manager - Opening config for reading D 2020-01-23 09:42:54,714 yowsup.config.manager - Loading config D 2020-01-23 09:42:54,714 yowsup.profile.profile - Constructed Profile(profile_name=/home/ia/yowsup/519****/) yowsup-cli v3.2.0 yowsup v3.2.3 consonance v0.1.3-1 dissononce v0.34.3 python-axolotl v0.2.2 cryptography v2.8 protobuf v3.11.1

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

D 2020-01-23 09:42:54,768 yowsup.stacks.yowstack - Initializing stack D 2020-01-23 09:42:54,769 yowsup.stacks.yowstack - Constructed Network Layer D 2020-01-23 09:42:54,769 yowsup.stacks.yowstack - Constructed Noise Segments Layer D 2020-01-23 09:42:54,770 yowsup.stacks.yowstack - Constructed Noise Layer D 2020-01-23 09:42:54,770 yowsup.stacks.yowstack - Constructed Coder Layer D 2020-01-23 09:42:54,770 yowsup.stacks.yowstack - Constructed Logger Layer D 2020-01-23 09:42:54,770 yowsup.stacks.yowstack - Constructed <yowsup.layers.axolotl.layer_control.AxolotlControlLayer object at 0x7f369a635790> D 2020-01-23 09:42:54,770 yowsup.stacks.yowstack - Constructed Axolotl Layer - <yowsup.layers.axolotl.layer_receive.AxolotlReceivelayer object at 0x7f369a61f2d0> D 2020-01-23 09:42:54,770 yowsup.stacks.yowstack - Constructed Authentication Layer - Messages Layer - Receipt Layer - Ack Layer - Presence Layer - Ib Layer - Iq Layer - notification Ib Layer - Contact Iq Layer - Chatstate Layer - call Layer - Groups Iq Layer - Media Layer - Privacy Layer - Profiles Layer D 2020-01-23 09:42:54,770 yowsup.stacks.yowstack - Constructed Interface Layer D 2020-01-23 09:42:54,771 yowsup.stacks.yowstack - setProfile(YowProfile(profile_name=/home/ia/yowsup/519****/)) D 2020-01-23 09:42:54,771 yowsup.layers.network.layer - Created asyncore dispatcher I 2020-01-23 09:42:54,771 yowsup.layers.network.layer - Connecting to e8.whatsapp.net:443 D 2020-01-23 09:42:54,771 yowsup.layers.network.dispatcher.dispatcher_asyncore - connect(('e8.whatsapp.net', 443)) D 2020-01-23 09:42:54,903 yowsup.layers.network.dispatcher.dispatcher_asyncore - handle_connect D 2020-01-23 09:42:54,903 yowsup.layers.network.layer - Connected D 2020-01-23 09:42:54,904 yowsup.axolotl.factory - get_manager(profile_name=/home/ia/yowsup/519****/, username=51****) D 2020-01-23 09:42:54,906 yowsup.axolotl.manager - Initialized AxolotlManager [username=51953972368, db=/home/ia/yowsup/519****/axolotl.db] D 2020-01-23 09:42:54,906 yowsup.axolotl.manager - level_prekeys(force=False) D 2020-01-23 09:42:54,968 yowsup.axolotl.manager - len(pending_prekeys) = 812 D 2020-01-23 09:42:54,968 yowsup.axolotl.manager - load_unsent_prekeys I 2020-01-23 09:42:54,995 yowsup.axolotl.manager - Loaded 812 unsent prekeys D 2020-01-23 09:42:54,995 yowsup.layers.noise.layer - Received auth event D 2020-01-23 09:42:54,995 yowsup.env.env - Env not set, setting it to android D 2020-01-23 09:42:54,995 yowsup.env.env - Current env changed to android D 2020-01-23 09:42:54,996 yowsup.layers.noise.layer - Performing handshake [username= 519****, passive=True] D 2020-01-23 09:42:54,996 yowsup.layers.noise.layer - Starting handshake worker D 2020-01-23 09:42:55,189 yowsup.layers.network.dispatcher.dispatcher_asyncore - handle_close D 2020-01-23 09:42:55,189 yowsup.layers.network.layer - Disconnected D 2020-01-23 09:42:55,190 yowsup.layers.axolotl.layer_control - Disconnected, reboot_connect? = False

:(

tcruzf commented 4 years ago

@AL-Kateb , do you have any information that can help us?

KriwoschejewAnton commented 4 years ago

Hi All. What the most convenient IDE can be used to investigate code and find the problem? If someone know it...

Chimi12 commented 4 years ago

Hello everyone, only as a possible suggestion has anyone tried to create the MD5 of the new whatsapp api and test if that is the issue, btw im a bit new to this so if im mistaken please let me know.

JoelSaldanaMontoya commented 4 years ago

Try again please, in this moment. Share your results .....

Thanks

vdpopov commented 4 years ago

Try again please, in this moment. Share your results .....

Thanks

IT WORKS!!!!!!!!!!!!

fabi321 commented 4 years ago

For me, it work's again, without doing something. Did they roll this change back?

KriwoschejewAnton commented 4 years ago

It works.

JoelSaldanaMontoya commented 4 years ago

:)

nightcoder22 commented 4 years ago

@JoeHardSal

`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

Yowsup Cli client

Type /help for available commands

I 2020-01-23 17:49:28,053 yowsup.layers.network.layer - Connecting to e12.whatsapp.net:443 Auth: Logged in! [connected]:W 2020-01-23 17:49:29,157 yowsup.layers.axolotl.layer_receive - InvalidMessage or KeyId for 91XXXXXXXXXX, going to send a retry E 2020-01-23 17:49:29,159 yowsup.layers.network.dispatcher.dispatcher_asyncore - Traceback (most recent call last): File "/usr/lib/python2.7/asyncore.py", line 83, in read obj.handle_read_event() File "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event self.handle_read() File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/network/dispatcher/dispatcher_asyncore.py", line 48, in handle_read self.connectionCallbacks.onRecvData(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/network/layer.py", line 100, in onRecvData self.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/network/layer.py", line 103, in receive self.toUpper(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/noise/layer_noise_segments.py", line 39, in receive self.toUpper(bytes(data)) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/noise/layer.py", line 156, in receive self._flush_incoming_buffer() File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/noise/layer.py", line 144, in _flush_incoming_buffer self.toUpper(self._wa_noiseprotocol.receive()) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/coder/layer.py", line 21, in receive self.toUpper(node) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/logger/layer.py", line 14, in receive self.toUpper(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.__upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_control.py", line 35, in receive self.toUpper(protocolTreeNode) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init__.py", line 194, in receive s.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_receive.py", line 31, in receive self.onMessage(protocolTreeNode) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_receive.py", line 63, in onMessage self.handleEncMessage(protocolTreeNode) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_receive.py", line 79, in handleEncMessage self.handleSenderKeyMessage(node) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_receive.py", line 145, in handleSenderKeyMessage data=enc.getData() File "/usr/local/lib/python2.7/dist-packages/yowsup/axolotl/manager.py", line 211, in group_decrypt plaintext = group_cipher.decrypt(data) File "/usr/local/lib/python2.7/dist-packages/axolotl/groups/groupcipher.py", line 63, in decrypt raise InvalidMessageException(e) InvalidMessageException: No keys for: 656089186

general: Disconnected: `

I am getting this now.. it says logged in and then disconnect.. Did you re register your number with yosup once again? or it worked with old config file also?

vdpopov commented 4 years ago

@JoeHardSal

`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

Yowsup Cli client

Type /help for available commands

I 2020-01-23 17:49:28,053 yowsup.layers.network.layer - Connecting to e12.whatsapp.net:443 Auth: Logged in! [connected]:W 2020-01-23 17:49:29,157 yowsup.layers.axolotl.layer_receive - InvalidMessage or KeyId for 91XXXXXXXXXX, going to send a retry E 2020-01-23 17:49:29,159 yowsup.layers.network.dispatcher.dispatcher_asyncore - Traceback (most recent call last): File "/usr/lib/python2.7/asyncore.py", line 83, in read obj.handle_read_event() File "/usr/lib/python2.7/asyncore.py", line 449, in handle_read_event self.handle_read() File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/network/dispatcher/dispatcher_asyncore.py", line 48, in handle_read self.connectionCallbacks.onRecvData(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/network/layer.py", line 100, in onRecvData self.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/network/layer.py", line 103, in receive self.toUpper(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/noise/layer_noise_segments.py", line 39, in receive self.toUpper(bytes(data)) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/noise/layer.py", line 156, in receive self._flush_incoming_buffer() File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/noise/layer.py", line 144, in _flush_incoming_buffer self.toUpper(self._wa_noiseprotocol.receive()) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/coder/layer.py", line 21, in receive self.toUpper(node) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/logger/layer.py", line 14, in receive self.toUpper(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.__upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_control.py", line 35, in receive self.toUpper(protocolTreeNode) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 79, in toUpper self.__upper.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/init.py", line 194, in receive s.receive(data) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_receive.py", line 31, in receive self.onMessage(protocolTreeNode) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_receive.py", line 63, in onMessage self.handleEncMessage(protocolTreeNode) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_receive.py", line 79, in handleEncMessage self.handleSenderKeyMessage(node) File "/usr/local/lib/python2.7/dist-packages/yowsup/layers/axolotl/layer_receive.py", line 145, in handleSenderKeyMessage data=enc.getData() File "/usr/local/lib/python2.7/dist-packages/yowsup/axolotl/manager.py", line 211, in group_decrypt plaintext = group_cipher.decrypt(data) File "/usr/local/lib/python2.7/dist-packages/axolotl/groups/groupcipher.py", line 63, in decrypt raise InvalidMessageException(e) InvalidMessageException: No keys for: 656089186

general: Disconnected: `

I am getting this now.. it says logged in and then disconnect.. Did you re register your number with yosup once again? or it worked with old config file also?

For me it works with old config. I did nothing at all, just started again my command in terminal

nightcoder22 commented 4 years ago

@vdpopov Thank you for quick response, can you try and reregister with another number if you have and try if it works? I too have old config and if used the same it says Login Failed, reason: 401 Updated service config with new user 91XXXXXXXXXX it does not accept my old config as i had registered same number again.

vdpopov commented 4 years ago

@nightcoder22 Well, I've registered new number right now. JSON file contains these fields: { "version": 1, "cc": "7", "client_static_keypair": "**==", "edge_routing_info": "**==", "expid": "+==", "fdid": "5", "id": "s****", "login": "7", "mcc": "000", "mnc": "000", "phone": "7", "sim_mcc": "000", "sim_mnc": "000" }

I'd started command in terminal then prekeys for this number was generated and then Yowsup alerted that the message sent

nightcoder22 commented 4 years ago

@vdpopov i registered and started yowsup cli. When i send /L for login i got the prekeys error as attached earlier. Were you able to successfully send message with newly registered number? Also can you try login using cli.

vdpopov commented 4 years ago

@nightcoder22

Im using yowsup-cli demos

Earlier i used demo script and wrote kinda like: yowsup-cli demos -c '/home//.config//7****/config.json' -s 7** 'text' --config-pushname 'My name is ...' --debug**

Look i can use Command line client right now: yowsup-cli demos --yowsup --config '/home//.config//7****/config.json'**

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

Yowsup Cli client

Type /help for available commands

I 2020-01-23 21:36:02,496 yowsup.layers.network.layer - Connecting to e11.whatsapp.net:443 Auth: Logged in! [connected]:

vdpopov commented 4 years ago

@nightcoder22

Auth: Logged in! [connected]:/message send 79*** 12345 [connected]:Sent: 1579805374-1

nightcoder22 commented 4 years ago

Nice. I am soo unlucky, dont know why it is not logging me in. I guess i should try and register with another number and see if it works.

JoelSaldanaMontoya commented 4 years ago

Nice. I am soo unlucky, dont know why it is not logging in me. I guess i should try and register with another number and see if it works.

Test several times from the CLI, restarting the process. At the beginning it will give you errors like the one you present (for group messages usually accumulated), but after you try several times by restarting the process in the CLI the messages are debugged and you can login without making any changes.

nightcoder22 commented 4 years ago

@vdpopov @JoeHardSal Thank you for your suggestions. I tried registering different number and now i am abale to login. Yowsup is up again!!!.

ersinayaz commented 4 years ago

the same problem started again. 🤕

JoelSaldanaMontoya commented 4 years ago

All ok in this moment. 05323B43-7E0E-4DD6-A407-FB402A1E724B

ersinayaz commented 4 years ago

All ok in this moment. 05323B43-7E0E-4DD6-A407-FB402A1E724B

how many numbers do you use? i'm using 300+ numbers, they are slowly closing. i think you will be impressed when all the servers are migrated. :/

ersinayaz commented 4 years ago

@tgalal are you alive? ❓

Chimi12 commented 4 years ago

Has anyone have the MD5 whatsapp v2.20.12 Code ?