Disconnect every half an hour, why?

We use Openfire 3.6.4 and Spark 2.5.8, It works well in the last three weeks. But today, the client Spark disconnects every half an hour, it is no use even restart the openfire, Why?