Project

General

Profile

Create node error

shir Hu
Added about 4 years ago

Hi, after I update tig_pubsub.jar from 2.0 to 3.0 in tigase7.0, found that use jaxmpp to create node failed , and return error to client, code as follow:

 jaxmpp.login(true);
 PubSubModule module = jaxmpp.getModulesManager().getModule(PubSubModule.class);
 module.createNode(BareJID.bareJIDInstance("pubsub@shir-pc"), "NODEshir",new PubSubAsyncCallback() {....});

and server return xml:

  <iq from="pubsub@shir-pc" type="error" xmlns="jabber:client" to="shir@shir-pc/develop" id="bj8a7"><pubsub xmlns="http://jabber.org/protocol/pubsub"><create node="NODEshir"/></pubsub><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>

DB also update to 3.0 ,Is there something to configuration?


Replies (3)

(1)
Avatar?id=6098&size=32x32

Added by Bartosz Małkowski TigaseTeam about 4 years ago

There is no PubSub component with address pubsub@shir-pc.

Are you sure, your PubSub instance JID is "pubsub@shir-pc"? Maybe "pubsub.shir-pc"?

Added by Wojciech Kapcia TigaseTeam about 4 years ago

Just as clarification this is a result of changed introduced by #1926

Added by shir Hu about 4 years ago

emm..Yes, change to pubsub.shir-pc can create node success, Thank you very much.

    (1-3/3)