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

StartTLS Error under Mac Snow Leopard 10.6.7 #21

Closed
jarus opened this issue May 22, 2011 · 3 comments
Closed

StartTLS Error under Mac Snow Leopard 10.6.7 #21

jarus opened this issue May 22, 2011 · 3 comments

Comments

@jarus
Copy link

jarus commented May 22, 2011

Hi,

thanks for your great work but I had a problem on my Mac with Snow Leopard. If I tried to connect to a jabber server like draugr.de or jabme.de I get followed error:

/Users/Christoph/node_modules/node-xmpp/lib/starttls.js:27
    var verifyError = pair._ssl.verifyError();
                                ^
TypeError: Cannot call method 'verifyError' of undefined
    at SecurePair.<anonymous> (/Users/Christoph/node_modules/node-xmpp/lib/starttls.js:27:33)
    at SecurePair.emit (events.js:61:17)
    at SecurePair.maybeInitFinished (tls.js:598:10)
    at CleartextStream._push (tls.js:269:17)
    at SecurePair.cycle (tls.js:574:20)
    at EncryptedStream.write (tls.js:96:13)
    at Socket.ondata (stream.js:36:26)
    at Socket.emit (events.js:64:17)
    at Socket._onReadable (net.js:678:14)
    at IOWatcher.onReadable [as callback] (net.js:177:10)

I installed version 0.2.6 of node-xmpp over npm.

Thanks
Christoph

@astro
Copy link
Member

astro commented May 22, 2011

node version?

@astro
Copy link
Member

astro commented May 23, 2011

Ah, 0.4.8. Internals of tls.js changed.

The code comes from https://gist.github.com/848444 — even the nodejs docs reference it.

@astro
Copy link
Member

astro commented May 23, 2011

Thanks to @c4milo, this is now fixed in v0.2.7.

@astro astro closed this as completed May 23, 2011
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

2 participants