0 Replies Latest reply on Mar 31, 2017 3:04 AM by Ganapathi Raju

    getting service unavailable when file transfer file using strophe.si-filetransfer.js and strophe.ibb.js

    Ganapathi Raju

      I am getting error when file is transferred file using strophe.ibb.js and strophe.si-filetransfer.js.

       

      Here is sending data

       

      <iq type='set' to='tojid/null' id='2149:si-filetransfer' xmlns='jabber:client'><si xmlns='http://jabber.org/protocol/si' id='null' profile='http://jabber.org/protocol/si/profile/file-transfer' mime-type='image/jpeg'><file xmlns='http://jabber.org/protocol/si/profile/file-transfer' name='5.jpg' size='10230'/><feature xmlns='http://jabber.org/protocol/feature-neg'>

      <x xmlns='jabber:x:data' type='form'>

      <field var='stream-method' type='list-single'><option><value>http://jabber.org/protocol/ibb</value></option></field></x></feature></si></iq>

       

      Received result:

       

      <iq xmlns="jabber:client" type="error" id="2149:si-filetransfer" from="fromjid/null" to="tojid/46rvs414wf"><si xmlns="http://jabber.org/protocol/si" id="null" profile="http://jabber.org/protocol/si/profile/file-transfer" mime-type="image/jpeg"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="5.jpg" size="10230"/><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="form"><field var="stream-method" type="list-single"><option><value>http://jabber.org/protocol/ibb</value></option></field></x></feature></si><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>

       

      Please suggest me on this concept. please let me know how to resolve this issue