simple-xmpp / node-simple-xmpp

Simple High Level NodeJS XMPP Client
300 stars 90 forks source link

simple gtalk example fails #25

Closed pathsny closed 11 years ago

pathsny commented 11 years ago

xmpp = require("simple-xmpp") xmpp.connect {jid: , password: , host: "talk.google.com", port: 5222)

TypeError: Cannot read property 'attrs' of undefined at Client. (/node_modules/simple-xmpp/lib/simple-xmpp.js:281:45) at Client.EventEmitter.emit (events.js:95:17) at Client.onRawStanza (/node_modules/simple-xmpp/node_modules/node-xmpp/lib/xmpp/client.js:159:14)

napisani commented 11 years ago

I am suddenly receiving the same message this afternoon. This didn't seem to be a problem last night though - odd.

pathsny commented 11 years ago

did you upgrade your version of node recently?

On Tue, May 14, 2013 at 8:37 PM, napisani notifications@github.com wrote:

I am suddenly receiving the same message this afternoon. This didn't seem to be a problem last night though - odd.

— Reply to this email directly or view it on GitHubhttps://github.com/simple-xmpp/node-simple-xmpp/issues/25#issuecomment-17918675 .

pathsny commented 11 years ago

this issue seems to be random and/or sporadic. I suppose if I see this occuring again I can try to provide data about the packet that caused this.

pathsny commented 11 years ago

error packet name: 'iq', parent: null, attrs: { to: 'misakabot@gmail.com/999B457F', type: 'error', id: 'disco1', from: 'abhinav@abhinavsarkar.net/Digsby62CE5502', 'xmlns:stream': 'http://etherx.jabber.org/streams' }, children: [ { name: 'query', parent: [Circular], attrs: [Object], children: [] }, { name: 'error', parent: [Circular], attrs: [Object], children: [Object] } ] }

pathsny commented 11 years ago

duplicate of #26