Openfire/IQRouter.java at v3.9.3 · igniterealtime/Openfire · GitHub
Line number 124
the else part is triggered in case of a valid <iq> response
how to tackle this error ...... <error code="401" type="auth"><not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error> for the following IQ
<iq xmlns="jabber:client" type="set" from="127.0.0.1" to="127.0.0.1/33657404"><command xmlns="http://jabber.org/protocol/commands"......
the namespace URI http://jabber.org/protocol/commands will fail in the if condition therefore it is coming to the else part