codingteam / horta-hell

Configurable XMPP bot written in Scala based on the Akka framework.
MIT License
15 stars 8 forks source link

Reconnects every 2 hours #417

Open ForNeVeR opened 7 years ago

ForNeVeR commented 7 years ago

The experimental Horta version (see the explanation in #416) was reconnecting to the server exactly every 2 hours. It has line xmpp.timeout_ms=900000 in its config.

That's not a big problem, but it should be fixed. Current hypothesis is that it's the problem with XMPP pings (I had a similar issue in Kaiwa), and I think there was a way to tune them in Smack.

Probably we'll need to add a facility to log all XMPP messages to debug this.

Note that these reconnects seems to be completely encapsulated by Smack: the underlying application cannot see them.