0
votes

I'm working on getting Jappix running. I'm using ejabberd as my XMPP server and I've got everything working except comments and viewing attachments - group chat, single chat, external authentication, private messages, friend lists, presence and other works as intended.

My configuration is the same as the one the Jappix project provides on their jappix/jappix-tools github repository. I have no errors in my ejabberd log, the only thing I got while debugging and digging everything up is that this is an example stanza sent to the server:

<iq xmlns="jabber:client" type="get" id="get_31-30" to="pubsub.mydomain.com" xml:lang="en">
    <pubsub xmlns="http://jabber.org/protocol/pubsub">
        <items node="urn:xmpp:microblog:0:comments/3aca5f972fe7198805bdd1a20f502f35"/>
    </pubsub>
</iq>

And this is the response I get from the server:

<iq xmlns="jabber:client" from="pubsub.mydomain.com" to="[email protected]/jappix (1378149270017)" type="error" id="get_31-30" xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace">
    <pubsub xmlns="http://jabber.org/protocol/pubsub">
        <items node="urn:xmpp:microblog:0:comments/3aca5f972fe7198805bdd1a20f502f35"/>
    </pubsub>
    <error code="503" type="cancel">
        <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
    </error>
</iq>

And in Jappix I just get the usual "Service Unavailable" error message.

Additional info: My BOSH is the internal one of ejabberd and works fine as far as i know, I've setup the reverse proxy and everything else to make it work. Still could be something related to this and not reaching the service on some other port maybe?

1

1 Answers

0
votes

It looks like you do not have pubsub enabled/installed on your server.

Have you tried any other pubsub request?