powered by Jive Software

How to configure OpenFire to support In-Band BytesStream (XEP-0047)?

Hello all,

I have set up my OpenFire server and wrote my own (very simple) client to work with it.

All is fine, except that every time when I am trying to transfer files using IBB I am getting "…

" answer.

When I am sending files using out-of-band protocol all is working, but then I have these firewall issues.

I have read in the docs that OpenFire supports XEP-0047, so my guess is something is not configured right on my server.

Can somebody, please, point me how to configure it?

Thanks a lot,

CF

Hi,

All use cases in XEP-0047 are between clients and I’m not sure what you mean with support for XEP-0047 in Openfire. Do you want to save files on your XMPP server? Or do you have problems that Openfire didn’t route your stanzas to other clients?

Best regards

Hello,

Thank you for answering.

I want to send files from one client to another using IBB.

However, when I am sending a session initiation request like that:

<iq from='client1@myopenfireserver.com'
    id='jn3h8g65'
    to='client2@myopenfireserver.com'
    type='set'>
  <open xmlns='[http://jabber.org/protocol/ibb](http://jabber.org/protocol/ibb)'
        block-size='4096'
        sid='i781hf64'
        stanza='iq'/>
</iq>

I am getting the following response
<iq from=client2@myopenfireserver.com

 type="error"

 id="jn3h8g65"

 to="client1@myopenfireserver.com" >

 <open xmlns=http://jabber.org/protocol/ibb

 stanza="iq"

 sid="i781hf64"

 block-size="4096" />

 <error type="cancel" code="503" >

      <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

 </error>

So I guess something is wrong with my OpenFire server configuration.

I am really stuck for 2 days already and any thoughts that can help me will be greatly appreciated.

CF

I am getting the following response
<iq from=client2@myopenfireserver.com

 type="error"
 id="jn3h8g65"
 to="client1@myopenfireserver.com" >
 <open xmlns=[http://jabber.org/protocol/ibb](http://jabber.org/protocol/ibb)
 stanza="iq"
 sid="i781hf64"
 block-size="4096" />
 <error type="cancel" code="503" >
      <service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
 </error>

This IQ stanza comes from client2, so I would recommend you should check this client for IBB support.

Oh, and you should send IQ stanzas to a full JID (user@domain/resource) to address your request to a specified client.

Thanks a lot, it seems indeed a problem with my client on the receiving side.

I will try ro fix it, then will update this thread and, hopefully, make the question answered.

Thanks again,

CF

Thank you very much, all is working.

CF