The server uses the ejabberd version 2.1.6, and we at client side developed offline hook using 2.1.11 and gave it to them.
Now the push notifications do not seem to work properly. There came one message late (i.e. the first msg is seen when I received push for second msg). Could it be a problem related to verison difference of the ejabberd server? Cant get ejabberd 2.16 to run.
I guess the issue is occurring primarily because there is some delay being introduced due to Push notifications on the ejabberd. Check you push notifications module. In case the connection to the Apple servers is being established directly in the module code without any queueing mechanisms, try spawning a separate thread on it.