Bug 379641 - IMAP gmail, OAuth unable to autenticate
Summary: IMAP gmail, OAuth unable to autenticate
Status: RESOLVED UPSTREAM
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Gmail resource (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-08 21:59 UTC by Luca Giambonini
Modified: 2017-06-06 20:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash log (1.87 KB, text/plain)
2017-05-17 19:58 UTC, Luca Giambonini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Giambonini 2017-05-08 21:59:12 UTC
When I try to add a new IMAP agent in Akonadi I'm not able to login with my google credentials (I use 2 factor autentication).
I'm on Chakra Linux, with apps 17.04.0 with the new gmail protocol patches on both kdepim-runtime and libkgapi.
https://cgit.kde.org/libkgapi.git/patch/?id=68b89bce
https://cgit.kde.org/kdepim-runtime.git/patch/?id=c9ae1636

The video attached shows the behavior. That window continue to popup once per minute.
https://media.giphy.com/media/l4FGnJ7zZYAgbjTBm/giphy.gif

Any suggestion how to debug more deeply are welcome.
Comment 1 Daniel Vrátil 2017-05-09 20:22:22 UTC
Can you please restart Akonadi from terminal (open Konsole and run "akonadictl restart") and see if there's any debug output that might help us figure out what's going on?
Comment 2 Christoph Feck 2017-05-17 13:32:17 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Luca Giambonini 2017-05-17 19:58:34 UTC
Created attachment 105609 [details]
crash log

crash log of qtwebengine when trying to display the google login page
Comment 4 Luca Giambonini 2017-05-17 19:59:50 UTC
As discussed in IRC with Daniel, the issue is qtwebengine. I want to keep it open until I find a solution on our qtwebengine pkg so I can share the fix.
Comment 5 Luca Giambonini 2017-05-23 20:42:05 UTC
Solution found, I had to build qtwebengine (against gcc6) by adding "-fno-delete-null-pointer-checks" to CFLAGS and CXXFLAGS flags.