atmos / hubot-gtalk

GTalk adapter for Hubot
MIT License
14 stars 6 forks source link

Hubot connects to Gtalk and disconnects after a few seconds #26

Open talsalmona opened 11 years ago

talsalmona commented 11 years ago

Using hubot 2.4.8 and hubot-gtalk 2.0.1 I'm getting the following error within a few minutes after the connection to GTalk is established

hubot is online, talk.google.com!
Reconnect in 0
No usable SASL mechanism
{ name: 'stream:error',
  parent: null,
  attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' },
  children: 
   [ { name: 'not-authorized',
       parent: [Circular],
       attrs: [Object],
       children: [] } ] }
Reconnect in 0
tumm commented 11 years ago

I'm getting the exact same error. However, this happens after a couple of hours.

The error message is followed by a bunch of other error messages:

{ name: 'stream:error',
  parent: null,
  attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' },
  children:
   [ { name: 'see-other-host',
       parent: [Circular],
       attrs: [Object],
       children: [] },
     { name: 'str:text',
       parent: [Circular],
       attrs: [Object],
       children: [Object] } ] }
Reconnect in 0
No usable SASL mechanism
{ name: 'stream:error',
  parent: null,
  attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' },
  children:
   [ { name: 'not-authorized',
       parent: [Circular],
       attrs: [Object],
       children: [] } ] }
Reconnect in 0
No usable SASL mechanism
{ name: 'stream:error',
  parent: null,
  attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' },
  children:
   [ { name: 'not-authorized',
       parent: [Circular],
       attrs: [Object],
       children: [] } ] }
Reconnect in 0
No usable SASL mechanism
{ name: 'stream:error',
  parent: null,
  attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' },
  children:
   [ { name: 'not-authorized',
       parent: [Circular],
       attrs: [Object],
       children: [] } ] }
leckylao commented 10 years ago

Same issue here.

$ bin/hubot -a gtalk
Cannot load StringPrep-0.1.0 bindings. You may need to `npm install node-stringprep'
{ name: 'stream:error',
  parent: null,
  attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' },
  children: 
   [ { name: 'invalid-xml',
       parent: [Circular],
       attrs: [Object],
       children: [] } ] }