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

Authenticates fine but fails with client.on('connected'... #27

Open
lumberbeard opened this issue Jan 19, 2018 · 1 comment
Open

Authenticates fine but fails with client.on('connected'... #27

lumberbeard opened this issue Jan 19, 2018 · 1 comment

Comments

@lumberbeard
Copy link

lumberbeard commented Jan 19, 2018

From using basic.js in the example file and putting my own credentials ("username", "password") it's successfully getting the client (and authenticating) but fails immediately on the client.on('connected', function() part with the below.

Any ideas?

Error: getaddrinfo EAI_FAIL
at Object._errnoException (util.js:1024:11)
at errnoException (dns.js:55:15)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)

@lumberbeard
Copy link
Author

lumberbeard commented Jan 21, 2018

After diving in a little further on this...

It look like it's failing to resolve this:

"[email protected]"

once I stopped using the entire email as the username it worked. However, now it's failing on "xmpp.Iq is not a constructor"

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

No branches or pull requests

1 participant