Bug 1257148

Summary: Evolution cannot contact gnome-keyring
Product: [Fedora] Fedora Reporter: Stephen Gallagher <sgallagh>
Component: evolutionAssignee: Milan Crha <mcrha>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 23CC: lucilanga, mbarnes, mcrha, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-31 12:55:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stephen Gallagher 2015-08-26 11:17:54 UTC
Description of problem:

I upgraded to Fedora 23 the other day. Since doing so, Evolution has been unable to contact any of my remote data sources (Contacts, calendars) due to being unable to retrieve the saved passwords from the keyring. It reports the following error message: "Failed to obtain an access token for 'Contacts': No credentials found in the keyring"

Version-Release number of selected component (if applicable):
evolution-3.17.90-1.fc23.x86_64
gnome-keyring-3.16.0-2.fc23.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Start from Fedora 22
2. Connect Evolution to a remote data source (such as Google Calendar)
3. Upgrade to Fedora 23
4. Start Evolution

(There may be simpler repro steps, but this is how it happened for me)

Actual results:
Calendar and contacts are unable to be retrieved and I get the error message above.

Expected results:
All of my data sources should be contacted properly.


Additional info:

My email works, but I suspect that's due to using GSSAPI/Kerberos for authentication rather than password authentication (which I suspect would similarly fail)

Comment 1 Milan Crha 2015-08-27 14:45:28 UTC
Thanks for a bug report. The error says:
> Failed to obtain an access token for 'Contacts':
> No credentials found in the keyring
which means evolution can talk to gnome-keyring, but the password is missing there. It can be something caused by the update. As the account is configured in GOA (GNOME Online Accounts), the password is provided by it, thus, in this case, evolution doesn't talk to the keyring directly, but using the goa-daemon. Could you open gnome-control-center, choose Online Accounts and verify that everything is fine there? The GOA shows exclamation marks for accounts which need attention, like sing in again (OAuth2 tokens can also expire).

Comment 2 Stephen Gallagher 2015-08-31 12:55:40 UTC
You're right; looks like after upgrading, the new version of GOA appears to Google as a different machine, necessitating that I re-supply my OTP.