Bug 751094 - Credentials not found in keyring when opening Evolution; Credentials expired in Control Centre subsequently
Summary: Credentials not found in keyring when opening Evolution; Credentials expired ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-online-accounts
Version: 18
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-03 14:09 UTC by dfavro
Modified: 2017-05-03 22:17 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-05 11:51:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description dfavro 2011-11-03 14:09:01 UTC
Description of problem:
The Online Accounts control centre applet doesn't seem to set up credentials.  They're added and authorized, but Evolution can't access them and subsequent attempts to re-authorize them result in "Credentials Expired" in Online accounts.

Version-Release number of selected component (if applicable):
fc16 as of 2011/11/3
gnome-online-accounts 3.2.1 Release 2.fc16

How reproducible:
Consistently reproducible

Steps to Reproduce:
1. Open Online accounts
2. Add an account of type Google
3. Enter credentials into Google's Sign-in page (tested with an @gmail.com account)
4. Account is authorized sucessfully
5. Allow the use of mail, calendar...etc (all options)
6. Open Evolution 
  
Actual results:
  Evolution returns: 
"The reported error was "GDBus.Error:org.gnome.OnlineAccounts.Error.NotAuthorized: Credentials not found in keyring (goa-error-quark, 0): Failed to retrieve credentials from the keyring: Error communicating with gnome-keyring-daemon"."

  Online accounts is now stuck on "Expired Credentials. Please log in again".  Attempts to re-log in do not change this status; the account has to be deleted, at which point the same behaviour can be reproduced

Expected results:
Evolution should access Google account as required.


Additional info:
LaunchPad has an entry for what looks like this same bug: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/874120

Comment 1 Brian J. Murrell 2013-01-08 20:48:31 UTC
I'm seeing this in FC18 also.  Any solution?

Comment 2 Nathanael Noblet 2013-01-16 04:59:56 UTC
I see the same F18

Comment 3 Nathanael Noblet 2013-01-16 05:01:43 UTC
It seems to me that the google online accounts item is at fault. It should be requesting 'offline' access as well and then refresh the authorization token when it expires...

Comment 4 Fedora End Of Life 2013-01-16 12:01:46 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Brian J. Murrell 2013-01-16 12:09:49 UTC
Per comment #2, can we have the Version(s): field updated to 18 please?

Comment 6 Brian J. Murrell 2013-01-16 12:10:15 UTC
I should have added, that I have seen this on FC18 also.

Comment 7 Michael Wiktowy 2013-01-16 17:42:44 UTC
As soon as I updated to Fedora 18 is am getting warnings that my credentials have expired as well. When I re-enter my password for the Google account and grant access, it doesn't appear to do anything ... no failure, no clearing of the warning.

To get things going again, I had to completely delete the account and then re-add it.

Comment 8 Ilkka Tengvall 2013-01-29 06:39:33 UTC
I just upgraded f17 to f18, and can't get google account to sign in. I do have the 2 step auth in use. I even deleted the account and re-added it. No luck.

Comment 9 Nick Pierpoint 2013-02-05 14:00:02 UTC
I am seeing the same problem. After upgrading from F17 to F18 I can't get 2-step authentication to work for my Google account.

From "Online Accounts"

"Expired Credentials. Please log in again."

I click "Log In" button and follow Google screens and log in successfully.

However, on returning to "Online Accounts" screen the "Expired Credentials..." message is still there.

Comment 10 josef radinger 2013-02-27 20:32:37 UTC
me, too

Comment 11 Jonathan 2013-03-07 22:27:04 UTC
Yep. I'm using google 2-factor authentication.
At first, all seems fine and it seems to have accepted the login, BUT, trying to use evolution with google never goes through, and later, a notification pops up that an "online account needs attention".

Reauthenticating never works, I need to delete the account and add it again.
Adding it again seems to have worked, but I never see evolution integration working.

Fedora 18, fresh install and updated.

Comment 12 PopularOutcast 2013-07-08 19:41:59 UTC
I upgraded to Fedora 19 and am having the same problem. I have never used it before and decided to try it. I do use Google 2-factor authentication and it accepts the password, the second factor, and seems to work then immediately says that my credentials have expired.

In an effort to overcome this, I tried to use an application-specific password for my account. Fedora will not take that password at all even after deleting the account and creating a new one.

Comment 13 Nathanael Noblet 2013-07-08 20:24:31 UTC
I should note - I haven't had this issue with F19 install from scratch. I did have it on fedup'd systems however.

Comment 14 Slava 2013-07-29 14:22:47 UTC
Same Here Fedora19 x86_64. google account stuck in "Expire Credentials".


Jul 29 10:11:31 j8p3zn1 /etc/gdm/Xsession[2244]: (evolution:3611): evolution-mail-WARNING **: Failed to refresh folder '': [Gmail]/misc': Failed to obtain an access token for '': GDBus.Error:org.gnome.OnlineAccounts.Error.NotAuthorized: No credentials found in the keyring

Comment 15 Slava 2013-07-29 14:25:14 UTC
Jul 29 10:15:32 j8p3zn1 /etc/gdm/Xsession[2244]: Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Jul 29 10:15:32 j8p3zn1 /etc/gdm/Xsession[2244]: Window manager warning: Got a request to focus 0x180007f (Bug 751094) with a timestamp of 0.  This shouldn't happen!
Jul 29 10:16:21 j8p3zn1 goa[3009]: secret_password_lookup_sync() returned NULL [goautils.c:210, goa_utils_lookup_credentials_sync()]

Comment 16 Fedora End Of Life 2013-12-21 08:30:03 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 17 Kevin Fries 2014-01-31 18:29:48 UTC
I am also seeing this on v20, since this thread has persisted since v16, can we assume that Redhat just does not care, wont fix, and is just hoping that it will go away?  I don't see any RH participation on this thread, and no fix comming.

Comment 18 Nathanael Noblet 2014-01-31 21:05:55 UTC
So I haven't been seeing this at all since I think f19. 

Also @Kevin Fries this bug is against Fedora which is sponsored by RedHat but is a community distro made up of open source projects. Provide a patch or make sure the bug is reported upstream.

Comment 19 Fedora End Of Life 2014-02-05 11:51:31 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 20 David Novák 2016-09-08 19:00:50 UTC
Same is happening on F24. Usually after logout and subsequent login. Solution is to kill goa-deamon and let it respawn.

Comment 21 German Pulido 2016-10-31 21:33:00 UTC
I do not see why this was closed as WONTFIX. It seems to be a real bug, which affects some people. I am affected by it BTW. I am using Fedora 24 fully updated, the first time I connected my account (with twp-factor-authentication enabled) it worked fine. Now Evolution will not connect and gonme-online-accounts just says "Credentials have expired". Signing-in again does nothing, it does not work.

Comment 22 Bastien Nocera 2016-11-02 10:10:34 UTC
(In reply to gpulido from comment #21)
> I do not see why this was closed as WONTFIX.

Because it's about Fedora 18, released in 2013. File a new bug.

Comment 23 Brian J. Murrell 2016-11-02 11:33:57 UTC
(In reply to Bastien Nocera from comment #22)
> (In reply to gpulido from comment #21)
> > I do not see why this was closed as WONTFIX.
> 
> Because it's about Fedora 18, released in 2013. File a new bug.

But in comment #21, he said he is experiencing it in F24.  ISTM that the right thing to do here is to update the Version: to 24, not close the ticket.

Opening a new ticket for exactly the same problem loses all of the history with the problem in the closed ticket.

Comment 24 Bastien Nocera 2016-11-02 11:57:08 UTC
(In reply to Brian J. Murrell from comment #23)
> (In reply to Bastien Nocera from comment #22)
> > (In reply to gpulido from comment #21)
> > > I do not see why this was closed as WONTFIX.
> > 
> > Because it's about Fedora 18, released in 2013. File a new bug.
> 
> But in comment #21, he said he is experiencing it in F24.  ISTM that the
> right thing to do here is to update the Version: to 24, not close the ticket.
> 
> Opening a new ticket for exactly the same problem loses all of the history
> with the problem in the closed ticket.

6 releases later the root cause of the problem is likely not related. Especially as we switched to using systemd --user in the session in Fedora 24, which did cause some related problems which wouldn't have existed in F18.

Comment 25 David Novák 2016-11-02 19:28:18 UTC
There is open bug report similar to this one: https://bugzilla.redhat.com/show_bug.cgi?id=1350678


Note You need to log in before you can comment on or make changes to this bug.