PDA

View Full Version : Re: [jadmin] Access to Openfire IM gateway plugins


Daniel Henninger
05-20-2008, 11:35 PM
scratch head Why would you assume we did it on purpose? 3.5.0 had some nasty s2s issues that we fixed in 3.5.1. Why they're not working in 3.5.1 is a good question. I'm assuming you are not referring to the IM Gateway plugin, which does not work for external users at all. Which transport software are you using that stopped working, are you seeing any error logs? Have you tried the Openfire support forum on igniterealtime.org? ;)

Daniel


On 5/20/08 5:23 PM, "Tobias Klausmann" <klausman-jabber (AT) schwarzvogel (DOT) de> wrote:

Hi!

After I updated Openfire to 3.5.0 (and then to 3.5.1), IM
gateways stopped working for external users (i.e. users of other
Jabber servers). It's not quite clear if this is a bug in
Openfire, something changed deliberately by Openfire devs or a
bug in my setup. Can anybody confirm it's the server code rather
than my setup? Even better, can someone recommend a fix (without
switching server software ;)).

Regards & TIA,
Tobias
--
The only problem with troubleshooting is that sometimes,
trouble shoots back.
_______________________________________________
JAdmin mailing list
JAdmin (AT) jabber (DOT) org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
_______________________________________________


_______________________________________________
JAdmin mailing list
JAdmin (AT) jabber (DOT) org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
_______________________________________________

Jeff Garner
05-20-2008, 11:56 PM
Can you give the names of the transports that you are using? are they
the Py<..> transports or the gateway plugins inside of Openfire? I have
recently upgraded from 3.0 to 3.3.3 and then to 3.5.1, updated my
plugins and everything is working fine. Please more information.

Jeff

On Tue, 2008-05-20 at 21:28 +0000, Daniel Henninger wrote:
> Re: [jadmin] Access to Openfire IM gateway plugins

_______________________________________________
JAdmin mailing list
JAdmin (AT) jabber (DOT) org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
_______________________________________________

Tobias Klausmann
05-21-2008, 09:53 AM
Hi!

On Tue, 20 May 2008, Jeff Garner wrote:

> Can you give the names of the transports that you are using? are they
> the Py<..> transports or the gateway plugins inside of Openfire?

The latter. Specifically the ICQ portion. It works dandy for me
and other local users, remote users get either nothing at all or
a "Permission denied" style error message.

Daniels statement regarding the GW plugins:
Daniel Henninger wrote:
> I'm assuming you are not referring to the IM Gateway plugin,
> which +does not work for external users at all.

This makes me wonder why it worked before (or why it took
external users several weeks to notice it didn't). Also, are
there any plans to make it work form outside. Near as I can tell,
the GW plugin looks just like an external transport (like pyicq-t
which I used earlier) to my client.

> I have recently upgraded from 3.0 to 3.3.3 and then to 3.5.1,
> updated my plugins and everything is working fine. Please more
> information.

I will try to reproduce it, possibly with XML dump, tonight.

As for the question in the earlier reply by Daniel Henninger: I
wouldn't know why the openfire devs might decide to remove remote
access, but that doesn't mean there can't be good reasons for it
;)

Regards,
Tobias


--
printk("NULL POINTER IDIOT\n");
linux-2.6.6/drivers/media/dvb/dvb-core/dvb_filter.c
_______________________________________________
JAdmin mailing list
JAdmin (AT) jabber (DOT) org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
_______________________________________________

Tobias Klausmann
05-21-2008, 07:46 PM
Hi!

On Wed, 21 May 2008, Daniel Henninger wrote:
> That is indeed bizarre because the IM Gateway plugin has never
> supported external users. I'll give you a little background as
> to why. =) One of the biggest problems I had when I wrote
> PyAIM-t and PyICQ-t was when rosters got out of sync. Your
> XMPP roster could reflect one list of users and your AIM roster
> might be slightly different. There was no direct way for the
> transport to "set" your roster and make sure it's got the right
> list of users in it. And due to this lack of direct control,
> new end users who joined the AIM transport would get hella
> flooded with "Do you want to accept this person in your
> roster?". Very user unfriendly. With the IM Gateway plugin
> built directly into Openfire, I was able to user internal APIs
> to put roster items directly into ones roster. As a result
> however, the users -must- be on the same server as the
> transport or there's no way to use the internal APIs.

I see. Then quite probably my external users aren't terribly keen
on reporting errors. Figures.

> PyAIM-t and PyICQ-t and just about every other transport on the
> face of the planet supports external users using it. I think
> the IM Gateway plugin is alone on that front.

I hade been using pyicq-t for a while but was plagued by memory
problems which looked very much like memory leaks. Since the
transport used quite large amounts of memory (RSS), I gave the
plugin gw a shot (not knowing about its internal/external
limitation) and was happy to find the memory problems gone.

> As for supporting remote users, I have no idea if I'll ever end
> up adding that honestly. I don't want to compromise the end
> user's experience so it would require some serious XEP work I
> think. ;) Something which I do not have time to do.

Oh, now that I know *why* it doesn't support external users, I'm
very fine with it working that way. No point in chopping it up
into something that does neither job as intended.

So now I have to decide whether I want to pursue/debug/fix that
memory leak or just leave my external ICQ transport users out in
the rain. Ah, decisions, decisions.

Regards,
Tobias
--
printk("NULL POINTER IDIOT\n");
linux-2.6.6/drivers/media/dvb/dvb-core/dvb_filter.c
_______________________________________________
JAdmin mailing list
JAdmin (AT) jabber (DOT) org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/discussion-lists/jadmin-faq
_______________________________________________