Bug 1230283 - GMail account with calendar/contacts broken the next start
Summary: GMail account with calendar/contacts broken the next start
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-10 14:28 UTC by Davide Repetto
Modified: 2016-07-19 14:45 UTC (History)
11 users (show)

Fixed In Version: evolution-data-server-3.16.3-2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 14:45:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
PNG Screen Grabs of Error Messages (262.64 KB, application/zip)
2015-06-10 14:40 UTC, Davide Repetto
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 750148 0 None None None Never

Description Davide Repetto 2015-06-10 14:28:24 UTC
Description of problem:
=======================
Access to gmail from this version of evolution does seem very much erratic.
With evolution From gnome 3.14 (fc21) it still work correctly. 

Version-Release number of selected component (if applicable):
=============================================================
evolution-3.16.2.1-2.fc22

How reproducible:
=================
Very frequently but not consystently.

Steps to Reproduce:
1. Connect to a google account
2. Enable both mail and calendar


Actual results:
===============
Mail mostly works, but sometimes error messages appear.
Calendar does not work at all. Error messages appear.

Expected results:
=================
Same kind of functionality as of fc21

Additional info:
================
Please note that I'm still concurrently accessing gmail with no problems on machines with fc21 and on F22 machines with other MUAs.

Today it seems to be gone especially bonkers and even mail won't work at all. I don't know if google changed anything. Bu the same accounts on Thunderbird are still ok.
I'm including a few pictures with the errors I get.

Comment 1 Davide Repetto 2015-06-10 14:32:05 UTC
I add that recreating the account just now made the mail part work again, but the calendar is still not working.

Comment 2 Davide Repetto 2015-06-10 14:33:11 UTC
sorry. Wherever I wrote "calendar" I meant "Contacts"...

Comment 3 Davide Repetto 2015-06-10 14:40:31 UTC
Created attachment 1037337 [details]
PNG Screen Grabs of Error Messages

Comment 4 Kevin L. Mitchell 2015-06-10 15:38:26 UTC
I confirm that I also am having problems with the contacts.  When I go to the contacts for the first time, I'm seeing the following error message:

    Unable to open address book

    This address book cannot be opened.  This either means that an incorrect URI was entered, or the server is unreachable.

    Detailed error message: Unable to connect to 'Google': The requested resource was not found: https://developers.google.com/accounts/docs/AuthForInstalledApps

Comment 5 Davide Repetto 2015-06-10 16:33:50 UTC
It's interesting to note that at that page google says:
Important: ClientLogin has been officially deprecated since April 20, 2012 and is now no longer available. Requests to ClientLogin will fail with a HTTP 404 response. We encourage you to migrate to OAuth 2.0 as soon as possible.

Comment 6 Milan Crha 2015-06-11 07:59:47 UTC
Thanks for a bug report. I do not speak (neither read) the language the screenshots are taken in, but I suppose those mentioning "org.gnome.OnlineAccounts" mean something about an issue to get password for the given account [1]. That's the cause of the other issues you see. Please go to Settings->Online Accounts and verify that the Google account doesn't require your attention, there will be shown an exclamation mark if it does. You might re-sign for the account to make it work again. Once the OAuth2 credentials will be refresh evolution will continue to work as expected.

[1] If it claims anything about an issue to actually contact the service, then the problem is even deeper, in the goa-daemon, which is supposed to be auto-started after login

Comment 7 Milan Crha 2015-06-11 08:01:24 UTC
(In reply to Kevin L. Mitchell from comment #4)
> I confirm that I also am having problems with the contacts.  When I go to
> the contacts for the first time, I'm seeing the following error message:
> 
>     Unable to open address book
> 
>     This address book cannot be opened.  This either means that an incorrect
> URI was entered, or the server is unreachable.
> 
>     Detailed error message: Unable to connect to 'Google': The requested
> resource was not found:
> https://developers.google.com/accounts/docs/AuthForInstalledApps

This is different thing, see bug #1226310.

Comment 8 Davide Repetto 2015-06-11 08:56:09 UTC
Hi Milan,
after creating and destroying the account a few times I verified that the imap part of the account will indeed work correctly if and only if contacts and calendar are not enabled.

Whereas if you do enable contacts and calendar imap too will start acting weird.
In particular, at least with the accounts I'm testing on, imap will work perfectly just after the account have been configured in evolution and the aforementioned problems will begin the first time evolution is restarted or after a few hours if evolution is left running on its own (eg. I left it running overnight and woke up to the problem).

Comment 9 Milan Crha 2015-06-12 08:00:33 UTC
Thanks for the pointer. I tried to reproduce this and I was able to do it. I found a close-enough bug report in the upstream bugzilla [1], thus I'm going to use it for any further comments. Just note that this will be fixed in 3.16.4+, though it'll require re-addition of the GMail account to correct the underground mess.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=750148

Comment 10 Fedora Update System 2015-06-12 12:46:31 UTC
evolution-data-server-3.16.3-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/evolution-data-server-3.16.3-2.fc22

Comment 11 Davide Repetto 2015-06-12 13:39:06 UTC
Just tested it and it seems to work well now.

Comment 12 Fedora Update System 2015-06-14 17:25:06 UTC
Package evolution-data-server-3.16.3-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing evolution-data-server-3.16.3-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-9934/evolution-data-server-3.16.3-2.fc22
then log in and leave karma (feedback).

Comment 13 Milan Crha 2015-06-15 09:04:37 UTC
(In reply to Davide Repetto from comment #11)
> Just tested it and it seems to work well now.

Nice, thanks for the confirmation.

Comment 14 Fedora Update System 2015-06-20 23:55:56 UTC
evolution-data-server-3.16.3-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Davide Repetto 2015-06-24 10:44:47 UTC
The problem is there again since yesterday with this releases:
evolution-data-server-3.16.3-2.fc22.x86_64
evolution-3.16.3-2.fc22.x86_64

Maybe google changed something again?

Comment 16 Berend De Schouwer 2015-06-25 04:31:47 UTC
Same problem here.  I've tried with gnome online accounts, and configuring with evolution.

i'll try and trash .evolution/*

Comment 17 Milan Crha 2015-06-25 08:41:16 UTC
(In reply to Milan Crha from comment #9)
> ...Just note that this will be fixed in 3.16.4+, though it'll require
> re-addition of the GMail account to correct the underground mess.

The above is crucial. I made an update for evolution-data-server, 3.16.3-2, which contains the fix, but only installing it isn't enough, one should re-login (or restart) the machine and then remove the GMail account in Evolution and add it again.

(In reply to Davide Repetto from comment #15)
> The problem is there again since yesterday with this releases:
> evolution-data-server-3.16.3-2.fc22.x86_64
> evolution-3.16.3-2.fc22.x86_64
> 
> Maybe google changed something again?

Just in case, what is the exact error message, please? I suppose you made all the things as described above, also because it did work properly for you earlier.

Comment 18 Berend De Schouwer 2015-06-25 10:46:25 UTC
I had this.

I nuked ~/.config/evolution and ~/.local/share/evolution.

I reconfigured everything.  It worked.

I restarted evolution a couple of times.  It worked.

Then my network connection got reset (outside factors)

Now evolution just gets timeouts:
"Failed to obtain an access token for ...@gmail.com: timeout was reached"

tcpdump shows network connections to port 993.  Some traffic flows back and forth.

That needed a bounce of goa-daemon to fix the timeout problem.

Comment 19 Milan Crha 2015-06-25 21:21:16 UTC
What's your gnome-online-accounts version, please?
   $ rpm -q gnome-online-accounts

Comment 20 Berend De Schouwer 2015-06-26 05:17:08 UTC
gnome-online-accounts-3.16.3-1.fc22.x86_64

I've triggered it with two separate network disruptions:

1. Corporate network move from wireless to wired.  This uses the same IP range, resolver, etc. but a different IP number.

2. Suspend at work / un-suspend at home.

Both times goa-daemon --replace "fixed" evolution.

Speculation: Evolution times out after a few seconds, which might not be long enough for GOA to realise the network connection has been interrupted.

Comment 21 h0wdyd3wdy 2015-10-11 05:30:23 UTC
This is still a problem.

I too had to do:

usr/libexec/goa-daemon --replace&


To get it to at least temporarily work.

evolution-data-server-3.16.5-1.fc22.x86_64
evolution-help-3.16.5-3.fc22.noarch
evolution-ews-3.16.5-1.fc22.x86_64
evolution-3.16.5-3.fc22.x86_64

gnome-online-accounts-3.16.4.1-1.fc22.x86_64

Comment 22 Noriko Hosoi 2016-03-20 23:31:56 UTC
I still have the same problem with these versions.

gnome-online-accounts-3.16.5-1.fc22.x86_64

evolution-data-server-3.16.5-1.fc22.x86_64
evolution-3.16.5-3.fc22.x86_64
evolution-ews-3.16.5-1.fc22.x86_64
evolution-help-3.16.5-3.fc22.noarch

/usr/libexec/goa-daemon --replace&
allows to reconnect.

Comment 23 Fedora End Of Life 2016-07-19 14:45:29 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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.


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