gnome online accounts require autentication on startup

Bug #1353951 reported by yazid
80
This bug affects 16 people
Affects Status Importance Assigned to Milestone
evolution-data-server
Fix Released
High
evolution-data-server (Ubuntu)
Fix Released
High
Unassigned
Trusty
Fix Released
Undecided
Unassigned
gnome-online-accounts (Ubuntu)
Invalid
Undecided
Unassigned
Trusty
Invalid
Undecided
Unassigned

Bug Description

[Impact] Google calendar integration is broken, and users are requested to re-enter their Google password everytime they log in, or everytime they enable/disable their Google account from the System Settings.

[Test Case]
1) open gnome-online-accounts
2) click + and add a google account
3) enter user name and password
4) confirm permissions for gnome
5) Black window pops up and asks for google password, but does not accept the correct password.
    Google Contacts are not available in Gnome or Thunderbird

[Regression Potential] Minimal: the fix is a backport of a patch from the evolution-data-server code which is already in 14.10, and which only touches the calendar code (which is currently broken).

----

Gnome online accounts requires autentication on startup, but even typing the correct password in the box, the program says the password is wrong. By the way evolution and other programs work well with online accounts. I'm using Ubuntu-gnome 14.04 LTS 64bit on different machines and have the same behaviour.
Just to be clear: online-accounts works well, just at startup it opens an "administration" window where it requires to insert the password for my google accounts; if I type the correct password it says that the password is wrong, the only way to close the window is to click on "discard" and then all works well.

Revision history for this message
Franz Hoffmann (franzhoffmann) wrote :

I'm having the same problem here. It starte started a few weeks ago (i.e. it worked at the beginning).
I'm seeing this on two machines running 14.4 LTS 64bit.

Steps to reproduce:
1) open gnome-online-accounts
2) click + and add a google account
3) enter user name and password
4) confirm permissions for gnome
5) Black window pops up and asks for google password, but does not accept the correct password.
    Google Contacts are not available in Gnome or Thunderbird

Changed in gnome-online-accounts (Ubuntu):
status: New → Confirmed
Revision history for this message
yazid (mailboost) wrote :

This bug is not distro specific. It appears also on a Fedora 20 x64 machine after an upgrade of gnome-online-accounts rpm package.

Revision history for this message
James H (jhuber72) wrote :

I just wanted to add that I have been experiencing this bug in several distros, each with their own version of goa. Email works fine, but the calendar component has issues:

Debian Wheezy (goa 3.4.2): I get a password prompt twice when I log in, but after that authentication is successful
Ubuntu 14.04 (goa 3.10.3): Authentication fails completely
Gentoo with (goa 3.12.4): Authentication fails completely

All three of these started *at the same time*, around the beginning of August. I think Google may have changed something for all versions of goa to break at the same time. I do not know what that something could be though.

Also note that if I use evolution to add a calendar in Ubuntu 14.04 or Gentoo without using goa, the calendar authenticates fine.

Here is the bug on GNOME's bugzilla. No word from any upstream devs yet, unfortunately.

https://bugzilla.gnome.org/show_bug.cgi?id=734298

Revision history for this message
James H (jhuber72) wrote :

It looks like the bug I linked to above in comment #3 might be a duplicate of a different bug in evolution-data-server. Google has changed the way it handles http authentication, breaking online accounts functionality.

evolution-data-server bug:
https://bugzilla.gnome.org/show_bug.cgi?id=735311

Patch for 3.10 (taken from comment #7 in bug above):
https://bug735311.bugzilla-attachments.gnome.org/attachment.cgi?id=284624

For the sake of completeness, here is the 3.12 commit that supposedly fixes the problem:
https://git.gnome.org/browse/evolution-data-server/commit/?h=evolution-data-server-3-12&id=5e9d80092b19f9bd2c02712ab0a50fa70b052c74

Changed in evolution-data-server (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in gnome-online-accounts (Ubuntu):
status: Confirmed → Invalid
description: updated
description: updated
Changed in gnome-online-accounts (Ubuntu Trusty):
status: New → Invalid
Changed in evolution-data-server (Ubuntu Trusty):
status: New → Triaged
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

In trusty unapproved queue

Changed in evolution-data-server (Ubuntu Trusty):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-data-server - 3.12.6-0ubuntu2

---------------
evolution-data-server (3.12.6-0ubuntu2) utopic; urgency=medium

  * debian/libebook-contacts-1.2-0.symbols:
    - updated as well
 -- Didier Roche <email address hidden> Tue, 09 Sep 2014 13:29:42 +0200

Changed in evolution-data-server (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
yazid (mailboost) wrote :

So how to test the fix on Trusty?

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello yazid, or anyone else affected,

Accepted evolution-data-server into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/evolution-data-server/3.10.4-0ubuntu1.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
yazid (mailboost) wrote :

Tested successfully on Trusty. Version: 3.10.4-0ubuntu1.3 amd64

tags: added: verification-done
removed: verification-needed
Revision history for this message
Felix Wilke (felixw83) wrote :

I update the packages: evolution-data-server, libcamel-1.2-45, evolution-data-server-online-accounts, evolution-data-server-common to 3.10.4-0ubuntu1.3

the behavior is the same as before. Authentification fails at startup.

Ubuntu 14.04. amd64

tags: added: verification-needed
removed: verification-done
Revision history for this message
Mathew Hodson (mhodson) wrote :

Try also updating libecal-1.2-16, libedata-cal-1.2-23, and libedataserver-1.2-18.

Revision history for this message
Felix Wilke (felixw83) wrote :

Now it works! Thanks

tags: added: verification-done
removed: verification-needed
Changed in evolution-data-server:
importance: Unknown → High
status: Unknown → Fix Released
Revision history for this message
yazid (mailboost) wrote :

Yesterday and today randomly (once or two times a day) a black window pops up and asks for google password, but does not accept the correct password.
Evolution and calendar seems to work. The proposed fix needs more testing.

tags: added: verification-needed
removed: verification-done
Revision history for this message
Brian Murray (brian-murray) wrote :

@Felix - are you having problems with the -proposed package like yazid describes?

Revision history for this message
Felix Wilke (felixw83) wrote :

@Brian - I have no such problems at all. Tested it on 2 Laptops running Ubuntu 14.04. I have never seen a black window.

Revision history for this message
Sebastien Bacher (seb128) wrote :

@yazid, are you sure those issues were not there before the change? even if the fix is not perfect if it improves things that's still worth getting the update rolled out

Revision history for this message
yazid (mailboost) wrote :

Yes, I'm sure. I use the Pc for 12h a day. The good thing is that now this bug happens only once or two times a day, not every day. Tha bad thing is that I don't even know how to reproduce it. So it's difficult to help you in the debugging process. Nevertheless I think is acceptable to roll out the update. I keep the proposed repo active so I can install the latest fixes and I will let you know when it's definitely fixed for me. Thanks

Revision history for this message
Mathew Hodson (mhodson) wrote :

Setting tag based on comment #17.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-data-server - 3.10.4-0ubuntu1.3

---------------
evolution-data-server (3.10.4-0ubuntu1.3) trusty; urgency=medium

  * debian/patches/git_backport_google_caldav_fix.patch:
    Fix google calendar integration on both g-o-a and u-o-a
    (LP: #1353951, #1029289)
 -- Didier Roche <email address hidden> Tue, 09 Sep 2014 13:39:11 +0200

Changed in evolution-data-server (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for evolution-data-server has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
yazid (mailboost) wrote :

I've noticed that the bug appears only when Evolution is running. That's why some days I don't see the bug (because in that days I open Evolution, read the mails and then I close the program, while the other days I keep Evolution running all day). I don't use other mail clients. Maybe the other people affected by this bug use other mail clients so they don't have the bug anymore after the fix was released. Maybe some Evolution code need to be fixed too.

Revision history for this message
yazid (mailboost) wrote :

I was wrong... the bug appears even when Evolution is not running..

Revision history for this message
RavanH (ravanhagen) wrote :

Why is this marked as "Fix Released" while I'm have been running into this issue across 14.10 and now after installing 15.04 it's stille there too? My evolution-data-server is at version 3.12.11-0ubuntu1 ...

Revision history for this message
yazid (mailboost) wrote :

RavanH you're right. For me the bug is only partially fixed as calendar works... but still today i receive the black pop-up annoying window asking for password...

Revision history for this message
Ki Bum Lee (kbumicon) wrote :

The bug reiterates in Ubuntu GNOME 15.04. I tried to lower the security level on Google's account admin page so the GNOME can get clearance in accessing the Google data (notwithstanding Google's threat of "security vulnerability"), but GNOME still fails to authenticate even with correct password typed in. I don't think the patch file works. I think it is not so much of a software problem, but a business issue to be settled between Canonical/Fedora and Google.

Revision history for this message
Luis Alberto Pabón (copong) wrote :

Still broken on 15.04

Revision history for this message
Andy Holmes (andyholmes) wrote :

Also confirmed still broken in 15.04

Revision history for this message
Julien Olivier (julo) wrote :

Please re-open this bug. It's not fixed as of today.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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