Re: [prosody-users] IRC transport on debian (raspbian)

263 views
Skip to first unread message

Waqas Hussain

unread,
Jun 11, 2013, 6:15:15 PM6/11/13
to prosod...@googlegroups.com
On Mon, Jun 10, 2013 at 1:55 AM, <xavier....@gmail.com> wrote:
> Hello,
> I'm trying to install a xmpp/jabber server with IRC transport on my
> raspberry pi (raspbian).
> So, first, prosody is installed and works well! Thanks!
>
> Then, I tried to install IRC transport with spectrum. There is no arm
> package. So I compiled it, but even if compilation worked, then spectrum was
> much too heavy for my taste ( I need IRC transport only, not skype and
> so...) and didn't work fine.
>
> So, I installed the debian package jabber-irc :
> http://packages.debian.org/wheezy/jabber-irc
>
> I have some difficulties to make it work with prosody.
>
> As documented, I added this in prosody configuration :
>
> Component "irc.yeuxdelibad.net"
> component_secret = "secret"
>
>
> But when I try to subscribe to the transport with a client, it doesn't work,
> and I see this message in logs :
>
> Jun 09 21:35:15 irc.yeuxdelibad.net:component warn Stanza being handled
> by default component; bouncing error for: <iq id='Gajim_368' type='get'
> to='irc.yeuxdelibad.net' from='thu...@yeuxdelibad.net/Gajim'>
>
> Where is my mistake? What can I do?
>
> Sorry for my rough english.
>
> Regards,
>

The warning means Prosody got your request for the component, but the
component is not connected to Prosody, so Prosody sent back an error.

Have you configured the transport properly? It needs to have the same
secret in its config, and the port (5347), the hostname
"irc.yeusdelibad.net". I assume it's running on the same machine as
Prosody? Restart Prosody and jabber-irc, and see what you get in the
logs for both.

-- Waqas Hussain

xavier....@gmail.com

unread,
Jun 12, 2013, 4:01:20 AM6/12/13
to prosod...@googlegroups.com
Hello,
I found the solution yesterday.
Infact, the gateway to irc hab a bug, so it wasn't running when I tried to connect.
Now it's solved and everything works fine.

Thank you.

Kristopher

unread,
Jun 13, 2013, 11:39:03 AM6/13/13
to prosod...@googlegroups.com
I've managed to get this working on my server but it crashes from time to time.  You mentioned a bug.  Did you apply a patch of some kind or did the but just prevent the gateway from starting automatically.

Thanks

xavier....@gmail.com

unread,
Jun 13, 2013, 11:55:15 AM6/13/13
to prosod...@googlegroups.com
I send a bug report to the debian maintainer.
The problem was in the init script.
In /etc/init.d/jabber-irc, I just removed "-c jabber:adm" and "-- $ARGS at the start-stop-daemon function call.

Not very clean, thought.
Reply all
Reply to author
Forward
0 new messages