Skip to content

Cannot connect #3

Description

@ArielS1

Hi,

I'm trying to connect like this:

wpjs.connect({number: 'xxxxxx', password: 'xxxxxxxxxxxxxxxxxxx=', yowsup: "/home/xxxx/yowsup/yowsup-cli" }, function(state){ console.log('state: ' + state); });

but state log never appears

wpjs.on() callback also doesn't seem to appear.

when i try to use wpjs.send() i get the following error:
events.js:141
throw er; // Unhandled 'error' event
^

Error: read ECONNRESET
at exports._errnoException (util.js:874:11)
at Pipe.onread (net.js:544:26)

if i don't use wpjs.send() then it just runs and exits instantly and doesn't wait for messages even that i ran wpjs.on()
My guess is something went wrong with the connection, because its callback haven't appeared.

Any ideas?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions