Bug 293963

Summary: Akonadi config reports "Invalid Password" whenever trying to add Google Calendar or Contacts resource
Product: [Frameworks and Libraries] Akonadi Reporter: Rodney Baker <rodney.baker>
Component: GoogleData ResourceAssignee: Adenilson Cavalcanti <savagobr>
Status: RESOLVED FIXED    
Severity: normal CC: elmar.roberg, kdepim-bugs, vkrause
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Rodney Baker 2012-02-13 04:47:13 UTC
Version:           1.2.0 (using KDE 4.6.5) 
OS:                Linux

When attempting to create a new Google Calendar (or Contacts) Akonadi resource, Akonadi always reports "invalid password" despite the password and username being entered correctly.

Tracing the connection with Wireshark shows that Akonadi is returning a "TLSv1 Record Layer Alert 48 - Unknown CA" error immediately after the server certificate exchange.

This only occurs when attempting to add Google gcal resources - KMail IMAP using SSL/TLS works fine with GMail on the same account.

I have tried with both the openSuSE rpms and building libgcal and akonadi-googledata from source. No difference.


Reproducible: Always

Steps to Reproduce:
Install libgcal and akonadi-googledata.
Make sure akonadi server is running and start Akonadi Configuration
Click Add, select Google Calendar Resource
Enter Username/Password


Actual Results:  
Akonadi returns "Invalid Password" error dialog.

Expected Results:  
Akonadi should connect to the gcal resource and allow two-way synchronisation.

OS: Linux (i686) release 3.1.0-3-desktop-vk5ztv
Compiler: gcc
Comment 1 Elmar 2012-09-10 06:17:57 UTC
I added a gmail calendar to my Kontact calendar. Everything seemed to work fine. But Kontact does not sync, and I get a message as well as an instruction to log a bug. 

I have removed the gmail calendar because the endless notifications are irritating - cannot find a way of switching them off.
Comment 2 Rodney Baker 2013-02-03 02:14:09 UTC
I have just tested this with Korganiser 4.9.5 Release 3 under openSuSE 12.2 and it now works correctly. I was able to add a google calendar resource (using an "application-specific password" created online) and correctly sync, add appointments etc.