[ejabberd] error 503/service-unavailable in one-to-one messaging

Holger Weiß holger at zedat.fu-berlin.de
Sat Jun 11 17:50:20 MSK 2016


* Gaurav Jain <monkeyfdude at gmail.com> [2016-06-11 01:23]:
> During testing various network connection use cases, I encounter a problem
> I do not fully understand.
> 
> * Its a 1 x 1 message (not MUC message)
> 
> * user1 sends a message to user2
> 
> * user2 is in the process of connecting to server (not fully connected yet)
> 
> * user1 gets an error message back (503/service-unavailable)

Are you using stream management?  Maybe the previous connection was lost
and then user2 created a new session (instead of resuming the old one)?
If so, this behavior is explained here:

	https://www.ejabberd.im/faq/tcp

Holger


More information about the ejabberd mailing list