Summary: | Can't Authenticate to Office 365 | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Emre <erenoglu> |
Component: | EWS Resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | Erbureth, k, krissn, michele.mazza, richts, whatifgodwasoneofus |
Priority: | NOR | ||
Version: | 5.7.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Akonadi Ews http tracing |
Description
Emre
2018-01-24 12:38:36 UTC
My system is an up to date Arch linux x64. As stated, Evolution is working perfectly fine on this setup. Created attachment 110092 [details]
Akonadi Ews http tracing
Managed to get the http debugging on and attached the trace. Looks like it fails first, then tries Basic Auth, succeeds with a HTTP 200 OK response. Then fails again with 401. Tested on 5.7.2 as well, same result :( I progressed a bit and explained the issue here as well: https://github.com/KrissN/akonadi-ews/issues/48 Basically, there's a disconnect between Akonadi-Ews resource and the Kwallet. EWS resource does not save the password to KWallet and then can't find it, resulting in different types of connection errors. I managed to overcome it by manually entering the password to kwallet, either using kwalletmanager or by qdbus command like below: qdbus org.freedesktop.Akonadi.Resource.akonadi_ews_resource_6 /Settings org.kde.Akonadi.Ews.Wallet.setPassword "my_app_password" I had to re-create the account and enter the password again btw, to make folders visible in Kmail, that could be subject to another bug. (folders were visible inside the akonadi server subscriptions dialog) Probably a duplicate of bug 393002 *** This bug has been marked as a duplicate of bug 393002 *** |