exmpp bot auth with ejabberd external auth

Hello,

I run ejabberd-2.1.6 with external auth with mysql.

I try to run bot written in exmpp but get error: https://gist.github.com/986618

I try to run bot from exmpp example:
https://github.com/processone/exmpp/blob/master/examples/echo_client.erl

How can i fix it?

Thank you.

Syndicate content