You are here

Network timeout

Hi all,

I have setup an Openfire server that is used by around thirty or so people. It has been running fine and I want to standarise on a single client, and I think Coccinella is the one I want to use. Featurewise it has everything we need.

We have a small problem where it sometimes disconnects with the error 'the connection was unexpectedly broken'. I think this may be down to our connection getting congested intermitently and Coccinella is timing out. It happens from more than one of our sites.

I have had a look through all the settings and I can't see anywhere to increase the network timeout, or a way of getting Coccinella to automatically reconnect.

Is it possible to do either, or both of these?

Using Psi and Spark in the past we have not had this problem, but maybe they are working around the connection problem in the background.

Any help would be very much appreciated.

Simon.

Forum: 

Hi,

I'm actually working on automatic reconnection when the connection to the server is broken, based on Mirkos initial patch. You can follow the status of the work here: https://bugs.launchpad.net/coccinella/+bug/140408
You can subscribe to the report to get e-mails about updates to the issue.
I can prioritize this a little bit more and work on this topic next.

cheers,
Sebastian

Thanks Sebastian.

I have tried adding -timeout 120000 to the connection settings in my my preferences.rdb file, but it hasn't made any difference. Having auto reconnect would be fantastic.

Don't know if it useful or not but two clients both using the same Internet connection might get the connection break at totally different times, and mostly one will break but the other is fine. Very odd.

Simon

Hi,

you have to apply the latest patch to enable the auto-reconnection. The patch is not yet added to svn because of the mentioned missing enhancements I still want to add.
So in case you run from source, you could try to apply the patch and see how it works out.
Since I have not much time this week and also maybe beginning of next next week, there will probably nothing updated in svn sources until end of next week. But then you could test the breakfast binaries.

cheers,
Sebastian

Hi,

whooha, I found some time to implement the auto-reconnection, especially to add sth. to suppress those annoying popup windows that would show up.

It is only lightly tested, so please try the binaries from the breakfast build tomorrow, and report back any issues you can find. Best would be to report them on the bugtracker.

cheers,
Sebastian

Did this ever get fixed, I am running 9.6.21 and am still getting the errors.
Thank you,
Lori

Hi,

what error do you get exactly? The connection was broken? And then it tried to reconnect next time, or coccinella did not tried to reconnect?

Sebastian

The connection was unexpectedly broken. It waits for you to click OK, it does not do the auto reconnect.

Hi,

sorry for my late reply, but at which stage do you get the error message?
At the beginning, while you are connecting to the server?
Or some time later, when you are already connected for a while?

Sebastian