Delayed message delivery from Android to any client

Hi,

I am getting issue while sending chatMessages, they are delivering to client with some delay (max-30 mins) and sometimes instantly.

Our server has updated their OpenFire to 4.1.5, after this updation we are getting this issue.

Android was using Smack 4.0.2, So i was getting this issue. Then I updated my Smack to 4.2, But still getting same issue.

When I used PSI tool, its messages are delivering to any client instantly. Issue is for Android/iOS.

Please help for this issue.

Thanks,

Neha

And I tested one more thing to test if message are being send late from device or server, So I sent message and disconnect that device from internet. But I get messages on other device after sometime even when sender is offline, This means message are being delayed by server.