Andorid uses smack TCP to log in to the service. After the app exits abnormally, the session becomes detached and cannot be closed

I am not sure what a “detached” connection in Openfire is. I’d guess that it’s a connection that is disconnected but resumeable via stream mangement. Maybe @guus can clarify this.

If my assumption is right, then this connection will disappear once the stream resumption timeout is reached.

Detached sessions in Openfire are sessions for which no connection exists, but have not been formally closed. This indeed is typical for Stream Management sessions, as @Flow suspected.

Thank you for your answer. I know the problem. I informed our mobile app engineer to disable stream management. We may not need to restore the connection. Just disconnect and log in again

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.