GithubHelp home page GithubHelp logo

Socket error 10053 about whatsapi HOT 38 CLOSED

venomous0x avatar venomous0x commented on July 28, 2024
Socket error 10053

from whatsapi.

Comments (38)

isseu avatar isseu commented on July 28, 2024

Whatsapp implement ssl now... The protocol maybe have change?

from whatsapi.

ericblade avatar ericblade commented on July 28, 2024

maybe we could keep -one- issue instead of opening a new one for every person who can't login, which is pretty much everyone? :)

The connection is being dropped, because the authentication system apparently has changed.

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

ericblade good idea!

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

Finally got it working. I´ll post what I did in some minutes, hoping it will help someone else.

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

great! i will wait that post

from whatsapi.

brittson avatar brittson commented on July 28, 2024

Juliopp Yes please post bro ... I am waiting.

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

As @zstars said (link), this change does work. Now I can send, receive, and do everything without problems. For those who are still dealing with problems, here´s a copy of my folder, which is not more than the working copy of this project, over what I don´t have any right. I mean: It´s not my work, I´m just uploading it in case it may help anyone. :)

http://www.comprarcerditos.com/hopeItWorks.zip

from whatsapi.

brittson avatar brittson commented on July 28, 2024

Juliopp still no luck , i used your file and MD5 of reversed IMEI of an android phone. but cant send anything, Please help.

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

works for me.

from whatsapi.

brittson avatar brittson commented on July 28, 2024

gerswin thanks for response ? i need to change the fields in example.php file right?or i need to do something more?

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

just that. no more, and it works

from whatsapi.

brittson avatar brittson commented on July 28, 2024

Ok thanks and can you please tell me how to get the md5 of reversed IMEI(the password) i mean what function you are using?

from whatsapi.

ericblade avatar ericblade commented on July 28, 2024

hmm. still getting back not-authorized, with a connection drop. have re-registered. :-S

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

from whatsapi.

brittson avatar brittson commented on July 28, 2024

still not working, dont know whats wrong with me :(

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

I´m glad that, at least, it worked for @gerswin. @adasmalakar what´s your exact error?
@ericblade, could you use this method to check if the password is right? Mine was wrong :)

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

try BlueStacks maybe you are blocked

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

For easier use, replace
$wa = new WhatsApp("CountryCodeWithout00+Number", "MD5OfReversedIMEI", "Nickname");
with
$wa = new WhatsApp("CountryCodeWithout00+Number", md5(strrev ("IMEI")), "Nickname");

PS: oh, i just discovered how to close issues

from whatsapi.

brittson avatar brittson commented on July 28, 2024

I am getting this from wa object

WhatsApp Object ( [_server:WhatsApp:private] => s.whatsapp.net [_host:WhatsApp:private] => bin-short.whatsapp.net [_Digest_Uri:WhatsApp:private] => xmpp/s.whatsapp.net [_Realm:WhatsApp:private] => s.whatsapp.net [_Qop:WhatsApp:private] => auth [_contype:WhatsApp:private] => STREAM_CLIENT_PERSISTENT [_device:WhatsApp:private] => iPhone [_whatsAppVer:WhatsApp:private] => 2.8.2 [_port:WhatsApp:private] => 5222 [_timeout:WhatsApp:private] => Array ( [sec] => 2 [usec] => 0 ) [_accinfo:WhatsApp:private] => [_account_status:WhatsApp:private] => [_account_kind:WhatsApp:private] => [_account_creation:WhatsApp:private] => [_account_expiration:WhatsApp:private] => [_incomplete_message:WhatsApp:private] => [_number] => "Number" [_password] => "password" [_nickname] => "nickname" )

Please help

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

This is an authentication fail. Again, try using this method to check if the password is right? Mine was wrong :)

from whatsapi.

brittson avatar brittson commented on July 28, 2024

yes i tried and its returning ok and returning result =new

from whatsapi.

brittson avatar brittson commented on July 28, 2024

Juliopp can you modify the whatsprot.class.php, cause previously creating object of this class works just great.

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

@Juliopp you only chage 0x04 by 0x01?

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

@adasmalakar I was wondering, what i need to change whatsprot.class.php

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

@gerswin I changed that, something more about utf-8 (idea by @dsdsfga here) and I think that something more. I cannot remember, I´ve been struggling with this for too much time... Sorry ^.^

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

@adasmalakar replied here.
and, answering your question, what? I´m sorry, It´s 2 AM here and my brain thinks slowly :P

from whatsapi.

brittson avatar brittson commented on July 28, 2024

i got this msg in response............ "response status="missing" login="num" result="me=num code=THE" .....i am getting this with my another registered windows phone

from whatsapi.

brittson avatar brittson commented on July 28, 2024

anyways this is not the issue ... but i dont know why the code from @Juliopp is not working... is it working for everyone else?

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

Well, that´s YES for 2 people, NO for other 2. :) That´s a draw.
But, yes, that´s the issue: we need to guess if WhatsApp is accepting your password.

from whatsapi.

brittson avatar brittson commented on July 28, 2024

@Juliopp i think whatsapp is responding to different phone differently , like i previously show my android phone result, replacing that with a windows phone giving timeout errors. Any idea?

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

@adasmalakar try this download BlueStacks and install whatsapp and heywire for get a valid number and try

from whatsapi.

gerswin avatar gerswin commented on July 28, 2024

@Juliopp do you know how to get messages received?

from whatsapi.

brittson avatar brittson commented on July 28, 2024

@gerswin i am trying.

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

@gerswin I think that´s done flushing the inbox by running read() (that´s $wa->read();) command a few times, as suggested by @hubail here :)

from whatsapi.

brittson avatar brittson commented on July 28, 2024

@gerswin used bluestack & haywire , still not working

from whatsapi.

c0dr avatar c0dr commented on July 28, 2024

@Juliopp Your version also don't work for me

"Warning: socket_connect(): unable to connect [110]: Connection timed out in xxx/whatsapp.class.php on line 75

Warning: socket_send(): unable to write to socket [32]: Broken pipe in xxx/whatsapp.class.php on line 81

Warning: socket_read(): unable to read from socket [107]: Transport endpoint is not connected in xxx/whatsapp.class.php on line 107
"

Any solution?

from whatsapi.

Juliopp avatar Juliopp commented on July 28, 2024

Sorry for bumping this, but almost every socket error get solved by executing the php from the command line in administrator mode.
;)

from whatsapi.

zxcvbnmasdfgh avatar zxcvbnmasdfgh commented on July 28, 2024

My friends, I do not know how a way to penetrate and Watts up I want the whole way or pulled down the program with explanations in order to understand and thank you

from whatsapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.