Bug 209516 - Auto-reconnect of jabber account doesn't work
Summary: Auto-reconnect of jabber account doesn't work
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Unspecified
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-05 13:58 UTC by Andreas Pietzowski
Modified: 2010-02-17 01:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
XML Console Output (10.55 KB, application/xml)
2010-01-30 16:23 UTC, Fest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Pietzowski 2009-10-05 13:58:07 UTC
Version:            (using KDE 4.3.1)
Installed from:    Ubuntu Packages

My DSL-connection is reconnected automatically after 24 hours of usage (in germany this is default). My ICQ account reconnects on it's own after I got a new IP address. But all my jabber accounts switch to offline after the DSL reconnection. They don't reconnect automatically...

Would be nice to see this fixed in the next release.
Comment 1 Andreas Pietzowski 2009-12-02 08:13:09 UTC
Come on guys, KDE 4.3.4 is out and this bug is still there. After DSL reconnection every protocol (AIM, ICQ, Yahoo, ...) reconnects automatically but all Jabber accounts stay offline until you reconnect manually!
Comment 2 Roman Jarosz 2010-01-03 13:48:42 UTC
Fixed in KDE 4.4

*** This bug has been marked as a duplicate of bug 181883 ***
Comment 3 Fest 2010-01-29 21:57:52 UTC
KDE 4.3.95. Jabber account still not reconnecting automatically.
Comment 4 Andreas Pietzowski 2010-01-29 22:02:50 UTC
Does none of of the developers of Kopete get sick of that (long existing) annoying behavior? Does anyone of them really use the Jabber network with Kopete?!?

It would be really nice to see this fixed in 4.4 final.

Regards, Andreas
Comment 5 Andreas Pietzowski 2010-01-29 22:04:12 UTC
Does none of of the developers of Kopete get sick of that (long existing) annoying behavior? Does anyone of them really use the Jabber network with Kopete?!?

It would be really nice to see this fixed in 4.4 final.

Regards, Andreas
Comment 6 Andreas Pietzowski 2010-01-29 22:04:15 UTC
Does none of of the developers of Kopete get sick of that (long existing) annoying behavior? Does anyone of them really use the Jabber network with Kopete?!?

It would be really nice to see this fixed in 4.4 final.

Regards, Andreas
Comment 7 Roman Jarosz 2010-01-29 22:37:08 UTC
Please paste the Jabber's XML Console output when it disconnects and does not reconnect.
Comment 8 Andreas Pietzowski 2010-01-29 22:40:52 UTC
If you tell me how to do it, I can post it :) Do I need to install the debug packages? Run it from console or what? Give me some more information then I can assist you :)
Comment 9 Roman Jarosz 2010-01-29 22:44:00 UTC
Right click on jabber account icon at the bottom of contact list and there is XML Console entry
Comment 10 Fest 2010-01-30 00:47:28 UTC
I'm sorry, reconnection work.
Just turned off modem for a minute, and after plugging it back account came back online.

But today my account was twice offline, is there any threshold or limit of tries to reconnect ? In that same time icq and skype were online.
For a now i'll keep XML Console open, maybe it show something.
Comment 11 Fest 2010-01-30 00:50:14 UTC
I'm sorry, reconnection work.
Just turned off modem for a minute, and after plugging it back account came back online.

But today my account was twice offline, is there any threshold or limit of tries to reconnect ? In that same time icq and skype were online.
For a now i'll keep XML Console open, maybe it show something.
Comment 12 Andreas Pietzowski 2010-01-30 03:38:19 UTC
OK, at 23:00 my ISP gave me another IP address (this is normal german ISP behavior after 24 hours connection) but there was no XML output at all in Kopetes XML-console. My DSL just disconnects and then only accounts like ICQ or Yahoo are still (or again) online. Jabber stays offline after getting assigned a new IP address. I have to reconnect manually.

Anything more I can debug? Seems like more people still have this problem. I want to help if you tell me how to debug that behavior...

Andreas
Comment 13 Fest 2010-01-30 16:23:30 UTC
Created attachment 40382 [details]
XML Console Output

Jabber offline for an hour. Other protocols online. Here XML Console output. I only change contact names.
Comment 14 Roman Jarosz 2010-01-31 10:34:10 UTC
There's nothing in the log, try this start "kdebugdialog" and enable all kopete entries and start Kopete from console and you hopefully will see a lot of debug messages (most likely will only work in KDE SC 4.4), if you see the debug messages start kopete with "kopete --nofork &>kopete.log" and this will log all the debug info into kopete.log file ... so wait till jabber disconnects and then send the log to my mail (kedgedev (at) gmail.com).

If this doesn't work we could try gdb or compile Kopete with enabled debug.
Comment 15 Fest 2010-01-31 12:51:17 UTC
Debug info sent.
Comment 16 Roman Jarosz 2010-01-31 14:19:09 UTC
SVN commit 1082901 by rjarosz:

If we are still connected in JabberAccount::slotCSDisconnected we have to call disconnect (fixes auto reconnect).
BUG: 209516



 M  +2 -0      jabberaccount.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1082901
Comment 17 Roman Jarosz 2010-01-31 14:20:34 UTC
SVN commit 1082903 by rjarosz:

Backport commit 1082901.
If we are still connected in JabberAccount::slotCSDisconnected we have to call disconnect (fixes auto reconnect).
CCBUG: 209516


 M  +2 -0      jabberaccount.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1082903
Comment 18 Roman Jarosz 2010-01-31 14:21:46 UTC
Fest thanks for the debug info it has helped a lot .... hopefully this is now fixed.
Comment 19 Fest 2010-01-31 14:56:59 UTC
Thank you.
Patched ebuild to check.
Comment 20 Fest 2010-02-04 10:03:52 UTC
After 3 days of using patched version, and a lot of disconnection (provider problems), i can say reconnection works Perfect.

Thank You.
Comment 21 Andreas Pietzowski 2010-02-17 01:32:44 UTC
Jippie :) It is really fixed in KDE 4.4.0! Thanks, guys.