-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offline message lost in group chat push #7
Comments
I had the same problem |
When retrieving larger history from the database it's quite likely that you've triggered Tigase throttling mechanism, which disconnect the user. Please see cm-traffic-throttling for more details. If you want to disable it you can use following configuration:
|
Set up 'cm-traffic-throttling' = 'xmpp:0:0:disc,bin:0:0:disc' There will still be 300 group chat history records, but the client can only receive about 200. What's the reason for this ? |
Please provide more information:
|
MUC history length set to 1000. Tigase mongodb version 3.0.0 After the client receives the following XML, there will be no group chat history message. <presence xmlns="jabber:client" type="unavailable" from="347f84d9555f407a9a3071261f59d51f@muc.hnmjt.mjt.net/100165" to="100163@hnmjt.mjt.net/nisc_voip"><x xmlns="http://jabber.org/protocol/muc#user"><item role="none" nick="100165" affiliation="member"></item></x></presence> What do the following server logs mean? What is the cause?
|
<presence xmlns="jabber:client" type="unavailable"… This one means that client left the room (or was removed) The log entry indicates, that there were some messages pending to be delivered, but the user was not connected. It looks like that for some reason your client still lost connection, but without more information it's hard to investigate it. Are you sure you completely disabled throttling? Would you mind sharing your You should review your logs for any signs of user being disconnected (search the logs for all entries with |
I want to know when the server will disconnect the user. Here is my configuration.
|
Your configuration looks OK, but as I said before:
There are a couple of things that could trigger disconnection and investigating the logs would be the best starting point. You could also try increasing |
change max-queue-size=4096 resolved |
Edition tigase:8.0.0 muc:3.0.0 mongodb:2.0.0
Steps to reproduce the behavior:
1.Send tout
2.E.g.: find out 500 historical records
3.The server push part sends the following XML information
4.Later historical news will be pushed.
5.What's the reason for sending the XML above。 type='unavailable'
The text was updated successfully, but these errors were encountered: