powered by Jive Software

The http file upload service can not be found, even though the plugin be installed

The response is below:

<iq xmlns="jabber:client" type="result" id="f3cbbe8a-4cfb-475c-b119-4d0eb6bb9b82" from="**************.com" to="31304@*************.com/1ntgezqgzd">
    <query xmlns="http://jabber.org/protocol/disco#items">
        <item jid="proxy.***********.com" name="Socks 5 Bytestreams Proxy"/>
        <item jid="pubsub.*************.com" name="Publish-Subscribe service"/>
        <item jid="conference.**************.com" name="Public Chatrooms"/>
        <item jid="search.****************.com" name="User Search"/>
    </query>
</iq>
<iq to="31304@************.com/Spark" from="*************.com" id="jInYY-56" type="result">
  <query xmlns="http://jabber.org/protocol/disco#info" node="https://www.igniterealtime.org/projects/openfire/#aMAiR3q7PvjMukGO5cDUUmH5OPg=">
    <identity category="server" name="Openfire Server" type="im"/>
    <identity category="pubsub" type="pep"/>
    <feature var="http://jabber.org/protocol/pubsub#retrieve-default"/>
    <feature var="http://jabber.org/protocol/pubsub#purge-nodes"/>
    <feature var="http://jabber.org/protocol/pubsub#subscription-options"/>
    <feature var="http://jabber.org/protocol/pubsub#outcast-affiliation"/>
    <feature var="msgoffline"/>
    <feature var="jabber:iq:register"/>
    <feature var="http://jabber.org/protocol/pubsub#delete-nodes"/>
    <feature var="http://jabber.org/protocol/pubsub#config-node"/>
    <feature var="http://jabber.org/protocol/pubsub#retrieve-items"/>
    <feature var="http://jabber.org/protocol/pubsub#auto-create"/>
    <feature var="http://jabber.org/protocol/disco#items"/>
    <feature var="urn:xmpp:mam:0"/>
    <feature var="urn:xmpp:mam:1"/>
    <feature var="http://jabber.org/protocol/pubsub#persistent-items"/>
    <feature var="http://jabber.org/protocol/pubsub#create-and-configure"/>
    <feature var="http://jabber.org/protocol/pubsub#retrieve-affiliations"/>
    <feature var="urn:xmpp:time"/>
    <feature var="http://jabber.org/protocol/pubsub#manage-subscriptions"/>
    <feature var="urn:xmpp:bookmarks-conversion:0"/>
    <feature var="http://jabber.org/protocol/offline"/>
    <feature var="http://jabber.org/protocol/pubsub#publish-options"/>
    <feature var="urn:xmpp:carbons:2"/>
    <feature var="http://jabber.org/protocol/address"/>
    <feature var="http://jabber.org/protocol/pubsub#collections"/>
    <feature var="http://jabber.org/protocol/pubsub#retrieve-subscriptions"/>
    <feature var="vcard-temp"/>
    <feature var="http://jabber.org/protocol/pubsub#subscribe"/>
    <feature var="http://jabber.org/protocol/pubsub#create-nodes"/>
    <feature var="http://jabber.org/protocol/pubsub#get-pending"/>
    <feature var="urn:xmpp:blocking"/>
    <feature var="http://jabber.org/protocol/pubsub#multi-subscribe"/>
    <feature var="http://jabber.org/protocol/pubsub#presence-notifications"/>
    <feature var="urn:xmpp:ping"/>
    <feature var="urn:xmpp:archive:manage"/>
    <feature var="http://jabber.org/protocol/pubsub#item-ids"/>
    <feature var="http://jabber.org/protocol/pubsub#meta-data"/>
    <feature var="jabber:iq:roster"/>
    <feature var="http://jabber.org/protocol/pubsub#instant-nodes"/>
    <feature var="http://jabber.org/protocol/pubsub#modify-affiliations"/>
    <feature var="http://jabber.org/protocol/pubsub"/>
    <feature var="http://jabber.org/protocol/pubsub#publisher-affiliation"/>
    <feature var="http://jabber.org/protocol/pubsub#access-open"/>
    <feature var="jabber:iq:version"/>
    <feature var="http://jabber.org/protocol/pubsub#retract-items"/>
    <feature var="jabber:iq:privacy"/>
    <feature var="jabber:iq:last"/>
    <feature var="http://jabber.org/protocol/commands"/>
    <feature var="http://jabber.org/protocol/pubsub#publish"/>
    <feature var="urn:xmpp:archive:auto"/>
    <feature var="http://jabber.org/protocol/disco#info"/>
    <feature var="jabber:iq:private"/>
    <feature var="http://jabber.org/protocol/rsm"/>
    <x xmlns="jabber:x:data" type="result">
      <field var="FORM_TYPE" type="hidden">
        <value>http://jabber.org/network/serverinfo</value>
      </field>
      <field var="admin-addresses">
        <value>xmpp:7702800@**************.com</value>
        <value>mailto:demi.zhang@***********.com</value>
        <value>xmpp:14844@***************.com</value>
        <value>mailto:shelby.wolf@******.com</value>
      </field>
    </x>
  </query>
</iq>

What Openfire version and plugin? Check the logs for any clues.

Openfire: v4.3.2
Plugin: HTTP File Upload 1.1.0

And the Plugin was installed successfully

Here is the log:

2019.06.26 19:49:58 INFO [pool-7087-thread-1]: org.jivesoftware.openfire.container.PluginManager - Successfully loaded plugin 'httpfileupload'. 
2019.06.26 19:49:58 INFO [pool-6-thread-1]: org.jivesoftware.openfire.container.PluginMonitor - Finished processing all plugins. 

When i check debugger in Spark, i see this:

<iq xmlns="jabber:client" to="httpfileupload.wroot" id="vDSoq-401" type="get">
  <query xmlns="http://jabber.org/protocol/disco#info"/>
</iq>
<iq xmlns="jabber:client" to="test@wroot/Spark" from="httpfileupload.wroot" id="vDSoq-401" type="result">
  <query xmlns="http://jabber.org/protocol/disco#info">
    <identity category="store" name="wroot" type="file"/>
    <feature var="http://jabber.org/protocol/disco#info"/>
    <feature var="urn:xmpp:ping"/>
    <feature var="jabber:iq:last"/>
    <feature var="urn:xmpp:time"/>
    <feature var="urn:xmpp:http:upload:0"/>
    <feature var="urn:xmpp:http:upload"/>
    <x xmlns="jabber:x:data" type="result">
      <field var="FORM_TYPE" type="hidden">
        <value>urn:xmpp:http:upload:0</value>
      </field>
      <field var="max-file-size">
        <value>5242880</value>
      </field>
    </x>
  </query>
</iq>

This is with Spark 2.9.0 (not released yet, but it has support for http file upload).

Actually, see the same IQs with 2.8.3.

Maybe in the logs you can see some problem, not just the installation result.

I notice that your IQ was sent to “httpfileupload.wroot”, do I miss some thing need
configure?

I don’t remember doing any special configuration for this.

Leaving your @Tiwtter or something else for me?

Why do you ask people for their Twitter? :grinning: I think forums are enough. I don’t have anything else to say currently. Maybe someone else will have some ideas.