https://bugs.kde.org/show_bug.cgi?id=525148

            Bug ID: 525148
           Summary: XOAUTH2 (Gmail) auth succeeds but connection dropped
                    seconds later.
    Classification: Frameworks and Libraries
           Product: Akonadi
      Version First 6.3.3
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: IMAP resource
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
Trying to set up an account using GMail OAuth, and once the account is
completed, the account reports "Server is not available". I can click on
"Restart", and it will change to "Server is ready" for about 5 seconds, then go
back to "not available".

kent@acu25299:~$ journalctl --user -f
Sep 02 20:38:17 acu25299 kalendarac[19975]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:17 acu25299 kalendarac[19975]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:17 acu25299 akonadi_imap_resource[19975]: attempting client step
after doneflag
Sep 02 20:38:17 acu25299 kalendarac[19975]: org.kde.pim.kimap: sasl_client_step
failed with: -1 "SASL(0): successful result: "
Sep 02 20:38:18 acu25299 kalendarac[19975]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:18 acu25299 kalendarac[19975]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:18 acu25299 kalendarac[19975]: [SASL-XOAUTH2] - filling prompts!
Sep 02 20:38:18 acu25299 kalendarac[19975]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:18 acu25299 kalendarac[19975]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:18 acu25299 kalendarac[19975]: org.kde.pim.kimap: Connection to
server lost  QAbstractSocket::RemoteHostClosedError
Sep 02 20:38:25 acu25299 kalendarac[2267]: org.kde.pim.akonadiserver:
Subscriber "AgentBaseChangeRecorder - 94441671131376" disconnected
Sep 02 20:38:25 acu25299 kalendarac[2267]: org.kde.pim.akonadiserver:
Subscriber "SpecialCollectionsMonitor - 94441675103744" disconnected
Sep 02 20:38:25 acu25299 kalendarac[2201]: org.kde.pim.akonadicontrol:
Restarting application '/usr/bin/akonadi_imap_resource'.
Sep 02 20:38:25 acu25299 kalendarac[2267]: org.kde.pim.akonadiserver: New
notification connection (registered as
Akonadi::Server::NotificationSubscriber(0x7f83002be600) )
Sep 02 20:38:25 acu25299 kalendarac[2267]: org.kde.pim.akonadiserver:
Subscriber Akonadi::Server::NotificationSubscriber(0x7f83002be600) identified
as "AgentBaseChangeRecorder - 94285916508096"
Sep 02 20:38:25 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:25 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:25 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - filling prompts!
Sep 02 20:38:25 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:25 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:26 acu25299 akonadi_imap_resource[20050]: attempting client step
after doneflag
Sep 02 20:38:26 acu25299 kalendarac[20050]: org.kde.pim.kimap: sasl_client_step
failed with: -1 "SASL(0): successful result: "
Sep 02 20:38:26 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:26 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:26 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - filling prompts!
Sep 02 20:38:26 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:26 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:26 acu25299 akonadi_imap_resource[20050]: attempting client step
after doneflag
Sep 02 20:38:26 acu25299 kalendarac[20050]: org.kde.pim.kimap: sasl_client_step
failed with: -1 "SASL(0): successful result: "
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - filling prompts!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:27 acu25299 akonadi_imap_resource[20050]: attempting client step
after doneflag
Sep 02 20:38:27 acu25299 kalendarac[20050]: org.kde.pim.kimap: sasl_client_step
failed with: -1 "SASL(0): successful result: "
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - filling prompts!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:27 acu25299 kalendarac[20050]: org.kde.pim.kimap: Connection to
server lost  QAbstractSocket::RemoteHostClosedError
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - filling prompts!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:27 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:28 acu25299 akonadi_imap_resource[20050]: attempting client step
after doneflag
Sep 02 20:38:28 acu25299 kalendarac[20050]: org.kde.pim.kimap: sasl_client_step
failed with: -1 "SASL(0): successful result: "
Sep 02 20:38:28 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:28 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:28 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - filling prompts!
Sep 02 20:38:28 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting authID!
Sep 02 20:38:28 acu25299 kalendarac[20050]: [SASL-XOAUTH2] - Requesting token!
Sep 02 20:38:28 acu25299 akonadi_imap_resource[20050]: attempting client step
after doneflag
... and etc

This happens whether I have included my password in the settings or not; but
when I don't include it, KMail never asks for my password.

May (or may not) be related to bug 379131 and/or bug 525082?

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to