Spectrum 2 with ejabberd 2.1.10 for AIM Transport, need help. How to anyone?

Hi All,

I have been banging my head against a wall for the last couple of days on this one.

Objective: To install spectrum 2 (specifically, AIM transport) with ejabberd 2.1.10 (on Ubuntu Oneiric)

I've got a configured, running, usable (used) ejabberd server. Thats not the problem. The problem is there is NO REAL documentation ANYWHERE about how to configure Spectrum with ejabberd.

I've installed Spectrum. Followed the documentation which made this a snap. I followed this document on spectrum's website (www.spectrum.im).

http://spectrum.im/documentation/tutorials/gateway_mode.html

So, first step I need to register the components so I land on this document:

http://www.ejabberd.im/node/5134

Which is somewhat an unanswered generic post about components on ejabberd on this forum. So I follow the best I can. The rest of the document give brief information about transport config files. I follow this to the best of my ability.

So now I have the below uncommented in my ejabberd.cfg file.
%% AIM Transport
{5556, ejabberd_service, [
{ip, {127, 0, 0, 1}},
{access, all},
{shaper_rule, fast},
{host, "aim.localhost", [{password, "secret"}]}
]},

I also have an aim.cfg in /etc/spectrum2/transports.

Restart ejabberd. Start spectrum2 and get the below in my spectrum2.log...

2013-12-20 22:54:54,489 INFO Component: Creating component in gateway mode
2013-12-20 22:54:54,490 INFO SQLite3Backend: Opening database /var/lib/spectrum2/aim.localhost/database.sql
2013-12-20 22:54:54,492 INFO NetworkPluginServer: Listening on host 127.0.0.1 port 35110
2013-12-20 22:54:54,492 INFO NetworkPluginServer: Starting new backend /usr/bin/spectrum2_libpurple_backend --host 127.0.0.1 --por$
2013-12-20 22:54:54,492 INFO NetworkPluginServer: Tried to spawn first backend with pid 7536
2013-12-20 22:54:54,492 INFO NetworkPluginServer: Backend should now connect to Spectrum2 instance. Spectrum2 won't accept any con$
2013-12-20 22:54:55,493 INFO NetworkPluginServer: New backend 0x7f0a10030f60 connected. Current backend count=1
2013-12-20 22:54:55,493 INFO NetworkPluginServer: PING to 0x7f0a10030f60 (ID=)
2013-12-20 22:54:55,494 INFO Component: Connecting XMPP server xx.xx.xx.xx port 5556
2013-12-20 22:54:55,494 INFO Component: Disconnected from XMPP server. Error: Connection error
2013-12-20 22:54:58,494 INFO Component: Connecting XMPP server xx.xx.xx.xx port 5556
2013-12-20 22:54:59,494 INFO Component: Disconnected from XMPP server. Error: Connection error

Looks like everything was spinning up just fine until the component tries to to connect. However spectrum is not connecting with ejabberd (or, as I suspect, ejabberd AIM component is not connecting to spectrum)

****SO, is there anyone that has a clear and straight document on how to config ejabberd's AIM transport with Spectrum??

I searched the net and found NOTHING?!?!? The best was a document for configuring Spectrum with Openfire. So I thought it would be best that if someone could step up and supply a basic howto to get the AIM transport working in ejabberd using spectrum.

If I can't get this solved, I'll be trying pyAIM-t but dont want to use this at the moment.

Syndicate content