Bug 45531

Summary: Doesn't reconnect after wakeup
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: mission-controlAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: berdario
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: empathy mission control log

Description Guillaume Desmottes 2012-02-02 02:39:07 UTC
Original bug report: https://bugzilla.gnome.org/show_bug.cgi?id=669169

"""
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)"

MC log: https://bugzilla.gnome.org/attachment.cgi?id=206608

Interesting bits:

mcd-DEBUG: 02/02/2012 10:28:25.960721: notify_resume_cb: woke up! sleep_kind=suspend
mcd-DEBUG: 02/02/2012 10:28:25.997378: connectivity_monitor_nm_state_change_cb: New NetworkManager network state 20 (connected: false)
mcd-DEBUG: 02/02/2012 10:28:48.512996: connectivity_monitor_nm_state_change_cb: New NetworkManager network state 40 (connected: false)
mcd-DEBUG: 02/02/2012 10:28:55.326663: connectivity_monitor_nm_state_change_cb: New NetworkManager network state 70 (connected: true)
mcd-DEBUG: 02/02/2012 10:28:55.326683: on_transport_status_changed: Transport i love the internet changed status to 0
mcd-DEBUG: 02/02/2012 10:28:55.326688: mcd_master_transport_connected: i love the internet
mcd-DEBUG: 02/02/2012 10:28:55.326697: mcd_account_would_like_to_connect: salut/local_xmpp/account1 does not ConnectAutomatically, and its RequestedPresence (1, 'offline', '') doesn't indicate the user wants to be online
mcd-DEBUG: 02/02/2012 10:28:55.326702: mcd_account_would_like_to_connect: haze/msn/dario_2ebertini_40email_2eit4 not Enabled
mcd-DEBUG: 02/02/2012 10:28:55.326705: mcd_account_would_like_to_connect: gabble/jabber/goa_google_account_1320635089 does not ConnectAutomatically, and its RequestedPresence (1, 'offline', '') doesn't indicate the user wants to be online
mcd-DEBUG: 02/02/2012 10:28:55.326711: mcd_account_would_like_to_connect: gabble/jabber/berdario_40chat_2efacebook_2ecom0 does not ConnectAutomatically, and its RequestedPresence (1, 'offline', '') doesn't indicate the user wants to be online
mcd-DEBUG: 02/02/2012 10:28:55.330491: get_mcddbusprop: org.freedesktop.Telepathy.Account, RequestedPresence
mcd-DEBUG: 02/02/2012 10:28:55.330501: set_requested_presence: called for haze/msn/dario_2ebertini_40email_2eit4
mcd-DEBUG: 02/02/2012 10:28:55.330507: set_requested_presence: setting requested presence: 1, offline, 
mcd-DEBUG: 02/02/2012 10:28:55.330512: mcd_account_request_presence_int: Requested presence: 1 offline 
mcd-DEBUG: 02/02/2012 10:28:55.333250: get_mcddbusprop: org.freedesktop.Telepathy.Account, RequestedPresence
mcd-DEBUG: 02/02/2012 10:28:55.333262: set_requested_presence: called for salut/local_xmpp/account1
mcd-DEBUG: 02/02/2012 10:28:55.333270: set_requested_presence: setting requested presence: 1, offline, 
mcd-DEBUG: 02/02/2012 10:28:55.333276: mcd_account_request_presence_int: Requested presence: 1 offline 
mcd-DEBUG: 02/02/2012 10:28:55.334079: get_mcddbusprop: org.freedesktop.Telepathy.Account, RequestedPresence
mcd-DEBUG: 02/02/2012 10:28:55.334088: set_requested_presence: called for gabble/jabber/berdario_40chat_2efacebook_2ecom0
mcd-DEBUG: 02/02/2012 10:28:55.334093: set_requested_presence: setting requested presence: 1, offline, 
mcd-DEBUG: 02/02/2012 10:28:55.334098: mcd_account_request_presence_int: Requested presence: 1 offline 
mcd-DEBUG: 02/02/2012 10:28:55.334101: _mcd_connection_request_presence: Presence requested: 1
mcd-DEBUG: 02/02/2012 10:28:55.334167: get_mcddbusprop: org.freedesktop.Telepathy.Account, RequestedPresence
mcd-DEBUG: 02/02/2012 10:28:55.334173: set_requested_presence: called for gabble/jabber/goa_google_account_1320635089
mcd-DEBUG: 02/02/2012 10:28:55.334177: set_requested_presence: setting requested presence: 1, offline, 
mcd-DEBUG: 02/02/2012 10:28:55.334182: mcd_account_request_presence_int: Requested presence: 1 offline
Comment 1 berdario 2012-02-03 07:15:49 UTC
copypaste of my comment on the empathy bug at https://bugzilla.gnome.org/show_bug.cgi?id=669169

"""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 2 berdario 2012-02-03 07:17:16 UTC
Created attachment 56574 [details]
empathy mission control log

and this is the last log I uploaded
Comment 3 Simon McVittie 2013-09-03 18:56:11 UTC
Looks like this could be Bug #50009, which was fixed in 5.12.2, 5.13.1.
Comment 4 GitLab Migration User 2019-12-03 20:11:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-mission-control/issues/52.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.