Google authentication failing due to unseen CAPTCHA

Bug #854232 reported by iMac
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
evolution-data-server
Fix Released
Medium
evolution-data-server (Ubuntu)
Triaged
Low
Unassigned

Bug Description

After the 3.1.91 to 3.1.92 update to evolution-data-server I have endless prompts for calendar authentication. It seems that there was some breakage, perhaps with the keyring integration during this update.

Inside evolution there was also an error displayed:
Error Loading Calendar

Cannot open calendar: Unexpected HTTP status code 7 returned (Connection terminated unexpectedly)

gdb output is attached

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: evolution-data-server 3.1.92-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Mon Sep 19 16:53:45 2011
ProcEnviron:
 LANGUAGE=en
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: evolution-data-server
UpgradeStatus: Upgraded to oneiric on 2011-09-09 (10 days ago)

Revision history for this message
iMac (imac-netstatz) wrote :
iMac (imac-netstatz)
summary: - Google authentication failing after evolution-data-server update
+ Google authentication failing due to CAPTCHA
Revision history for this message
iMac (imac-netstatz) wrote : Re: Google authentication failing due to CAPTCHA

It appears the root cause it not the upgrade, but a Captcha I am being presented with but unable to access.

To narrow down the issue (which was authentication for all my calendars) I turned off all my "Online Accounts" calendars and kept only one Google calendar that I had created manually.

I then disabled the calendar to keep it from prompting me.

Next, I went into the Properties and tried to retrieve the calendar list to stimulate a re-prompt for password.

What followed was a dialogue I have not seen before, which stated "A CAPTCHA must be filled out to log in".

I am not sure how to resolve this, as I don't require it when browsing in chrome as my session remains valid in my browser when looking at my calendar using the same username.

Revision history for this message
iMac (imac-netstatz) wrote :

Screenshot of Captcha prompt in evolution

Changed in evolution-data-server:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
iMac (imac-netstatz) wrote :

If you think your authentication failure may be due to CAPTCHA, try using the unlock URL to tell Google you are human.

https://www.google.com/accounts/UnlockCaptcha

I have not had a re-occurrence yet, but online docs suggest it will work.

The only way to confirm auth failures are indeed CAPTCHA (and not some other issue) is to disable the calendar (to stop the password prompts) and then navigate to the Properties and Retrieve the Calendars. It seems that this invokes the libgdata interface that will report back the CAPTCHA failure.

According to the upstream developers the CalDAV interface being used does not properly support the CAPTCHA exception, so this issue will remain until things cutover entirely to the new auth mechs in libgdata or Google updates how the CalDAV interface works.

Similar issues happen to iPhone users who integrate Calendars via CalDAV:
http://www.google.com/support/forum/p/Calendar/thread?tid=78dc7e4076e4fe26&hl=en

Another workaround if the unlockURL does not work may be to hit the CalDAV interface in your browser and see if it gets unlocked there (and capture any undocumented CalDAV failure exception).

Server: https://<email address hidden>/user/

Note: if you are trying to sync a secondary calendar, use this URL

Server: https://www.google.com/calendar/dav/[string of numbers and letters]@group.calendar.google.com/user/

Revision history for this message
iMac (imac-netstatz) wrote :

I have confirmed that to solve this problem of the password prompt re-occurring endlessly, just go to the following URL and complete the CAPTCHA.

https://www.google.com/accounts/UnlockCaptcha

I am not aware of any other solution other than to wait it out (goes away after some time) and/or switch networks.

I have had this issue occur on both Rogers and Bell networks which likely rules out an ISP sniffing issue as the cause.

Changed in evolution-data-server:
status: New → Incomplete
iMac (imac-netstatz)
summary: - Google authentication failing due to CAPTCHA
+ Google authentication failing due to unseen CAPTCHA
Changed in evolution-data-server (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in evolution-data-server:
status: Incomplete → New
Changed in evolution-data-server:
status: New → Fix Released
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.