Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Login LoginWithPassword #1217

Open
pbutarbutar opened this issue Sep 27, 2016 · 4 comments
Open

Problem Login LoginWithPassword #1217

pbutarbutar opened this issue Sep 27, 2016 · 4 comments

Comments

@pbutarbutar
Copy link

pbutarbutar commented Sep 27, 2016

Hi master Mgp25 please help me.

I have problem event I run method $login = $w->LoginWithPassword($password);
Prosess Registration normally success and correct. But I m running to send message show error like this ,

tx stream:features/stream:features

tx

rx

rx stream:features/stream:features

rx 9008423dcf0d49e4743bf8632418bd73719a1c28

end off bugs ,

PHP Warning: socket_write(): unable to write to socket [32]: Broken pipe in /var/www/html/API/Chat-API-master/src/whatsprot.class.php on line 2748
tx

My Script :

Connect(); $login = $w->LoginWithPassword($password); I think may be problem from WHATSAPP_SERVER because I'm try check open port and result is closed port. Is problem because WHATSAPP_SERVER or problem userid & passwor but I have sure userid & password is right. I think team's in here have solution for me. Thanks a lot of
@hazemmatouk
Copy link

the problem is there is a domain (s.whastapp.net) has been stopped by WhatsApp, so you need to alternative domain to login through to WhatsApp. if got this domain, kindly shard with us

@AlexanderSRocha
Copy link

I have the same problem.

I looked for yowsup lib for python and it works. It still use the domain "s.whastapp.net" also have some endpoints.

ENDPOINTS = (
("e1.whatsapp.net", 443),
("e2.whatsapp.net", 443),
("e3.whatsapp.net", 443),
("e4.whatsapp.net", 443),
("e5.whatsapp.net", 443),
("e6.whatsapp.net", 443),
("e7.whatsapp.net", 443),
("e8.whatsapp.net", 443),
("e9.whatsapp.net", 443),
("e10.whatsapp.net", 443),
("e11.whatsapp.net", 443),
("e12.whatsapp.net", 443),
("e13.whatsapp.net", 443),
("e14.whatsapp.net", 443),
("e15.whatsapp.net", 443),
("e16.whatsapp.net", 443),
)

I don't know how to use this on the chat-api code.

@hazemmatouk
Copy link

the response of tracert s.whatsapp.net: Unable to resolve target system name s.whatsapp.net, but there is a response of tracert e2.whatsapp.net.

@desrajk
Copy link

desrajk commented Sep 19, 2018

Hi
Anyone please help. i can't loginWithPassword. its continue loading..
I don't know . what happening there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants