In reply to post ID 1194
Hi,
I need some help with this error please
this is info about the node
I thought this way my node was subscribable by all jid's. I really have no idea why he isn't allowed
Jep 60 says:
If the bare JID portions of the JIDs do not match as described above and the requesting entity does not have some kind of admin or proxy privilege as defined by the implementation, the service MUST return a <bad-request/> error, which SHOULD also include a pubsub-specific error condition of <invalid-jid/>.
Example 31. JIDs do not match
<iq type='error'
from='pubsub.shakespeare.lit'
to='francisco@denmark.lit/barracks'
id='sub1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe
node='princely_musings'
jid='bernardo@denmark.lit'/>
</pubsub>
<error type='modify'>
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<invalid-jid xmlns='http://jabber.org/protocol/pubsub#errors'/>
</error>
</iq>
I need some help with this error please
<iq type='error'
from='pubsub.xxx.be'
to='admin@xxx.be'
id='sub1'>
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<subscribe jid="filip@xxx.be" node="/zembla/xmpp/gerrit" />
</pubsub>
<error xmlns="jabber:client" code="400" type="modify">
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
<invalid-jid xmlns="http://jabber.org/protocol/pubsub#errors" />
</error>
</iq>
from='pubsub.xxx.be'
to='admin@xxx.be'
id='sub1'>
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<subscribe jid="filip@xxx.be" node="/zembla/xmpp/gerrit" />
</pubsub>
<error xmlns="jabber:client" code="400" type="modify">
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
<invalid-jid xmlns="http://jabber.org/protocol/pubsub#errors" />
</error>
</iq>
this is info about the node
"pubsub - collection
FORM_TYPE - http://jabber.org/protocol/pubsub#meta-data
pubsub#title -
pubsub#description -
pubsub#subscribe - [b]1[/b]
pubsub#subscription_required - 0
pubsub#deliver_payloads - 0
pubsub#notify_config - 1
pubsub#notify_delete - 1
pubsub#notify_retract - 1
pubsub#presence_based_delivery - 0
pubsub#type -
pubsub#body_xslt -
pubsub#dataform_xslt -
pubsub#access_model - open
pubsub#publish_model - open
pubsub#language - English
pubsub#owner - zemblaadmin@office.softelligent.be
pubsub#itemreply - owner
pubsub#leaf_node_association_policy - all
pubsub#leaf_nodes_max - -1
FORM_TYPE - http://jabber.org/protocol/pubsub#meta-data
pubsub#title -
pubsub#description -
pubsub#subscribe - [b]1[/b]
pubsub#subscription_required - 0
pubsub#deliver_payloads - 0
pubsub#notify_config - 1
pubsub#notify_delete - 1
pubsub#notify_retract - 1
pubsub#presence_based_delivery - 0
pubsub#type -
pubsub#body_xslt -
pubsub#dataform_xslt -
pubsub#access_model - open
pubsub#publish_model - open
pubsub#language - English
pubsub#owner - zemblaadmin@office.softelligent.be
pubsub#itemreply - owner
pubsub#leaf_node_association_policy - all
pubsub#leaf_nodes_max - -1
I thought this way my node was subscribable by all jid's. I really have no idea why he isn't allowed
Jep 60 says:
If the bare JID portions of the JIDs do not match as described above and the requesting entity does not have some kind of admin or proxy privilege as defined by the implementation, the service MUST return a <bad-request/> error, which SHOULD also include a pubsub-specific error condition of <invalid-jid/>.
Example 31. JIDs do not match
<iq type='error'
from='pubsub.shakespeare.lit'
to='francisco@denmark.lit/barracks'
id='sub1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe
node='princely_musings'
jid='bernardo@denmark.lit'/>
</pubsub>
<error type='modify'>
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
<invalid-jid xmlns='http://jabber.org/protocol/pubsub#errors'/>
</error>
</iq>
Rotjoeng
Show profile
Link to this post