[ejabberd] service-unavailable

Gaurav Jain monkeyfdude at gmail.com
Tue Feb 23 13:00:17 MSK 2016


I also found that this happens when following is true:

1) Use Stream Management
2) When app gets disconnected and then xmppConnection.connect() is issued

On Tue, Feb 23, 2016 at 12:23 AM, Gaurav Jain <monkeyfdude at gmail.com> wrote:

> Hi,
>
> I am not able to understand what could be wrong with logs below. I get an
> service-unavailable iq when the app connected to ejabberd.
>
> Could you please point me to possible issue?
>
> Logs below are associated with same id F7ANh-88.
>
> TIA,
>
>
> D/SMACK﹕ SENT (0): <iq id='F7ANh-88' type='set'><bind
> xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>Smack</resource></bind></iq>
>
> D/SMACK﹕ RECV (0): <iq id='F7ANh-88' type='result'><bind
> xmlns='urn:ietf:params:xml:ns:xmpp-bind'><jid>user1 at dev.example.com/Smack
> </jid></bind></iq>
>
> D/SMACK﹕ SENT (0): <iq id='F7ANh-88' type='set'><bind
> xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>Smack</resource></bind></iq>
>
> RECV (0): <a xmlns='urn:xmpp:sm:3' h='5'/><iq from='dev.example.com' to='
> user1 at dev.example.com/Smack' id='F7ANh-74' type='result'/><r
> xmlns='urn:xmpp:sm:3'/><iq from='dev.example.com' to='
> user1 at dev.example.com/Smack' id='F7ANh-76' type='result'/><r
> xmlns='urn:xmpp:sm:3'/><iq from='dev.example.com' to='
> user1 at dev.example.com/Smack' id='F7ANh-78' type='result'/><r
> xmlns='urn:xmpp:sm:3'/><iq from='dev.example.com' to='
> user1 at dev.example.com/Smack' id='F7ANh-80' type='result'/><r
> xmlns='urn:xmpp:sm:3'/>*<iq from='user1 at dev.example.com
> <user1 at dev.example.com>' to='user1 at dev.example.com/Smack
> <http://user1@dev.example.com/Smack>' type='error' xml:lang='en'
> id='F7ANh-88'><bind
> xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>Smack</resource></bind><error
> code='503' type='cancel'><service-unavailable
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20160223/30fd5a48/attachment.html>


More information about the ejabberd mailing list