Subject: xmpp unsubscribe <error type="wait" code="400">
Dear Alex,
Unsubscription is failed while unsubscribing the pubsub node.Its throwing error code as 400 and type="wait".
Please find the request/response stream for better understanding.
SEND :
<iq id="agsXMPP_4" type="get" to="pubsub.testinfra.net"><pubsub xmlns="http://jabber.org/protocol/pubsub"><subscriptions /></pubsub></iq>
RECV :
<iq xmlns="jabber:client" type="result" from="pubsub.testinfra.net" to="ramesh.kasi@testinfra.net/beamon" id="agsXMPP_4"><pubsub xmlns="http://jabber.org/protocol/pubsub"><subscriptions><subscription jid="ramesh.kasi@testinfra.net" node="INFRAADMIN" subid="S0l4gRK7C8cBMJnLnhcjDNl7E08kvNucRpQ16BHs" subscription="subscribed" /><subscription jid="ramesh.kasi@testinfra.net" node="G_GIO_AMD" subid="WjLfigT5VP41Olpi6s21iUz8EhKD880fGz1PYpJ9" subscription="subscribed" /><subscription jid="ramesh.kasi@testinfra.net" node="G_GIO_BOM" subid="D10OFMJtaK9EOX59IyjdVf78uz8moImp0lh4jCQy" subscription="subscribed" /></subscriptions></pubsub></iq>
SEND :
<iq id="agsXMPP_5" type="set" to="pubsub.testinfra.net"><pubsub xmlns="http://jabber.org/protocol/pubsub"><unsubscribe node="INFRAADMIN" jid="ramesh.kasi@testinfra.net/beamon" subid="S0l4gRK7C8cBMJnLnhcjDNl7E08kvNucRpQ16BHs" /></pubsub></iq>
RECV :
<iq xmlns="jabber:client" type="error" from="pubsub.testinfra.net" to="ramesh.kasi@testinfra.net/beamon" id="agsXMPP_5"><pubsub xmlns="http://jabber.org/protocol/pubsub"><unsubscribe jid="ramesh.kasi@testinfra.net/beamon" node="INFRAADMIN" subid="S0l4gRK7C8cBMJnLnhcjDNl7E08kvNucRpQ16BHs" /></pubsub><error type="wait" code="400"><unexpected-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /><not-subscribed xmlns="http://jabber.org/protocol/pubsub#errors" /></error></iq>
i'm using openfire server which is expecting anything additional in the request?
Please verify the stream and suggest me to solve the problem.
Thanks
Ramesh Kasi
Unsubscription is failed while unsubscribing the pubsub node.Its throwing error code as 400 and type="wait".
Please find the request/response stream for better understanding.
SEND :
<iq id="agsXMPP_4" type="get" to="pubsub.testinfra.net"><pubsub xmlns="http://jabber.org/protocol/pubsub"><subscriptions /></pubsub></iq>
RECV :
<iq xmlns="jabber:client" type="result" from="pubsub.testinfra.net" to="ramesh.kasi@testinfra.net/beamon" id="agsXMPP_4"><pubsub xmlns="http://jabber.org/protocol/pubsub"><subscriptions><subscription jid="ramesh.kasi@testinfra.net" node="INFRAADMIN" subid="S0l4gRK7C8cBMJnLnhcjDNl7E08kvNucRpQ16BHs" subscription="subscribed" /><subscription jid="ramesh.kasi@testinfra.net" node="G_GIO_AMD" subid="WjLfigT5VP41Olpi6s21iUz8EhKD880fGz1PYpJ9" subscription="subscribed" /><subscription jid="ramesh.kasi@testinfra.net" node="G_GIO_BOM" subid="D10OFMJtaK9EOX59IyjdVf78uz8moImp0lh4jCQy" subscription="subscribed" /></subscriptions></pubsub></iq>
SEND :
<iq id="agsXMPP_5" type="set" to="pubsub.testinfra.net"><pubsub xmlns="http://jabber.org/protocol/pubsub"><unsubscribe node="INFRAADMIN" jid="ramesh.kasi@testinfra.net/beamon" subid="S0l4gRK7C8cBMJnLnhcjDNl7E08kvNucRpQ16BHs" /></pubsub></iq>
RECV :
<iq xmlns="jabber:client" type="error" from="pubsub.testinfra.net" to="ramesh.kasi@testinfra.net/beamon" id="agsXMPP_5"><pubsub xmlns="http://jabber.org/protocol/pubsub"><unsubscribe jid="ramesh.kasi@testinfra.net/beamon" node="INFRAADMIN" subid="S0l4gRK7C8cBMJnLnhcjDNl7E08kvNucRpQ16BHs" /></pubsub><error type="wait" code="400"><unexpected-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /><not-subscribed xmlns="http://jabber.org/protocol/pubsub#errors" /></error></iq>
i'm using openfire server which is expecting anything additional in the request?
Please verify the stream and suggest me to solve the problem.
Thanks
Ramesh Kasi