After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 669169 - Empathy doesn't reconnect after wakeup
Empathy doesn't reconnect after wakeup
Status: RESOLVED NOTGNOME
Product: empathy
Classification: Core
Component: General
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2012-02-01 13:09 UTC by Bilal Shahid
Modified: 2012-02-03 14:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mission control debug log (82.38 KB, text/x-log)
2012-02-02 09:32 UTC, Dario Bertini
Details
same log, but done with the 0dc2ba9ea6 build (86.85 KB, text/x-log)
2012-02-03 14:48 UTC, Dario Bertini
Details

Description Bilal Shahid 2012-02-01 13:09:17 UTC
Originally reported at:
  https://bugs.launchpad.net/bugs/924468

After wakeup, empathy doesn't reconnect automatically when the network is brought up again

you can check this by leaving the window opened or by looking at the messages indicator

it'll reconnect only after you start the empathy application again (either by selecting "Chat" in the messages indicator or by opening empathy from the launcher if the window has been previously closed)

 ("Automatically connect on startup" is still checked in the preferences)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: empathy 3.3.4-0ubuntu1
Comment 1 Guillaume Desmottes 2012-02-01 14:53:16 UTC
MC logs please.
Comment 2 Dario Bertini 2012-02-01 15:12:37 UTC
By MC you mean mission-control, right?

the logs I gathered are on the downstream bug page, here's the link to the mc one:
https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/924468/+attachment/2704903/+files/mission-control-01-02-12_09-30-26.log
Comment 3 Guillaume Desmottes 2012-02-01 15:41:04 UTC
Looking at this log, the accounts seem to be connected.
Comment 4 Dario Bertini 2012-02-01 15:53:41 UTC
I saved the log after reconnecting manually, should I have fetched it before?

What do you need to work on this bug?
Comment 5 André Klapper 2012-02-02 05:46:41 UTC
(In reply to comment #4)
> What do you need to work on this bug?

Debug information from the time when the bug happened.
Comment 6 Dario Bertini 2012-02-02 09:32:54 UTC
Created attachment 206608 [details]
mission control debug log

ok, I got this log before forcing empathy to reconnect (and after network manager reconnected)
Comment 7 Guillaume Desmottes 2012-02-02 10:40:01 UTC
Thanks for the log, I forwarded the bug to https://bugs.freedesktop.org/show_bug.cgi?id=45531
Comment 8 Guillaume Desmottes 2012-02-02 12:10:54 UTC
I'm wondering is this could be a side effect of Empathy and MC both managing connectivity. Now that bug #668498 has been fixed, it would be good if you could try reroducing this with Empathy 3.3.5 (will be released next Monday).
Comment 9 Dario Bertini 2012-02-02 12:33:33 UTC
yesterday I already built Empathy from git master (to verify https://bugzilla.gnome.org/show_bug.cgi?id=621859 ), I guess that build would be fine as well to verify that hypothesis?
Comment 10 Dario Bertini 2012-02-03 14:47:42 UTC
Ok, I used that build (made at commit 0dc2ba9ea63c7d7d7f46b4d4e8b9311dfad823bb ) and indeed the problem seems to be absent

I can't remember how it worked before this bug, but it still seems it doesn't work perfectly: after networkmanager reconnects, empathy stays unconnected for quite a while, then throws an error (only for the facebook account), then successfully connects on its own (both to gtalk and facebook, don't know about bonjour)... after all of this, there's a spinner that keeps moving forever, suggesting that it's still trying to connect to something (thus wasting cpu cycles)

manually disconneting in empathy and reconnecting fixes this
Comment 11 Dario Bertini 2012-02-03 14:48:31 UTC
Created attachment 206684 [details]
same log, but done with the 0dc2ba9ea6 build
Comment 12 Guillaume Desmottes 2012-02-03 14:51:29 UTC
Thanks for testing. With the master version Empathy doesn't do any connectivity management any more, it's purely mission-control's job. Would you mind forwarding these infos to https://bugs.freedesktop.org/show_bug.cgi?id=45531