XMPP pubsub avatar in ejabberd not Working

Asked

Viewed 39 times

0

I’m trying to Publish an avatar through a client of my Own, android. I’m having problems. However, when I use the xabber client it Works Perfectly.

This is the Packet I’m trying to send:

<iq type="set">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
    <publish node="urn:xmpp:avatar:data">
        <item id="b5ba6aeefccd49006c6a77d4a24c6bb4a87ada2c">
            <data xmlns="urn:xmpp:avatar:data">...content_here_2Q==

Here is the Response from the server:

<iq to="mattos.official@ec2-54-200-239-11.us-west-2.compute.amazonaws.com/phone" from="mattos.official@ec2-54-200-239-11.us-west-2.compute.amazonaws.com" xmlns="jabber:client" id="vg0Q+9XmUMhh2rQxGhRjrERGdlxEjbk/1iUVlSaURM97tquqDwJpkmVxlnkF6gNhNsg" type="error" xml:lang="en">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
    <publish node="urn:xmpp:avatar:data" xmlns="http://jabber.org/protocol/pubsub">
        <item xmlns="http://jabber.org/protocol/pubsub" id="b5ba6aeefccd49006c6a77d4a24c6bb4a87ada2c">
            <data xmlns="urn:xmpp:avatar:data">content_here_2Q==</data</item>
    </publish>
</pubsub>
<error xmlns="jabber:client" type="cancel" code="404">
    <item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>

The ejabberd in version: 17.08

  • 3

    Gleisson, as the name ( Stackoverflow in Portuguese ) suggests, the official language used here is Portuguese. So could you please translate your question? If you prefer, you can also ask the same question on Stackoverflow website in English.

  • I didn’t know about it. Thank you so much for the suggestion.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.