Hello all,
I am trying to figure out why Spark (2.5.8 on Windows XP) disconnects from our Openfire server (3.5.1on Fedora Core 6, Kernel 2.6.18-1) nightly.
I installed a different client to see if the client was having troubles or the server. The client (Pidgi) remained connected the next day while everyone else using Spark had to reconnect. I have attached a screen shot of the message we see in the morning.
As far as I know the server is not loosing its network connection over night. I was looking at logs but could not find anything that looked suspicious, but I may not have been looking in the right location.Perhaps its a setting on the server and Pidgin just reconnects successfully while Spark does not.
Please let me know where I should be looking.
Any help is greatly appreciated!
Ed.
Hi Ed,
Wanna try setting xmpp.client.idle equal to -1 on the System Properties? I have a suspicion of a bug with OF 3.5.x disconnecting some clients due to perceived inactivity.
daryl
Thanks Daryl.
I made this change (I dont think I do, but do I have to reset any services?). I will see what happens tomorrow and post the results. Anyone have anything to add?
Does this setting disable monitoring of idle clients? Or disable resetting idle connections?
Thanks,
Ed
Hi Ed,
This setting does not require a server restart, but does require a new client connection. So maybe you won’t be able to verify this until tomorrow night.
Where these disconnects happening before an upgrade to 3.5.1 ?
This impacts when openfire believes a client connection to be idle and thus disconnects it.
daryl
These were happening prior to 3.5.1. We started on 3.4.9 where this did not happen. I would like to say it started shortly after upgrading to 3.5.0. I disconnected and reconnected my client, so I will see what happens tomorrow.
Ed
The client did not disconnect this morning. It looks like the xmpp.client.idle = -1 setting resolved the issue.
Ed