GNOME Bugzilla – Bug 660932
Silently fails to renew credentials if refresh_account fails
Last modified: 2012-10-05 15:49:43 UTC
I have 2 google apps accounts configured in online-accounts for mail, calendar and contacts (the second also has chat enabled). Integration of these accounts has been working well. On logging in this evening I was informed that "Online accounts need your attention". The accounts configuration window informs me that my credentials have expired with "Expired credentials. Please log in again" - to the left of this is a log in button which I assume would be for re-authorising these accounts. Clicking on this button for either account does nothing. OS: Arch Linux x86_86 gnome-online-accounts 3.2.0.1 I'm unsure how to debug this further, if you need any further info please let me know.
OK. Rather embarassingly I've managed to solve my own problem. My system time had been reset (incorrectly) by windows to a time in the future...as mentioned in another thread this will cause authentication to fail. Correcting my system time solved the problem. I suppose this makes the bug report invalid...or at the very least the title is misleading. On the other hand I suppose it would be better if the user was informed more explicately of such a failure (assuming this is possible) as the current behaviour is just to silently fail when the user attempts to click "Log in" to reauthenticate.
Not solved here, time is set correctly, and every time I (attempt) to log on to my computer I'm locked out of my online account. This _also_ appears to disable the account for chat in empathy, as well as seemingly blocks empathy from doing _anything_ useful online.
Which button are you talking about here? There is an "Open Online Accounts" button in the notification when the credentials don't work, and inside the control center panel there is a "Log in" button. The first one is known not to work due to a Glib bug: https://bugzilla.gnome.org/show_bug.cgi?id=672786
For what it's worth, for me the “Log in” button beside “Expired credentials. Please log in again.” in Settings → Online Accounts does pop the Google login web pages back up, but authenticating and then granting GNOME access to everything (including Google Docs thrice, for some reason) appears to be ineffective: the popover dialog disappears, but GOA still shows the “Expired credentials.” notice. However, killing the GOA daemon and letting it respawn seems to make the notice go away. (I'm using Debian's 3.4.2-1 package.)
Will, I think you are interested in bug 681727
(In reply to comment #2) > Not solved here, time is set correctly, and every time I (attempt) to log on to > my computer I'm locked out of my online account. This _also_ appears to disable > the account for chat in empathy, as well as seemingly blocks empathy from doing > _anything_ useful online. Spider, I think you are seeing the same problem as Will. See bug 681727
Fixed in gnome-3-6 & master. commit 902b67afdff6ef787382e84a0bbf9e92f10b585b Author: Debarshi Ray <debarshir@gnome.org> Date: Fri Oct 5 16:44:00 2012 +0200 Make sure that FALSE is returned if refresh_account failed Fixes: https://bugzilla.gnome.org/660932