Bug 143292

Summary: jabber doesn't reconnect when internet connection is interrupted
Product: [Unmaintained] kopete Reporter: Kevin Funk <kfunk>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kevin Funk 2007-03-21 15:24:26 UTC
Version:           0.12.4 (using KDE 3.5.6, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.19-gentoo-r5

Kopete doesn't reconnect to jabber.ccc.de (Jabber) when the internet connection is interrupted (e.g. a 24h disconnect). A small dialog pops up which tells me that there were network problems. The odd thing is: Kopete reconnects to both ICQ and MSN with no problems.
The jabber plugin stays offline.
Bug 115052 already mentioned this and provided a patch; but it doesn't seem to work for me.
Comment 1 Jan Ritzerfeld 2007-03-24 11:13:07 UTC
Reconnection of jabber works fine here. Tested it with my 12h disconnect just 40 minutes ago. Within 30 seconds jabber.ccc.de, amessage.de, and kdetalk.net were reconnected. However, ICQ takes up to 20 minutes.
Are you behind a router? I am and, thus, the network interface does not go down on the 12h disconnect. If you are connected directly, jabber might reconnect too fast for you, that is, before your network is up again. Since ICQ does not instantly notice a disconnect in contrast to jabber, its reconnect does work. In this case, I would try the connection status plugin.
Comment 2 Kevin Funk 2007-03-25 01:30:35 UTC
As I said, ICQ works fine for me, however. And yes, I'm behind a router. I have the connection status plugin enabled; but I wouldn't like to be noticed if there were network problems.
Comment 3 Jan Ritzerfeld 2007-03-25 15:20:52 UTC
Well, on the 12h disconnects, my jabber accounts reconnect without any notification of network problems. Nonetheless, sometimes, if a jabber server has got problems I will get an error message. Are you sure that your network problems dialogs are caused by a short disconnection less than 10 seconds?

By the way, you should turn off all the connection status plugins when using a router. They just do not work in this case as far as I know. This is because they use netstat or smpppd. These tools are bound to check the local connectivity and, thus, cannot check the connectivity status of your router.
Comment 4 Kevin Funk 2007-10-01 16:12:31 UTC
I think this is more a problem of my jabber server. Jan, you were right.