Ejabberd Timing out

Hey,

I've installed ejabberd on a ubuntu 7.10 machine, and all is going well except that every five minutes or so my account times out.

This only happens with the ejabberd account hosted on this particular server.

In /var/log/ejabberd/ejabberd.log i see lines like

=INFO REPORT==== 2008-08-16 03:54:31 ===
I(<0.2113.0>:ejabberd_c2s:696): ({tlssock,#Port<0.2043>,#Port<0.2045>}) xxxxx
then a few minutes later

=INFO REPORT==== 2008-08-16 03:53:23 ===
I(<0.2096.0>:ejabberd_c2s:1161): ({tlssock,#Port<0.2017>,#Port<0.2019>}) Close session for xxxxx

And on my side i just see "xxxxx disconnected, ping timeout"

Is there any config file i need to edit to get it to send regular ping messages? (or increase the frequency of pings?)
=

Check keep-alive in client, or apply patch in server

simple wrote:

I've installed ejabberd on a ubuntu 7.10 machine, and all is going well except that every five minutes or so my account times out.
Is there any config file i need to edit to get it to send regular ping messages? (or increase the frequency of pings?)

Probably what timeouts is your connection to the server. It could be that ejabberd closes it (I don't remember if there's such a feature), or it could be that some network machine closes your TCP connection.

Some Jabber clients implement a keep-alive or ping feature that sends a small TCP packet to the server every few minutes.

Other solution is to tell ejabberd to send those packets to each client. Such feature is not included in ejabberd yet, but you can apply a patch from this bug report.

Syndicate content