does not reconnect after suspend/resume

Bug #662766 reported by arturj on 2010-10-18
166
This bug affects 33 people
Affects Status Importance Assigned to Milestone
Empathy
Expired
High
empathy (Ubuntu)
Medium
Unassigned
Nominated for Maverick by valya
Natty
Low
Unassigned

Bug Description

Binary package hint: empathy

Using Ubuntu 10.04 and some versions before empathy automatically reconnected all accounts after system woke up from suspend (S3/Suspend-to-Ram) and network connection has been established. This stoped working after upgrading to Ubuntu 10.10 Maverick.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: empathy 2.32.0-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Oct 18 17:45:14 2010
ExecutablePath: /usr/bin/empathy
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: empathy

arturj (arturj-freenet) wrote :
arturj (arturj-freenet) wrote :

A closer look at the client reveals that it remains in the "away" state after resume from suspend. Changing manually to "available" forces the client to reconnect sucessfully.

arturj (arturj-freenet) wrote :

Still have the issue (VERY annoying), can nobody reconstruct or approve?

Detlef Lechner (detlef-lechner) wrote :

I am affected too.
~$ uname -a; Linux MD97600 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 GNU/Linux

die4you (unreal-ig) wrote :

I am affected... no login to msn after standby

Omer Akram (om26er) wrote :

to all: is the problem specific to msn?

frizzle21 (frederik-nnaji) wrote :

i have nothing but jabber accounts setup in Empathy..
i still have the problem.
I'm on Natty alpha 64

Matt McKimmy (mckimmy-me) wrote :

I'm also affected - Maverick 64-bit using google talk accounts. Quite an annoying bug, actually.

phillamg (me-phillg) wrote :

Has affected me since 10.10 (32-bit) using Jabber and is very annoying. Still present in empathy 2.32.1 and telepathy-gabble 0.10.

Only ugly work-around is to re-install empathy, empathy-common and telepathy-gabble from Lucid (2.30.3 and 0.8.12 respectively) and then set them to "hold" using 'dpkg --set-preferences'

Changed in empathy (Ubuntu Natty):
status: New → Confirmed
Danie Palm (palm86) wrote :

It affects me on Natty with Google Talk (haven't tested others).

Can those still affected attach logs for empathy? You can grab them from the help - debug menu.

Thanks!

Changed in empathy:
importance: Unknown → High
status: Unknown → New
Changed in empathy (Ubuntu Natty):
importance: Undecided → Low
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in empathy (Ubuntu):
status: New → Confirmed
Ulisse (ulipo) wrote :

On Ubuntu 11.10, after suspend, it doesn't reconnect to IRC networks (gimpnet and freenode) until I disable and re-enable the accounts.

In the attached log it wasn't connecting and I did the thing stated above, so you get the "before" and the "after".
I also obscured my usernames for privacy reasons.

Jan Nekvasil (jan-nekvasil) wrote :

Ubuntu 12.04 Precise, empathy 3.4.2-0ubuntu1. Empathy sometimes connects after resume, sometimes don't. In every case the throbber keeps spinning (which generates more workload for compiz and therefore raise CPU usage by the way). Only way to make the throbber disappear is to go offline and online again.

Jesse Glick (jesse-glick) wrote :

Experienced in 12.04 with IRC; after resume, claims status is "Available", but does not reconnect. One workaround is to select Edit > Accounts, and turn the account off and back on.

Also reported as: https://bugzilla.gnome.org/show_bug.cgi?id=635618

Bilal Shahid (s9iper1) on 2012-07-22
Changed in empathy (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Akkana Peck (akkzilla) wrote :

This might not be specific to empathy: I see the same issue in xchat and weechat. There's something else affecting it, though: from home on the wired net, xchat always reconnects right away when I resume from suspend, but when I'm traveling and using wifi, neither xchat nor weechat will reconnect automatically, and I have to go through all the server tabs running manual reconnects. I haven't been able to figure out what the difference is. Happens in 12.04 but it's been true for some time now, definitely not new with Pangolin.

Dražen Lučanin (kermit666) wrote :

Happens to me in Ubuntu 12.04 as well. All of the chat accounts appear to be online. I'm connected using wifi, so it could be it's related to this.

Dražen Lučanin (kermit666) wrote :

Sorry, I meant all of the chat accounts appear to be *offline*. I'm using Empathy for gtalk, msn and "people nearby".

Even after manually clicking the "available" option it won't reconnect. I have to explicitely exit Empathy and start it again to make it reconnect.

bwat47 (bwat47) wrote :

I can't believe this still isn't fixed, empathy is unusable on a laptop

Jesse Glick (jesse-glick) wrote :

Easiest workaround I have found: get in the habit of setting status to Unavailable before suspending, and setting to Available after resuming and getting a network connection.

It's very interesting, I have been using 12.04 with the same exact accounts and configs for the longest time now and it only recently started behaving like the bug again. Wish I could recreate it.

lhotari (lartsa) wrote :

I found a workaround that can be scripted.
There is mc-tool for command line status changes:
use "mc-tool list" to get the id of your im account settings.
then do
mc-tool reconnect <im-account-id>
alternatively you could do:
mc-tool request <im-account-id> offline; mc-tool request <im-account-id> online

Jan Nekvasil (jan-nekvasil) wrote :

I wrote a simple script based on lhotari's suggestion. Just place it in /etc/pm/sleep.d/ , it should reconnect all accounts of all users running empathy. Please note that it sets all statuses to "online", not to their previous states on resume.

dino99 (9d9) wrote :
Changed in empathy (Ubuntu Natty):
status: Confirmed → Invalid
tags: removed: maverick
thndsr (stijnverwaaijen) wrote :

The workaround in post #23 works perfectly. Thnx!

Changed in empathy:
status: New → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.