Bug 443272 - EWS account (resource) keeps going offline
Summary: EWS account (resource) keeps going offline
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: misc (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-04 00:43 UTC by lior
Modified: 2023-01-26 11:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lior 2021-10-04 00:43:45 UTC
SUMMARY
I'm using the EWS plugin with an oauth2 office365 university account in kmail2 5.18.1. 
The account keeps going offline with a notification saying "Resource XXXX is broken.
Authentication failed ". This can cycle between offline and online. 
If needed, I can manually update the account to go online. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 21.04 - Kernel 5.11.0-37
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Using the kde plasma backports ppa on kubuntu. But it happens also on the native version.
Comment 1 JesseM 2021-12-11 00:51:05 UTC
I have the same issue in KDE Neon for two Office365 accounts from different organizations. It's very unpredictable for me - sometimes it will stay online for hours, but other times it goes offline more frequently. I usually click on the mailbox, press F5, and that usually works to get things up and running again although other times I'd have to send a message from that inbox to get the mailbox to respond. Can anyone offer some ideas about how to chase up this bug? A bit of a drag because kmail otherwise works really well and I'm starting to like it a lot because of the keyboard shortcuts and tight integration with Plasma.
Comment 2 leosenko 2023-01-26 11:44:53 UTC
Same issue here. I have noticed if i run kmail, request manual folder update and the account has a new mail, it almost always breaks.
Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-20-amd64
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4570 CPU @ 3.20GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600