Unknown opened 5 years ago
|
|
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 ? Historical messages in the middle will be lost. |
|
Please provide more information:
|
|
MUC history length set to 1000. Tigase mongodb version 3.0.0 In the gethistorymessages method of mongohistoryprovider class, the number of group chat history results obtained from the database is 500, but the client can only receive about 400 group chat histories, and the history of group chat that will be lost is about 100. After the client receives the following XML, there will be no group chat history message. When will the server send the following XML to the client?
What do the following server logs mean? What is the cause?
|
|
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. I want to ask which class is disconnected from 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'