tgalal / yowsup

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

yowsup died? #3157

Open Whomakes opened 2 years ago

Whomakes commented 2 years ago

yowsup died today?

assegaf commented 2 years ago

its not died, it just you dont wanna help

whatsapprus commented 2 years ago

have you tried logging in today? On my side stop login

Чт, 21 июля 2022 г. в 09:00, Din @.***>:

its not died, it just you dont wanna help

— Reply to this email directly, view it on GitHub https://github.com/tgalal/yowsup/issues/3157#issuecomment-1190850497, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE35IS73DRMHFB3UQLFZU7DVVCAKVANCNFSM54FLAWRQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

barart commented 2 years ago

Same question, im facing timeouts and disconnects since monday... its not a ban, its like whatsapp servers are refusing in someway the petitions, sometimes they accept them like 1/100 attemps:

Yowsup Cli client
==================
Type /help for available commands

[offline]:/L
I 2022-07-20 20:37:50,113 yowsup.layers.network.layer - Connecting to e5.whatsapp.net:443
general: Disconnected: 
[offline]:
[offline]:
DevinAo0812 commented 2 years ago

is there any workaround?

Whomakes commented 2 years ago

is there any workaround?

it is not known what the problem is. no error

DevinAo0812 commented 2 years ago

is there any workaround?

it is not known what the problem is. no error I found that it might be in the key authentication there。

handshake.WAHandshake.perform(WAHandshake.java:85) at consonance.WANoiseProtocol.start(WANoiseProtocol.java:115)

jowiemann commented 2 years ago

same issue. Also new _VERSION = "2.22.15" _MD5_CLASSES = "BwB6r5I7vo6GLR8bPJyJ9A==" will not work. New ideas needed :-)

jaimelinharesjr commented 2 years ago

Died here too.

nightcoder22 commented 2 years ago

having the same issue since today.

[offline]:/L I 2022-07-21 13:28:10,423 yowsup.layers.network.layer - Connecting to e13.whatsapp.net:443 I 2022-07-21 13:28:10,454 yowsup.axolotl.manager - Loaded 500 unsent prekeys general: Disconnected:

tried the new number, new registration, and new version md5. Nothing working!!!

rafaelnordavind commented 2 years ago

I think it might be something like this: WA protocol upgraded to 3.0

sjoerdj commented 2 years ago

Maybe a DNS issue, as adding the following to /etc/hosts as instructed by @Johnprogg in #2992 worked for me:

157.240.28.55 e1.whatsapp.net e15.whatsapp.net 34.194.255.230 e2.whatsapp.net e16.whatsapp.net 31.13.66.51 e3.whatsapp.net 31.13.71.50 e4.whatsapp.net 31.13.72.48 e5.whatsapp.net 31.13.79.54 e6.whatsapp.net 31.13.85.49 e7.whatsapp.net 31.13.65.50 e8.whatsapp.net 31.13.87.48 e9.whatsapp.net 108.168.254.65 e10.whatsapp.net 31.13.66.51 e11.whatsapp.net 31.13.70.50 e12.whatsapp.net 31.13.83.51 e13.whatsapp.net 31.13.92.48 e14.whatsapp.net

lauriolasw commented 2 years ago

Same here!

RobLinux commented 2 years ago

use g.whatsapp.net 😘

marcocot commented 2 years ago

use g.whatsapp.net 😘

Can you add some more details? 😬

dreascomputer commented 2 years ago

Same here!

dreascomputer commented 2 years ago

Does anyone has testet sjoerdj solution?

dreascomputer commented 2 years ago

I've implemented sjoerdj solution - currently it works. I think this is only transitional, or?

sjoerdj commented 2 years ago

@RobLinux, I guess you made changes to the /yowsup/common/constants.py file. If so, could you please share with us how your constants.py looks like? @dreascomputer, agreed, I see it as a temporary fix and look forward to a cleaner definitive solutuon.

magnussolution commented 2 years ago

Maybe a DNS issue, as adding the following to /etc/hosts as instructed by @Johnprogg in #2992 worked for me:

157.240.28.55 e1.whatsapp.net e15.whatsapp.net 34.194.255.230 e2.whatsapp.net e16.whatsapp.net 31.13.66.51 e3.whatsapp.net 31.13.71.50 e4.whatsapp.net 31.13.72.48 e5.whatsapp.net 31.13.79.54 e6.whatsapp.net 31.13.85.49 e7.whatsapp.net 31.13.65.50 e8.whatsapp.net 31.13.87.48 e9.whatsapp.net 108.168.254.65 e10.whatsapp.net 31.13.66.51 e11.whatsapp.net 31.13.70.50 e12.whatsapp.net 31.13.83.51 e13.whatsapp.net 31.13.92.48 e14.whatsapp.net

this worked for me. Thanks

jowiemann commented 2 years ago

Hello,

attached my constants.py. constants.zip

glidingplane commented 2 years ago

Maybe a DNS issue, as adding the following to /etc/hosts as instructed by @Johnprogg in #2992 worked for me:

157.240.28.55 e1.whatsapp.net e15.whatsapp.net 34.194.255.230 e2.whatsapp.net e16.whatsapp.net 31.13.66.51 e3.whatsapp.net 31.13.71.50 e4.whatsapp.net 31.13.72.48 e5.whatsapp.net 31.13.79.54 e6.whatsapp.net 31.13.85.49 e7.whatsapp.net 31.13.65.50 e8.whatsapp.net 31.13.87.48 e9.whatsapp.net 108.168.254.65 e10.whatsapp.net 31.13.66.51 e11.whatsapp.net 31.13.70.50 e12.whatsapp.net 31.13.83.51 e13.whatsapp.net 31.13.92.48 e14.whatsapp.net

also works for me, thank's a lot !!!

mhmh55516 commented 2 years ago

Solution https://github.com/tgalal/yowsup/issues/2992#issuecomment-648039297

Joshuwatomy commented 2 years ago

Maybe a DNS issue, as adding the following to /etc/hosts as instructed by @Johnprogg in #2992 worked for me: 157.240.28.55 e1.whatsapp.net e15.whatsapp.net 34.194.255.230 e2.whatsapp.net e16.whatsapp.net 31.13.66.51 e3.whatsapp.net 31.13.71.50 e4.whatsapp.net 31.13.72.48 e5.whatsapp.net 31.13.79.54 e6.whatsapp.net 31.13.85.49 e7.whatsapp.net 31.13.65.50 e8.whatsapp.net 31.13.87.48 e9.whatsapp.net 108.168.254.65 e10.whatsapp.net 31.13.66.51 e11.whatsapp.net 31.13.70.50 e12.whatsapp.net 31.13.83.51 e13.whatsapp.net 31.13.92.48 e14.whatsapp.net

also works for me, thank's a lot !!!

is sync contacts command working with this solution?

Joshuwatomy commented 2 years ago

Solution #2992 (comment)

bro is sync contacts command working with this solution?

sjoerdj commented 2 years ago

Based on nslookups of the ip addresses in #2992, I built a new constants.py

class YowConstants:
    DOMAIN = "chat.cdn.whatsapp.net"
    ENDPOINTS = (
        ("whatsapp-chatd-edge-shv-01-atl3.facebook.com", 443),
        ("whatsapp-chatd-edge-shv-01-frx5.facebook.com", 443),
        ("whatsapp-chatd-edge-shv-02-gru2.facebook.com", 443),
        ("whatsapp-chatd-edge-shv-02-lax3.facebook.com", 443),
        ("whatsapp-chatd-edge-shv-01-nrt1.facebook.com", 443),
        ("whatsapp-chatd-edge-shv-01-sea1.facebook.com", 443),
        )

    WHATSAPP_SERVER = "s.whatsapp.net"
    WHATSAPP_GROUP_SERVER = "g.us"

    YOWSUP = "yowsup"

    PREVIEW_WIDTH = 64
    PREVIEW_HEIGHT = 64

It works, although I am not sure whether the WHATSAPP_SERVER and WHATSAPP_GROUP_SERVER values that I left unchanged are still correct.

Joshuwatomy commented 2 years ago

Based on nslookups of the ip addresses in #2992, I built a new constants.py

class YowConstants:
  DOMAIN = "chat.cdn.whatsapp.net"
  ENDPOINTS = (
      ("whatsapp-chatd-edge-shv-01-atl3.facebook.com", 443),
      ("whatsapp-chatd-edge-shv-01-frx5.facebook.com", 443),
      ("whatsapp-chatd-edge-shv-02-gru2.facebook.com", 443),
      ("whatsapp-chatd-edge-shv-02-lax3.facebook.com", 443),
      ("whatsapp-chatd-edge-shv-01-nrt1.facebook.com", 443),
      ("whatsapp-chatd-edge-shv-01-sea1.facebook.com", 443),
      ("whatsapp-chatd-edge6-shv-01-atl3.facebook.com", 443),
      ("whatsapp-chatd-edge6-shv-01-frx5.facebook.com", 443),
      ("whatsapp-chatd-edge6-shv-02-gru2.facebook.com", 443),
      ("whatsapp-chatd-edge6-shv-02-lax3.facebook.com", 443),
      ("whatsapp-chatd-edge6-shv-01-nrt1.facebook.com", 443),
      ("whatsapp-chatd-edge6-shv-01-sea1.facebook.com", 443),
      )

  WHATSAPP_SERVER = "s.whatsapp.net"
  WHATSAPP_GROUP_SERVER = "g.us"

  YOWSUP = "yowsup"

  PREVIEW_WIDTH = 64
  PREVIEW_HEIGHT = 64

It works, though I had to comment out the edge6 endpoints to make it stable, and I am not sure whether the WHATSAPP_SERVER and WHATSAPP_GROUP_SERVER values that I left unchanged are still correct.

contact sync option working?

houjianwen123 commented 2 years ago

hi, May I know what is the env and setting to solve this issue ? I try use the env_android.py , it seem doeson't work

sjoerdj commented 2 years ago

hi, May I know what is the env and setting to solve this issue ? I try use the env_android.py , it seems it doesn't work

Hi @houjianwen123, these settings are in the yowsup/common/constants.py file, not the yowsup/env/env_android.py file.

jecwb commented 2 years ago

for me died again.

marcocot commented 2 years ago

it seems to be not working again. has anyone any news?

halinet commented 2 years ago

it seems to be not working again. has anyone any news?

still working for me

Update android env file

_VERSION = "2.22.15" _MD5_CLASSES = "BwB6r5I7vo6GLR8bPJyJ9A=="

and update /yowsup/common/constants.py

class YowConstants: DOMAIN = "s.whatsapp.net" ENDPOINTS = ( ("157.240.28.55", 443),

("34.194.255.230", 443),

    ("31.13.66.51", 443),
    ("31.13.71.50", 443),
    ("31.13.72.48", 443),
    ("31.13.79.54", 443),
    ("31.13.85.49", 443),
    ("31.13.65.50", 443),
    ("31.13.87.48", 443),
    #("108.168.254.65", 443),
    ("31.13.66.51", 443),
    ("31.13.70.50", 443),
    ("31.13.83.51", 443),
    ("31.13.92.48", 443),
    ("157.240.28.55", 443),
    #("34.194.255.230", 443),
    )

WHATSAPP_SERVER = "s.whatsapp.net"
WHATSAPP_GROUP_SERVER = "g.us"

YOWSUP = "yowsup"

PREVIEW_WIDTH = 64
PREVIEW_HEIGHT = 64