Set the 'to' attribute of stream element ...

108 views
Skip to first unread message

ddoxey

unread,
Jan 8, 2010, 2:49:03 AM1/8/10
to perl-net-jabber-bot
I'm trying out the bot_example.pl program to connect to my gmail, or
my company's XMPP server.

In both cases I can connect with Pidgin. But I'm not having much luck
using bot_example.pl.

In the case of connecting to talk.google.com, it returns this message:
<stream:stream>
<stream:features>
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls">
<required/>
</starttls>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>X-GOOGLE-TOKEN</mechanism>
</mechanisms>
</stream:features>
<stream:error>
<host-unknown xmlns="urn:ietf:params:xml:ns:xmpp-streams"/>
<str:text xmlns:str="urn:ietf:params:xml:ns:xmpp-streams">Set
the 'to' attribute of stream element to the domain part of the user's
JID. Example: to='gmail.com'.</str:text>
</stream:error>
</stream:stream>

In the case of my company's XMPP, the connection and authentication
sequence appears to go well, and yet returns:
<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></
failure>


Any suggestions?

Thanks.


Todd Rinaldo

unread,
Jan 9, 2010, 1:13:14 PM1/9/10
to perl-net-...@googlegroups.com
Dylan, Welcome to the mailing list.

There are people on this list that run a bot connected to google talk.

1. Can you confirm you're using the google example script to connect?
2. What version of NJB are you using?
3. Can you provide the list with a cleansed version of your new call
to the object?

Todd

Reply all
Reply to author
Forward
0 new messages